Bug 1223844 - [B2gDroid] homescreen slowly slides sideways when flinging r=kats

This commit is contained in:
Fabrice Desré 2015-11-11 14:17:26 -08:00
parent b5268a4803
commit c6a649e868

View File

@ -545,6 +545,17 @@ pref("layers.async-video.enabled", true);
#ifdef MOZ_ANDROID_APZ
pref("layers.async-pan-zoom.enabled", true);
pref("apz.allow_zooming", true);
// Use "sticky" axis locking
pref("apz.axis_lock.mode", 2);
// APZ physics settings, tuned by UX designers
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.0019");
pref("apz.max_velocity_inches_per_ms", "0.07");
pref("apz.touch_start_tolerance", "0.1");
#endif
pref("layers.progressive-paint", true);
pref("layers.low-precision-buffer", true);