Bug 1243854 - Tweak fling curving to make medium-length flings go a bit faster. r?snorp draft
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 05 Feb 2016 16:13:03 -0500
changeset 329200 e2c947a76996779ddd1f85960e87764f467887a7
parent 329145 1dbe350b57b17ec1ce2887441b79c6f51b429378
child 513930 34e571ceb1a52ee8fb317fbc791697e2d19724de
push id10493
push userkgupta@mozilla.com
push dateFri, 05 Feb 2016 21:13:18 +0000
reviewerssnorp
bugs1243854
milestone47.0a1
Bug 1243854 - Tweak fling curving to make medium-length flings go a bit faster. r?snorp
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -571,20 +571,20 @@ pref("layers.async-video.enabled", true)
 #ifdef MOZ_ANDROID_APZ
 pref("layers.async-pan-zoom.enabled", true);
 // APZ prefs that are different from B2G
 pref("apz.allow_immediate_handoff", false);
 pref("apz.touch_start_tolerance", "0.06");
 pref("apz.axis_lock.breakout_angle", "0.7853982");    // PI / 4 (45 degrees)
 // APZ physics settings reviewed by UX
 pref("apz.axis_lock.mode", 1); // Use "strict" axis locking
-pref("apz.fling_curve_function_x1", "0.41");
-pref("apz.fling_curve_function_y1", "0.0");
-pref("apz.fling_curve_function_x2", "0.80");
-pref("apz.fling_curve_function_y2", "1.0");
+pref("apz.fling_curve_function_x1", "0.59");
+pref("apz.fling_curve_function_y1", "0.46");
+pref("apz.fling_curve_function_x2", "0.05");
+pref("apz.fling_curve_function_y2", "1.00");
 pref("apz.fling_curve_threshold_inches_per_ms", "0.01");
 pref("apz.fling_friction", "0.004");
 pref("apz.fling_stopped_threshold", "0.1");
 pref("apz.max_velocity_inches_per_ms", "0.07");
 pref("apz.fling_accel_interval_ms", 750);
 pref("apz.overscroll.enabled", true);
 #endif