Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/
DRotaryScrollHapticsTest.java86 mView.dispatchGenericMotionEvent(createRotaryEvent(-20)); in testRotaryScrollHapticsDisabled_producesNoHapticEvent()
89 mView.dispatchGenericMotionEvent(createRotaryEvent(20)); in testRotaryScrollHapticsDisabled_producesNoHapticEvent()
92 mView.dispatchGenericMotionEvent(createRotaryEvent(10)); in testRotaryScrollHapticsDisabled_producesNoHapticEvent()
95 mView.dispatchGenericMotionEvent(createRotaryEvent(-10)); in testRotaryScrollHapticsDisabled_producesNoHapticEvent()
123 mView.dispatchGenericMotionEvent(createRotaryEvent(20)); in testScrollLimit_start_genericMotionEventCallbackReturningFalse_doesScrollLimit()
133 mView.dispatchGenericMotionEvent(createRotaryEvent(20)); in testScrollLimit_start_genericMotionEventCallbackReturningTrue_doesScrollLimit()
143 mView.dispatchGenericMotionEvent(createRotaryEvent(-20)); in testScrollLimit_end_genericMotionEventCallbackReturningFalse_doesScrollLimit()
153 mView.dispatchGenericMotionEvent(createRotaryEvent(-20)); in testScrollLimit_end_genericMotionEventCallbackReturningTrue_doesScrollLimit()
163 mView.dispatchGenericMotionEvent(createRotaryEvent(20)); in testScrollProgress_genericMotionEventCallbackReturningFalse_doesScrollProgress()
173 mView.dispatchGenericMotionEvent(createRotaryEvent(-20)); in testScrollProgress_genericMotionEventCallbackReturningTrue_doesScrollProgress()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/
DMotionEventUtils.java32 public static MotionEvent createRotaryEvent(float scroll) { in createRotaryEvent() method in MotionEventUtils
DDifferentialMotionFlingHelperTest.java170 return MotionEventUtils.createRotaryEvent(-2); in createRotaryEncoderEvent()