Searched refs:deliverEventWithVelocity (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | DifferentialMotionFlingHelperTest.java | 80 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 60); in deviceDoesNotSupportFling_noVelocityCalculated() 87 deliverEventWithVelocity(createRotaryEncoderEvent(), MotionEvent.AXIS_SCROLL, 50); in flingVelocityOppositeToPrevious_stopsOngoingFling() 88 deliverEventWithVelocity(createRotaryEncoderEvent(), MotionEvent.AXIS_SCROLL, -10); in flingVelocityOppositeToPrevious_stopsOngoingFling() 96 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 50); in flingParamsChanged_stopsOngoingFling() 97 deliverEventWithVelocity(createRotaryEncoderEvent(), MotionEvent.AXIS_SCROLL, 10); in flingParamsChanged_stopsOngoingFling() 107 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 20); in positiveFlingVelocityTooLow_doesNotGenerateFling() 116 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, -20); in negativeFlingVelocityTooLow_doesNotGenerateFling() 125 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 60); in positiveFlingVelocityAboveMinimum_generateFlings() 134 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, -60); in negativeFlingVelocityAboveMinimum_generateFlings() 143 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 3000); in positiveFlingVelocityAboveMaximum_velocityClamped() [all …]
|