Home
last modified time | relevance | path

Searched refs:sendKeySync (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java48 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MENU)); in tapMenuKey()
49 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in tapMenuKey()
66 inst.sendKeySync(pushMenuKey); in chordMenuKey()
67 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, shortcutKeyCode)); in chordMenuKey()
68 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, shortcutKeyCode)); in chordMenuKey()
69 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MENU)); in chordMenuKey()
80 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick()
86 inst.sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_DPAD_CENTER)); in longClick()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseKeyboardShortcutsTestCase.java51 getInstrumentation().sendKeySync(downEvent); in testKeyboardShortcut()
56 getInstrumentation().sendKeySync(upEvent); in testKeyboardShortcut()
DKeyboardShortcutsTestCaseWithToolbar.java138 getInstrumentation().sendKeySync(unhandledShortcutKey); in testKeyShortcuts()
148 getInstrumentation().sendKeySync(keyDown); in sendMetaKey()
152 getInstrumentation().sendKeySync(keyUp); in sendMetaKey()
/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java98 mInstrumentation.sendKeySync(shiftDown); in sendShiftKey()
103 mInstrumentation.sendKeySync(keyDown); in sendShiftKey()
108 mInstrumentation.sendKeySync(keyUp); in sendShiftKey()
111 mInstrumentation.sendKeySync(shiftUp); in sendShiftKey()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java82 inst.sendKeySync(down); in testKeyScrolling()
83 inst.sendKeySync(up); in testKeyScrolling()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListScrollListenerTest.java79 inst.sendKeySync(down); in testKeyScrolling()
80 inst.sendKeySync(up); in testKeyScrolling()
/frameworks/base/core/java/android/app/
DInstrumentation.java902 sendKeySync(downEvent); in invokeContextMenuAction()
914 sendKeySync(upEvent); in invokeContextMenuAction()
967 sendKeySync(KeyEvent.changeTimeRepeat(events[i], SystemClock.uptimeMillis(), 0)); in sendStringSync()
981 public void sendKeySync(KeyEvent event) { in sendKeySync() method in Instrumentation
1015 sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, key)); in sendKeyDownUpSync()
1016 sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, key)); in sendKeyDownUpSync()
1028 sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, keyCode)); in sendCharacterSync()
1029 sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, keyCode)); in sendCharacterSync()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
DEmojiKeyboardTest.java146 mInstrumentation.sendKeySync(del()); in testBackDeleteWithHardwareKeyboard()
175 mInstrumentation.sendKeySync(forwardDel()); in testForwardDeleteWithHardwareKeyboard()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4369 method public void sendKeySync(android.view.KeyEvent);
/frameworks/base/api/
Dcurrent.txt4916 method public void sendKeySync(android.view.KeyEvent);
Dsystem-current.txt5098 method public void sendKeySync(android.view.KeyEvent);