Bug 1339831 - Alphabetically sort APZ prefs in mobile.js. r?botond
MozReview-Commit-ID: 1lICBEAgYrn
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -550,33 +550,34 @@ pref("editor.singleLine.pasteNewlines",
// threshold where a tap becomes a drag, in 1/240" reference pixels
// The names of the preferences are to be in sync with EventStateManager.cpp
pref("ui.dragThresholdX", 25);
pref("ui.dragThresholdY", 25);
pref("layers.acceleration.disabled", false);
pref("layers.async-video.enabled", true);
-pref("apz.content_response_timeout", 600);
+// APZ physics settings (fling acceleration, fling curving and axis lock) have
+// been reviewed by UX
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.content_response_timeout", 600);
+pref("apz.fling_accel_interval_ms", 750);
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");
// apz.fling_friction and apz.fling_stopped_threshold are currently ignored by Fennec.
pref("apz.fling_friction", "0.004");
pref("apz.fling_stopped_threshold", "0.0");
pref("apz.max_velocity_inches_per_ms", "0.07");
-pref("apz.fling_accel_interval_ms", 750);
pref("apz.overscroll.enabled", true);
+pref("apz.touch_start_tolerance", "0.06");
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
// 2) Pages that have too many layers consume too much memory and crash.