Searched refs:upEvent (Results 1 – 2 of 2) sorted by relevance
721 KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, keyCode); in injectKeyEvent() local722 window.injectInputEvent(upEvent); in injectKeyEvent()733 MotionEvent upEvent = MotionEvent.obtain(downTime, upTime, MotionEvent.ACTION_UP, in injectTouchEvent() local735 upEvent.setSource(InputDevice.SOURCE_TOUCHSCREEN); in injectTouchEvent()736 window.injectInputEvent(upEvent); in injectTouchEvent()
210 MotionEvent upEvent = mMotionEvents.get(numEvents - 1); in testSwipe_shouldContainPointsInALine() local212 assertThat(upEvent, both(IS_ACTION_UP).and(isAtPoint(endPoint))); in testSwipe_shouldContainPointsInALine()213 assertEquals(gestureTime, upEvent.getEventTime() - downEvent.getEventTime()); in testSwipe_shouldContainPointsInALine()