Searched refs:upEvent (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventInjectionTest.java | 165 KeyEvent upEvent = new KeyEvent(downTime, SystemClock.uptimeMillis(), in sendKeyViaInstrumentation() local 167 mAutomation.injectInputEvent(upEvent, true); in sendKeyViaInstrumentation()
|
D | ViewTest.java | 3183 MotionEvent upEvent = in testOnTouchListener() local 3185 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in testOnTouchListener() 3186 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true); in testOnTouchListener() 3189 compareAndRecycleMotionEvents(upEvent, events.poll()); in testOnTouchListener()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | WindowFocusTests.java | 116 final MotionEvent upEvent = MotionEvent.obtain(downTime, SystemClock.elapsedRealtime(), in tapOnCenterOfDisplay() local 118 upEvent.setDisplayId(displayId); in tapOnCenterOfDisplay() 119 getInstrumentation().sendPointerSync(upEvent); in tapOnCenterOfDisplay()
|
D | WindowTest.java | 721 KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, keyCode); in injectKeyEvent() local 722 window.injectInputEvent(upEvent); in injectKeyEvent() 733 MotionEvent upEvent = MotionEvent.obtain(downTime, upTime, MotionEvent.ACTION_UP, in injectTouchEvent() local 735 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent() 736 window.injectInputEvent(upEvent); in injectTouchEvent()
|
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/ |
D | AccessibilityGestureDispatchTest.java | 217 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine() local 219 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint))); in testSwipe_shouldContainPointsInALine() 220 assertEquals(gestureTime, upEvent.getEventTime() - downEvent.getEventTime()); in testSwipe_shouldContainPointsInALine()
|
/cts/tests/app/src/android/app/cts/ |
D | AlertDialog_BuilderTest.java | 702 final KeyEvent upEvent = in sendKeySync() local 704 mInstrumentation.getUiAutomation().injectInputEvent(upEvent, true /*sync*/); in sendKeySync()
|