Home
last modified time | relevance | path

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

/cts/tests/tests/view/src/android/view/cts/
DWindowTest.java721 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/
DAccessibilityGestureDispatchTest.java210 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine() local
212 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint))); in testSwipe_shouldContainPointsInALine()
213 assertEquals(gestureTime, upEvent.getEventTime() - downEvent.getEventTime()); in testSwipe_shouldContainPointsInALine()