Searched refs:moveEvent (Results 1 – 3 of 3) sorted by relevance
207 final MotionEvent moveEvent = MotionEvent.obtain(downTime, eventTime, in sendPointerEvents() local209 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() local235 moveEvent.setSource(InputDevice.SOURCE_JOYSTICK); in sendJoystickEvents()236 mAutomation.injectInputEvent(moveEvent, true /* sync */); in sendJoystickEvents()237 mSentEvents.add(moveEvent); in sendJoystickEvents()
266 MotionEvent moveEvent = mMotionEvents.get(i); in testSwipe_shouldContainPointsInALine() local267 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()
469 final MotionEvent moveEvent = in injectStylusMoveEvents() local472 injectMotionEvent(moveEvent, true /* sync */); in injectStylusMoveEvents()473 injectedEvents.add(moveEvent); in injectStylusMoveEvents()