Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DVerifyInputEventTest.java102 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testKeyEvent() local
104 mAutomation.injectInputEvent(upEvent, true); in testKeyEvent()
125 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testKeyEventWithoutHmac() local
127 mAutomation.injectInputEvent(upEvent, true); in testKeyEventWithoutHmac()
148 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in testTamperedKeyEvent() local
150 mAutomation.injectInputEvent(upEvent, true); in testTamperedKeyEvent()
169 MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), in testMotionEvent() local
171 mAutomation.injectInputEvent(upEvent, true); in testMotionEvent()
193 MotionEvent upEvent = MotionEvent.obtain(downTime, downTime, MotionEvent.ACTION_UP, in testMotionEventWithoutHmac() local
195 mAutomation.injectInputEvent(upEvent, true); in testMotionEventWithoutHmac()
[all …]
DKeyEventInjectionTest.java165 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in sendKeyViaInstrumentation() local
167 mAutomation.injectInputEvent(upEvent, true); in sendKeyViaInstrumentation()
DViewUnbufferedTest.java205 final MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), in sendPointerEvents() local
207 upEvent.setSource(source); in sendPointerEvents()
208 mAutomation.injectInputEvent(upEvent, true /* sync */); in sendPointerEvents()
DViewTest.java2379 MotionEvent upEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetAllowClickWhenDisabled() local
2384 mockView.dispatchTouchEvent(upEvent); in testSetAllowClickWhenDisabled()
2401 upEvent = MotionEvent.obtain(downTime, eventTime, MotionEvent.ACTION_UP, in testSetAllowClickWhenDisabled()
2405 mockView.dispatchTouchEvent(upEvent); in testSetAllowClickWhenDisabled()
3250 MotionEvent upEvent = in testOnTouchListener() local
3252 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener()
3253 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true); in testOnTouchListener()
3256 compareAndRecycleMotionEvents(upEvent, events.poll()); in testOnTouchListener()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DTouchHelper.java162 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in injectKey() local
164 getInstrumentation().getUiAutomation().injectInputEvent(upEvent, sync); in injectKey()
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityWindowReportingTest.java294 final MotionEvent upEvent = MotionEvent.obtain(downEventTime, upEventTime, in moveFocusToAnotherDisplay_movesActiveAndFocusWindow() local
296 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
297 upEvent.setDisplayId(virtualDisplayId); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
298 sUiAutomation.injectInputEvent(upEvent, true); in moveFocusToAnotherDisplay_movesActiveAndFocusWindow()
DAccessibilityGestureDispatchTest.java252 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine() local
255 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint, pointTolerance))); in testSwipe_shouldContainPointsInALine()
256 assertEquals(gestureTime, upEvent.getEventTime() - downEvent.getEventTime()); in testSwipe_shouldContainPointsInALine()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java113 final MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.elapsedRealtime(), in tapOn() local
115 upEvent.setDisplayId(displayId); in tapOn()
116 getInstrumentation().sendPointerSync(upEvent); in tapOn()
DWindowTest.java796 KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, keyCode); in injectKeyEvent() local
797 window.injectInputEvent(upEvent); in injectKeyEvent()
808 MotionEvent upEvent = MotionEvent.obtain(downTime, upTime, MotionEvent.ACTION_UP, in injectTouchEvent() local
810 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()
811 window.injectInputEvent(upEvent); in injectTouchEvent()
/cts/tests/app/src/android/app/cts/
DAlertDialog_BuilderTest.java679 final KeyEvent upEvent = in sendKeySync() local
681 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true /*sync*/); in sendKeySync()