зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1009634 - Clearly document the units of APZ prefs. r=kats. DONTBUILD comment-only
--HG-- extra : amend_source : b2cc80184098c864c1fd3e00d31296c58175a31e
This commit is contained in:
Родитель
fb371cca99
Коммит
4f2a4fc584
|
@ -142,10 +142,12 @@ typedef GeckoContentController::APZStateChange APZStateChange;
|
|||
* Pref that allows or disallows checkerboarding
|
||||
*
|
||||
* "apz.asyncscroll.throttle"
|
||||
* The time period in ms that throttles mozbrowserasyncscroll event.
|
||||
* The time period that throttles mozbrowserasyncscroll event.
|
||||
* Units: milliseconds
|
||||
*
|
||||
* "apz.asyncscroll.timeout"
|
||||
* The timeout in ms for mAsyncScrollTimeoutTask delay task.
|
||||
* The timeout for mAsyncScrollTimeoutTask delay task.
|
||||
* Units: milliseconds
|
||||
*
|
||||
* "apz.axis_lock_mode"
|
||||
* The preferred axis locking style. See AxisLockMode for possible values.
|
||||
|
@ -155,6 +157,7 @@ typedef GeckoContentController::APZStateChange APZStateChange;
|
|||
* content is being unruly/slow and we don't get a response back within this
|
||||
* time, we will just pretend that content did not preventDefault any touch
|
||||
* events we dispatched to it.
|
||||
* Units: milliseconds
|
||||
*
|
||||
* "apz.cross_slide_enabled"
|
||||
* Pref that enables integration with the Metro "cross-slide" gesture.
|
||||
|
@ -165,10 +168,11 @@ typedef GeckoContentController::APZStateChange APZStateChange;
|
|||
* opposite axis.
|
||||
*
|
||||
* "apz.fling_accel_interval_ms"
|
||||
* The time in milliseconds that determines whether a second fling will be
|
||||
* treated as accelerated. If two flings are started within this interval,
|
||||
* the second one will be accelerated. Setting an interval of 0 means that
|
||||
* acceleration will be disabled.
|
||||
* The time that determines whether a second fling will be treated as
|
||||
* accelerated. If two flings are started within this interval, the second one
|
||||
* will be accelerated. Setting an interval of 0 means that acceleration will
|
||||
* be disabled.
|
||||
* Units: milliseconds
|
||||
*
|
||||
* "apz.fling_accel_base_mult"
|
||||
* "apz.fling_accel_supplemental_mult"
|
||||
|
@ -184,15 +188,18 @@ typedef GeckoContentController::APZStateChange APZStateChange;
|
|||
* "apz.fling_repaint_interval"
|
||||
* Maximum amount of time flinging before sending a viewport change. This will
|
||||
* asynchronously repaint the page.
|
||||
* Units: milliseconds
|
||||
*
|
||||
* "apz.fling_stopped_threshold"
|
||||
* When flinging, if the velocity goes below this number, we just stop the
|
||||
* animation completely. This is to prevent asymptotically approaching 0
|
||||
* velocity and rerendering unnecessarily.
|
||||
* Units: screen pixels per millisecond
|
||||
*
|
||||
* "apz.max_velocity_inches_per_ms"
|
||||
* Maximum velocity in inches per millisecond. Velocity will be capped at this
|
||||
* value if a faster fling occurs. Negative values indicate unlimited velocity.
|
||||
* Maximum velocity. Velocity will be capped at this value if a faster fling
|
||||
* occurs. Negative values indicate unlimited velocity.
|
||||
* Units: (real-world, i.e. screen) inches per millisecond
|
||||
*
|
||||
* "apz.max_velocity_queue_size"
|
||||
* Maximum size of velocity queue. The queue contains last N velocity records.
|
||||
|
@ -202,6 +209,7 @@ typedef GeckoContentController::APZStateChange APZStateChange;
|
|||
* "apz.min_skate_speed"
|
||||
* Minimum amount of speed along an axis before we switch to "skate" multipliers
|
||||
* rather than using the "stationary" multipliers.
|
||||
* Units: CSS pixels per millisecond
|
||||
*
|
||||
* "apz.num_paint_duration_samples"
|
||||
* Number of samples to store of how long it took to paint after the previous
|
||||
|
@ -216,6 +224,7 @@ typedef GeckoContentController::APZStateChange APZStateChange;
|
|||
* device DPI, before we start panning the screen. This is to prevent us from
|
||||
* accidentally processing taps as touch moves, and from very short/accidental
|
||||
* touches moving the screen.
|
||||
* Units: (real-world, i.e. screen) inches
|
||||
*
|
||||
* "apz.use_paint_duration"
|
||||
* Whether or not to use the estimated paint duration as a factor when projecting
|
||||
|
|
Загрузка…
Ссылка в новой задаче