Bug 1229841 - Update fast-fling APZ physics prefs on Fennec as per UX feedback. r=snorp
authorKartikaya Gupta <kgupta@mozilla.com>
Fri, 15 Jan 2016 11:53:21 -0500
changeset 280145 2b2ebbe0754d7c773347ca012a4be47d6a1e2936
parent 280144 f032711da68fb3812e7956a8d5fa31caa794e5a3
child 280146 28b1542c0d324e0308da0a399628ab59b7b3af31
push id17045
push userkgupta@mozilla.com
push dateFri, 15 Jan 2016 16:53:58 +0000
treeherderfx-team@28b1542c0d32 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1229841
milestone46.0a1
Bug 1229841 - Update fast-fling APZ physics prefs on Fennec as per UX feedback. r=snorp
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -571,24 +571,26 @@ pref("layers.offmainthreadcomposition.en
 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);
 // APZ physics settings, copied from B2G
 pref("apz.axis_lock.mode", 2); // Use "sticky" axis locking
+// APZ physics settings reviewed by UX
 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_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);
 #endif
 
 pref("layers.progressive-paint", true);
 pref("layers.low-precision-buffer", true);
 pref("layers.low-precision-resolution", "0.25");
 pref("layers.low-precision-opacity", "1.0");
 // We want to limit layers for two reasons:
 // 1) We can't scroll smoothly if we have to many draw calls