Searched refs:sendKeySync (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 48 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/ |
D | BaseKeyboardShortcutsTestCase.java | 51 getInstrumentation().sendKeySync(downEvent); in testKeyboardShortcut() 56 getInstrumentation().sendKeySync(upEvent); in testKeyboardShortcut()
|
D | KeyboardShortcutsTestCaseWithToolbar.java | 138 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/ |
D | DatePickerFocusTest.java | 98 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/ |
D | GridScrollListenerTest.java | 82 inst.sendKeySync(down); in testKeyScrolling() 83 inst.sendKeySync(up); in testKeyScrolling()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListenerTest.java | 79 inst.sendKeySync(down); in testKeyScrolling() 80 inst.sendKeySync(up); in testKeyScrolling()
|
/frameworks/base/core/java/android/app/ |
D | Instrumentation.java | 902 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/ |
D | EmojiKeyboardTest.java | 146 mInstrumentation.sendKeySync(del()); in testBackDeleteWithHardwareKeyboard() 175 mInstrumentation.sendKeySync(forwardDel()); in testForwardDeleteWithHardwareKeyboard()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 4369 method public void sendKeySync(android.view.KeyEvent);
|
/frameworks/base/api/ |
D | current.txt | 4916 method public void sendKeySync(android.view.KeyEvent);
|
D | system-current.txt | 5098 method public void sendKeySync(android.view.KeyEvent);
|