Home
last modified time | relevance | path

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

/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseKeyEventsTestCase.java125 KeyEvent upEvent = getActivity().getInvokedKeyUpEvent(); in testDelKeyEventReachesActivity() local
126 assertNotNull("onKeyUp called", upEvent); in testDelKeyEventReachesActivity()
127 assertEquals("onKeyUp event matches", KeyEvent.KEYCODE_DEL, upEvent.getKeyCode()); in testDelKeyEventReachesActivity()
139 KeyEvent upEvent = getActivity().getInvokedKeyUpEvent(); in testMenuKeyEventReachesActivity() local
140 assertNotNull("onKeyUp called", upEvent); in testMenuKeyEventReachesActivity()
141 assertEquals("onKeyDown event matches", KeyEvent.KEYCODE_MENU, upEvent.getKeyCode()); in testMenuKeyEventReachesActivity()
DBaseKeyboardShortcutsTestCase.java48 final KeyEvent upEvent = new KeyEvent(downTime, downTime + 500, KeyEvent.ACTION_UP, in testKeyboardShortcut() local
50 getInstrumentation().sendKeySync(upEvent); in testKeyboardShortcut()
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java196 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP, in sendKeyAndWaitForEvent()
199 injectEventSync(upEvent); in sendKeyAndWaitForEvent()
553 KeyEvent upEvent = new KeyEvent(eventTime, eventTime, KeyEvent.ACTION_UP,
556 if(injectEventSync(upEvent)) {
/frameworks/base/core/java/android/app/
DInstrumentation.java808 final KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local
809 sendKeySync(upEvent); in invokeContextMenuAction()