Searched refs:upEvent (Results 1 – 4 of 4) sorted by relevance
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/ |
D | BaseKeyEventsTestCase.java | 125 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()
|
D | BaseKeyboardShortcutsTestCase.java | 48 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/ |
D | InteractionController.java | 196 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/ |
D | Instrumentation.java | 808 final KeyEvent upEvent = new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DPAD_CENTER); in invokeContextMenuAction() local 809 sendKeySync(upEvent); in invokeContextMenuAction()
|