Searched refs:createRotaryEvent (Results 1 – 3 of 3) sorted by relevance
86 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 …]
32 public static MotionEvent createRotaryEvent(float scroll) { in createRotaryEvent() method in MotionEventUtils
170 return MotionEventUtils.createRotaryEvent(-2); in createRotaryEncoderEvent()