/cts/tests/tests/widget/src/android/widget/cts/ |
D | SeekBarTest.java | 90 long eventTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() local 93 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, in testSetOnSeekBarChangeListener() 104 eventTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() 105 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testSetOnSeekBarChangeListener() 114 eventTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() 115 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetOnSeekBarChangeListener()
|
D | PopupWindowTest.java | 1568 long eventTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor() local 1569 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in testSetTouchInterceptor() 1575 eventTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor() 1576 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in testSetTouchInterceptor() 1582 eventTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor() 1583 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, x, y, 0); in testSetTouchInterceptor()
|
D | TextViewTest.java | 8625 long eventTime = SystemClock.uptimeMillis(); in createMouseHoverEvent() local 8632 return MotionEvent.obtain(0, eventTime, MotionEvent.ACTION_HOVER_MOVE, 1, pointerIds, in createMouseHoverEvent()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | TouchHelper.java | 60 final long eventTime = SystemClock.uptimeMillis(); in touchUp() local 61 MotionEvent event = getMotionEvent(mDownTime, eventTime, MotionEvent.ACTION_UP, x, y); in touchUp() 66 private static MotionEvent getMotionEvent(long downTime, long eventTime, int action, in getMotionEvent() argument 79 return MotionEvent.obtain(downTime, eventTime, action, 1, in getMotionEvent()
|
D | LightBarTests.java | 147 final long eventTime = SystemClock.uptimeMillis(); in injectEvent() local 148 MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, x, y, 0); in injectEvent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 171 long eventTime = event.getEventTime(); in sendKey() local 183 if (eventTime == 0) { in sendKey() 184 eventTime = SystemClock.uptimeMillis(); in sendKey() 187 downTime = eventTime; in sendKey() 190 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey()
|
D | CtsMouseUtil.java | 58 final long eventTime = SystemClock.uptimeMillis(); in obtainMouseEvent() local 63 MotionEvent event = MotionEvent.obtain(eventTime, eventTime, action, x, y, 0); in obtainMouseEvent()
|
D | CtsTouchUtils.java | 312 long eventTime = useCurrentEventTime ? SystemClock.uptimeMillis() : downTime; in injectMoveEventsForDrag() local 317 int historyEventCount = (int) ((eventTime - prevEventTime) / 10); in injectMoveEventsForDrag() 325 downTime, eventTime, MotionEvent.ACTION_MOVE, moveX, moveY, 1); in injectMoveEventsForDrag() 335 final long deltaTime = (eventTime - prevEventTime); in injectMoveEventsForDrag() 363 prevEventTime = eventTime; in injectMoveEventsForDrag() 373 long eventTime = useCurrentEventTime ? SystemClock.uptimeMillis() : downTime; in injectUpEvent() local 375 downTime, eventTime, MotionEvent.ACTION_UP, xOnScreen, yOnScreen, 1); in injectUpEvent()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 171 long eventTime = event.getEventTime(); in sendKey() local 183 if (eventTime == 0) { in sendKey() 184 eventTime = SystemClock.uptimeMillis(); in sendKey() 187 downTime = eventTime; in sendKey() 190 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey()
|
D | CtsMouseUtil.java | 58 final long eventTime = SystemClock.uptimeMillis(); in obtainMouseEvent() local 63 MotionEvent event = MotionEvent.obtain(eventTime, eventTime, action, x, y, 0); in obtainMouseEvent()
|
D | CtsTouchUtils.java | 311 long eventTime = useCurrentEventTime ? SystemClock.uptimeMillis() : downTime; in injectMoveEventsForDrag() local 316 int historyEventCount = (int) ((eventTime - prevEventTime) / 10); in injectMoveEventsForDrag() 324 downTime, eventTime, MotionEvent.ACTION_MOVE, moveX, moveY, 1); in injectMoveEventsForDrag() 334 final long deltaTime = (eventTime - prevEventTime); in injectMoveEventsForDrag() 362 prevEventTime = eventTime; in injectMoveEventsForDrag() 372 long eventTime = useCurrentEventTime ? SystemClock.uptimeMillis() : downTime; in injectUpEvent() local 374 downTime, eventTime, MotionEvent.ACTION_UP, xOnScreen, yOnScreen, 1); in injectUpEvent()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/utils/ |
D | ActivityLaunchUtils.java | 191 final long eventTime = SystemClock.uptimeMillis(); in wakeUpOrBust() local 193 new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_DOWN, in wakeUpOrBust() 198 new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP, in wakeUpOrBust()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 140 long eventTime = SystemClock.uptimeMillis(); in testOnTouchEvent() local 141 final MotionEvent event1 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent() 143 final MotionEvent event2 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent() 145 final MotionEvent event3 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | TouchDelegateTest.java | 201 final long eventTime = SystemClock.uptimeMillis(); in dispatchMotionEventToActivity() local 202 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, in dispatchMotionEventToActivity() 213 final long eventTime = SystemClock.uptimeMillis(); in dispatchMultiTouchMotionEventToActivity() local 227 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, pointerCount, in dispatchMultiTouchMotionEventToActivity()
|
D | VelocityTrackerTest.java | 168 final long eventTime = downTime + i * 10; in testUsesRawCoordinates() local 170 MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, 0, 0, 0); in testUsesRawCoordinates()
|
D | PointerCaptureTest.java | 145 final long eventTime = SystemClock.uptimeMillis(); in obtainRelativeMouseEvent() local 146 MotionEvent event = MotionEvent.obtain(eventTime, eventTime, action, x, y, 0); in obtainRelativeMouseEvent()
|
D | TooltipTest.java | 210 final long eventTime = SystemClock.uptimeMillis(); in obtainMotionEvent() local 213 MotionEvent event = MotionEvent.obtain(eventTime, eventTime, action, in obtainMotionEvent()
|
D | ViewTest.java | 494 long eventTime = SystemClock.uptimeMillis(); in testMouseEventCallsGetPointerIcon() local 504 MotionEvent event = MotionEvent.obtain(0, eventTime, MotionEvent.ACTION_HOVER_MOVE, in testMouseEventCallsGetPointerIcon() 2559 long eventTime = downTime; in testOnTrackballEvent() local 2560 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testOnTrackballEvent() 2580 long eventTime = downTime; in testDispatchTrackballMoveEvent() local 2581 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testDispatchTrackballMoveEvent() 2592 eventTime = downTime; in testDispatchTrackballMoveEvent() 2593 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, 1, 2, 0); in testDispatchTrackballMoveEvent() 3083 long eventTime = SystemClock.uptimeMillis(); in testDispatchTouchEvent() local 3084 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testDispatchTouchEvent() [all …]
|
D | MotionEventTest.java | 588 long eventTime = SystemClock.uptimeMillis(); in testGetHistorySize() local 598 mMotionEvent2.addBatch(eventTime, x, y, pressure, size, 0); in testGetHistorySize()
|
/cts/hostsidetests/securitybulletin/securityPatch/Bug-115739809/ |
D | poc.cpp | 53 outMsg->body.key.eventTime = msg.body.key.eventTime; in sanitizeMessage() 80 outMsg->body.motion.eventTime = msg.body.motion.eventTime; in sanitizeMessage()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | MotionEventTest.java | 200 final long eventTime = SystemClock.uptimeMillis(); in injectEvent() local 201 MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, x, y, 0); in injectEvent()
|
/cts/tests/tests/hardware/src/android/hardware/input/cts/tests/ |
D | InputTestCase.java | 224 long eventTime = event.getHistoricalEventTime(h); in splitBatchedMotionEvent() local 232 MotionEvent.obtain(event.getDownTime(), eventTime, event.getAction(), in splitBatchedMotionEvent()
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 468 long eventTime = downTime; in sendTouchEvent() local 470 eventTime += 1; in sendTouchEvent() 472 MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, x, y, 0); in sendTouchEvent() 535 long eventTime = SystemClock.uptimeMillis(); in testTrackballEvent() local 536 final MotionEvent trackBallEvent = MotionEvent.obtain(eventTime, eventTime, in testTrackballEvent()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 512 final long eventTime = SystemClock.uptimeMillis(); in touchAndCancelOnDisplayCenter() local 516 injectMotion(downTime, eventTime, MotionEvent.ACTION_CANCEL, tapX, tapY, displayId); in touchAndCancelOnDisplayCenter() 537 private static void injectMotion(long downTime, long eventTime, int action, in injectMotion() argument 539 final MotionEvent event = MotionEvent.obtain(downTime, eventTime, action, in injectMotion()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityEndToEndTest.java | 1031 final long eventTime = isFirstHoverEvent ? SystemClock.uptimeMillis() : downTime; in injectHoverEvent() local 1032 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_HOVER_MOVE, in injectHoverEvent()
|