Home
last modified time | relevance | path

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

/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsTouchUtils.java255 MotionEvent eventMove = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_MOVE, in injectMoveEventForTap() local
257 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventForTap()
258 uiAutomation.injectInputEvent(eventMove, true); in injectMoveEventForTap()
259 eventMove.recycle(); in injectMoveEventForTap()
288 MotionEvent eventMove = null; in injectMoveEventsForDrag() local
290 eventMove = MotionEvent.obtain( in injectMoveEventsForDrag()
310 eventMove = MotionEvent.obtain(downTime, stepEventTime, in injectMoveEventsForDrag()
314 eventMove.addBatch(stepEventTime, stepMoveX, stepMoveY, 1.0f, 1.0f, 1); in injectMoveEventsForDrag()
323 eventMove.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectMoveEventsForDrag()
324 uiAutomation.injectInputEvent(eventMove, true); in injectMoveEventsForDrag()
[all …]