Home
last modified time | relevance | path

Searched refs:createPointerEvent (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DDifferentialMotionFlingHelperTest.java80 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 60); in deviceDoesNotSupportFling_noVelocityCalculated()
96 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 50); 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()
154 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, 60); in flingFeatureFlagDisabled_noFlingCalculation()
164 deliverEventWithVelocity(createPointerEvent(), MotionEvent.AXIS_VSCROLL, -3000); in negativeFlingVelocityAboveMaximum_velocityClamped()
173 private MotionEvent createPointerEvent() { in createPointerEvent() method in DifferentialMotionFlingHelperTest