Bug 1223433 - Enable axis locking with the C++ APZ on Fennec. r=kats
authorRandall Barker <rbarker@mozilla.com>
Tue, 10 Nov 2015 12:01:35 -0500
changeset 271940 fd190e04812f01f2e76d8194edc18004fa1538cd
parent 271939 35922f2e5876cbe6997eb04e0302a7756ea1192c
child 271941 4e89be655090e18ab53ca337b7cce0c6b1796306
push id67808
push userkgupta@mozilla.com
push dateTue, 10 Nov 2015 17:01:49 +0000
treeherdermozilla-inbound@18601c78997f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskats
bugs1223433
milestone45.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1223433 - Enable axis locking with the C++ APZ on Fennec. r=kats
mobile/android/app/mobile.js
--- a/mobile/android/app/mobile.js
+++ b/mobile/android/app/mobile.js
@@ -548,16 +548,17 @@ pref("editor.singleLine.pasteNewlines", 
 pref("ui.dragThresholdX", 25);
 pref("ui.dragThresholdY", 25);
 
 pref("layers.acceleration.disabled", false);
 pref("layers.offmainthreadcomposition.enabled", true);
 pref("layers.async-video.enabled", true);
 #ifdef MOZ_ANDROID_APZ
 pref("layers.async-pan-zoom.enabled", true);
+pref("apz.axis_lock.mode", 1);
 #endif
 pref("apz.allow_zooming", true);
 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