StructsΒ§
- Fling
Action π - Fling
Refresh πDriver Observer - HitTest
Result πCache - A cached
CompositorHitTestResultto use during a touch sequence. This is kept so that the renderer doesnβt have to constantly keep making hit tests while during panning and flinging actions. - Pending
Touch πInput Event - This data structure is used to store information about touch events that are sent from the Renderer to the Constellation, so that they can finish processing once their DOM events are fired.
- Touch
Handler - Touch
Point - An action that can be immediately performed in response to a touch move event without waiting for script.
- Touch
Sequence πId - An ID for a sequence of touch events between a
Downand theUporCancelevent. The ID is the same for all events betweenDownandUporCancel - Touch
Sequence Info
EnumsΒ§
- Touch
Move Allowed - Whether the default move action is allowed or not.
- Touch
Sequence πState - The states of the touch input state machine.
ConstantsΒ§
- FLING_
MAX_ πSCREEN_ PX - Maximum velocity when flinging.
- FLING_
MIN_ πSCREEN_ PX - Minimum velocity required for transitioning to fling when panning ends.
- FLING_
SCALING_ πFACTOR - Factor by which the flinging velocity changes on each tick.
- TOUCH_
PAN_ πMIN_ SCREEN_ PX - Minimum number of
DeviceIndependentPixelto begin touch scrolling.