Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DViewUnbufferedTest.java207 final MotionEvent moveEvent = MotionEvent.obtain(downTime, eventTime, in sendPointerEvents() local
209 moveEvent.setSource(source); in sendPointerEvents()
210 mInstrumentation.sendPointerSync(moveEvent); in sendPointerEvents()
211 mSentEvents.add(moveEvent); in sendPointerEvents()
233 final MotionEvent moveEvent = MotionEvent.obtain(eventTime, eventTime, in sendJoystickEvents() local
235 moveEvent.setSource(InputDevice.SOURCE_JOYSTICK); in sendJoystickEvents()
236 mAutomation.injectInputEvent(moveEvent, true /* sync */); in sendJoystickEvents()
237 mSentEvents.add(moveEvent); in sendJoystickEvents()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityGestureDispatchTest.java266 MotionEvent moveEvent = mMotionEvents.get(i); in testSwipe_shouldContainPointsInALine() local
267 assertTrue(moveEvent.getEventTime() >= lastEventTime); in testSwipe_shouldContainPointsInALine()
269 ((float) (moveEvent.getEventTime() - downEvent.getEventTime())) / gestureTime; in testSwipe_shouldContainPointsInALine()
272 assertThat(moveEvent, both(IS_ACTION_MOVE).and( in testSwipe_shouldContainPointsInALine()
274 lastEventTime = moveEvent.getEventTime(); in testSwipe_shouldContainPointsInALine()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DTestUtils.java469 final MotionEvent moveEvent = in injectStylusMoveEvents() local
472 injectMotionEvent(moveEvent, true /* sync */); in injectStylusMoveEvents()
473 injectedEvents.add(moveEvent); in injectStylusMoveEvents()