зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1247280 - Bump the APZ content response timeout so that we get 99% accuracy. r=botond
MozReview-Commit-ID: FpmuxUcnmpZ --HG-- extra : rebase_source : d35d82b1790ad3ac66fbca6db90784e47d104e13
This commit is contained in:
Родитель
ff804e75cf
Коммит
33be75d853
|
@ -140,7 +140,7 @@ private:
|
|||
DECL_GFX_PREF(Live, "apz.axis_lock.direct_pan_angle", APZAllowedDirectPanAngle, float, float(M_PI / 3.0) /* 60 degrees */);
|
||||
DECL_GFX_PREF(Live, "apz.axis_lock.lock_angle", APZAxisLockAngle, float, float(M_PI / 6.0) /* 30 degrees */);
|
||||
DECL_GFX_PREF(Live, "apz.axis_lock.mode", APZAxisLockMode, int32_t, 0);
|
||||
DECL_GFX_PREF(Live, "apz.content_response_timeout", APZContentResponseTimeout, int32_t, 300);
|
||||
DECL_GFX_PREF(Live, "apz.content_response_timeout", APZContentResponseTimeout, int32_t, 400);
|
||||
DECL_GFX_PREF(Live, "apz.danger_zone_x", APZDangerZoneX, int32_t, 50);
|
||||
DECL_GFX_PREF(Live, "apz.danger_zone_y", APZDangerZoneY, int32_t, 100);
|
||||
DECL_GFX_PREF(Live, "apz.disable_for_scroll_linked_effects", APZDisableForScrollLinkedEffects, bool, false);
|
||||
|
|
|
@ -562,7 +562,7 @@ 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.content_response_timeout", 600);
|
||||
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)
|
||||
|
|
|
@ -596,7 +596,7 @@ pref("apz.axis_lock.lock_angle", "0.5235987"); // PI / 6 (30 degrees)
|
|||
pref("apz.axis_lock.breakout_threshold", "0.03125"); // 1/32 inches
|
||||
pref("apz.axis_lock.breakout_angle", "0.3926991"); // PI / 8 (22.5 degrees)
|
||||
pref("apz.axis_lock.direct_pan_angle", "1.047197"); // PI / 3 (60 degrees)
|
||||
pref("apz.content_response_timeout", 300);
|
||||
pref("apz.content_response_timeout", 400);
|
||||
pref("apz.drag.enabled", false);
|
||||
pref("apz.danger_zone_x", 50);
|
||||
pref("apz.danger_zone_y", 100);
|
||||
|
|
Загрузка…
Ссылка в новой задаче