Bug 945789 - Tune APZ physics prefs based on UX feedback. r=botond
authorKartikaya Gupta <kgupta@mozilla.com>
Mon, 28 Apr 2014 13:56:00 +0200
changeset 181073 42daf38dc3f3d82bb35f19bcf6d8960f3b464fb1
parent 181072 31929d871cadab67add1aaaf5b1703beacb32406
child 181074 679f46bdebae56524933bd0c50a02b0baa86a78b
push id272
push userpvanderbeken@mozilla.com
push dateMon, 05 May 2014 16:31:18 +0000
reviewersbotond
bugs945789
milestone32.0a1
Bug 945789 - Tune APZ physics prefs based on UX feedback. r=botond
b2g/app/b2g.js
--- a/b2g/app/b2g.js
+++ b/b2g/app/b2g.js
@@ -894,19 +894,19 @@ pref("osfile.reset_worker_delay", 5000);
 
 // APZC preferences.
 //
 // Gaia relies heavily on scroll events for now, so lets fire them
 // more often than the default value (100).
 pref("apz.asyncscroll.throttle", 40);
 pref("apz.pan_repaint_interval", 16);
 
-// Maximum fling velocity in inches/ms.  Slower devices may need to reduce this
-// to avoid checkerboarding.  Note, float value must be set as a string.
-pref("apz.max_velocity_inches_per_ms", "0.0375");
+// APZ physics settings, tuned by UX designers
+pref("apz.max_velocity_inches_per_ms", "0.07");
+pref("apz.fling_friction", "0.003");
 
 // Tweak default displayport values to reduce the risk of running out of
 // memory when zooming in
 pref("apz.x_skate_size_multiplier", "1.25");
 pref("apz.y_skate_size_multiplier", "1.5");
 pref("apz.x_stationary_size_multiplier", "1.5");
 pref("apz.y_stationary_size_multiplier", "1.8");
 pref("apz.enlarge_displayport_when_clipped", true);