/cts/tests/tests/widget/src/android/widget/cts/ |
D | SeekBarTest.java | 66 long eventTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() local 69 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, in testSetOnSeekBarChangeListener() 79 eventTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() 80 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testSetOnSeekBarChangeListener() 88 eventTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() 89 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetOnSeekBarChangeListener()
|
D | PopupWindowTest.java | 1029 long eventTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor() local 1030 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in testSetTouchInterceptor() 1036 eventTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor() 1037 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in testSetTouchInterceptor() 1043 eventTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor() 1044 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, x, y, 0); in testSetTouchInterceptor()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | KeyEventUtil.java | 164 long eventTime = event.getEventTime(); in sendKey() local 176 if (eventTime == 0) { in sendKey() 177 eventTime = SystemClock.uptimeMillis(); in sendKey() 180 downTime = eventTime; in sendKey() 183 final KeyEvent newEvent = new KeyEvent(downTime, eventTime, action, code, repeatCount, in sendKey()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TouchTest.java | 139 long eventTime = SystemClock.uptimeMillis(); in testOnTouchEvent() local 140 final MotionEvent event1 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent() 142 final MotionEvent event2 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent() 144 final MotionEvent event3 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MotionEventTest.java | 287 long eventTime = mEventTime + 5l; in testGetHistoricalEventTime() local 288 mMotionEvent2.addBatch(eventTime, 5.0f, 5.0f, 0.0f, 1.0f, 0); in testGetHistoricalEventTime() 292 assertEquals(eventTime, mMotionEvent2.getHistoricalEventTime(1)); in testGetHistoricalEventTime() 296 long eventTime = SystemClock.uptimeMillis(); in testAddBatch() local 310 mMotionEvent2.addBatch(eventTime, x, y, pressure, size, 0); in testAddBatch() 320 assertEquals(eventTime, mMotionEvent2.getHistoricalEventTime(1)); in testAddBatch() 328 long eventTime = SystemClock.uptimeMillis(); in testGetHistorySize() local 338 mMotionEvent2.addBatch(eventTime, x, y, pressure, size, 0); in testGetHistorySize()
|
D | ViewTest.java | 365 long eventTime = SystemClock.uptimeMillis(); in testMouseEventCallsGetPointerIcon() local 375 MotionEvent event = MotionEvent.obtain(0, eventTime, MotionEvent.ACTION_HOVER_MOVE, in testMouseEventCallsGetPointerIcon() 2216 long eventTime = downTime; in testOnTrackballEvent() local 2217 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testOnTrackballEvent() 2236 long eventTime = downTime; in testDispatchTrackballMoveEvent() local 2237 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testDispatchTrackballMoveEvent() 2248 eventTime = downTime; in testDispatchTrackballMoveEvent() 2249 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, 1, 2, 0); in testDispatchTrackballMoveEvent() 2669 long eventTime = SystemClock.uptimeMillis(); in testDispatchTouchEvent() local 2670 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testDispatchTouchEvent() [all …]
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 434 long eventTime = SystemClock.uptimeMillis(); in testTrackballEvent() local 435 final MotionEvent trackBallEvent = MotionEvent.obtain(eventTime, eventTime, in testTrackballEvent()
|