Home
last modified time | relevance | path

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

/cts/tests/tests/widget/src/android/widget/cts/
DSeekBarTest.java65 long downTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener() local
69 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, in testSetOnSeekBarChangeListener()
78 downTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener()
80 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testSetOnSeekBarChangeListener()
87 downTime = SystemClock.uptimeMillis(); in testSetOnSeekBarChangeListener()
89 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetOnSeekBarChangeListener()
DPopupWindowTest.java792 long downTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor() local
794 MotionEvent event = MotionEvent.obtain(downTime, eventTime, in testSetTouchInterceptor()
799 downTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor()
801 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, x, y, 0); in testSetTouchInterceptor()
806 downTime = SystemClock.uptimeMillis(); in testSetTouchInterceptor()
808 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_DOWN, x, y, 0); in testSetTouchInterceptor()
/cts/tests/tests/text/src/android/text/method/cts/
DTouchTest.java135 long downTime = SystemClock.uptimeMillis(); in testOnTouchEvent() local
137 final MotionEvent event1 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent()
139 final MotionEvent event2 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent()
141 final MotionEvent event3 = MotionEvent.obtain(downTime, eventTime, in testOnTouchEvent()
/cts/tests/tests/view/src/android/view/cts/
DViewTest.java1936 long downTime = SystemClock.uptimeMillis(); in testOnTrackballEvent() local
1937 long eventTime = downTime; in testOnTrackballEvent()
1938 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testOnTrackballEvent()
1956 long downTime = SystemClock.uptimeMillis(); in testDispatchTrackballMoveEvent() local
1957 long eventTime = downTime; in testDispatchTrackballMoveEvent()
1958 MotionEvent event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, in testDispatchTrackballMoveEvent()
1968 downTime = SystemClock.uptimeMillis(); in testDispatchTrackballMoveEvent()
1969 eventTime = downTime; in testDispatchTrackballMoveEvent()
1970 event = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_MOVE, 1, 2, 0); in testDispatchTrackballMoveEvent()
2311 long downTime = SystemClock.uptimeMillis(); in testDispatchTouchEvent() local
[all …]
DWindowTest.java780 long downTime = SystemClock.uptimeMillis(); in injectTouchEvent() local
781 MotionEvent downEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_DOWN, in injectTouchEvent()
786 MotionEvent upEvent = MotionEvent.obtain(downTime, upTime, MotionEvent.ACTION_UP, in injectTouchEvent()