Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsTouchUtils.java384 MotionEvent eventMove = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_MOVE, in injectMoveEventForTap() local
386 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventForTap()
387 uiAutomation.injectInputEvent(eventMove, true); in injectMoveEventForTap()
388 eventMove.recycle(); in injectMoveEventForTap()
418 MotionEvent eventMove = null; in injectMoveEventsForDrag() local
420 eventMove = MotionEvent.obtain( in injectMoveEventsForDrag()
440 eventMove = MotionEvent.obtain(downTime, stepEventTime, in injectMoveEventsForDrag()
444 eventMove.addBatch(stepEventTime, stepMoveX, stepMoveY, 1.0f, 1.0f, 1); in injectMoveEventsForDrag()
453 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventsForDrag()
454 uiAutomation.injectInputEvent(eventMove, true, waitForAnimations); in injectMoveEventsForDrag()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowInputTests.java754 final MotionEvent eventMove = MotionEvent.obtain( in testInjectFromThread() local
757 mInstrumentation.sendPointerSync(eventMove); in testInjectFromThread()