Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseKeyEventsTestCase.java165 KeyEvent upEvent = getActivity().getInvokedKeyUpEvent(); in testDelKeyEventReachesActivity() local
166 assertNotNull("onKeyUp called", upEvent); in testDelKeyEventReachesActivity()
167 assertEquals("onKeyUp event matches", KeyEvent.KEYCODE_DEL, upEvent.getKeyCode()); in testDelKeyEventReachesActivity()
180 KeyEvent upEvent = getActivity().getInvokedKeyUpEvent(); in testMenuKeyEventReachesActivity() local
181 assertNotNull("onKeyUp called", upEvent); in testMenuKeyEventReachesActivity()
182 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, upEvent.getKeyCode()); in testMenuKeyEventReachesActivity()
DBaseKeyboardShortcutsTestCase.java54 final KeyEvent upEvent = new KeyEvent(downTime, downTime + 500, KeyEvent.ACTION_UP, in testKeyboardShortcut() local
56 getInstrumentation().sendKeySync(upEvent); in testKeyboardShortcut()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAutoclickController.java448 MotionEvent upEvent = MotionEvent.obtain(downEvent); in sendClick() local
449 upEvent.setAction(MotionEvent.ACTION_UP); in sendClick()
454 mNext.onMotionEvent(upEvent, upEvent, mEventPolicyFlags); in sendClick()
455 upEvent.recycle(); in sendClick()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java194 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP, in sendKeyAndWaitForEvent()
197 injectEventSync(upEvent); in sendKeyAndWaitForEvent()
551 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP,
554 if(injectEventSync(upEvent)) {
/frameworks/base/core/java/android/app/
DInstrumentation.java913 final KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local
914 sendKeySync(upEvent); in invokeContextMenuAction()