Home
last modified time | relevance | path

Searched refs:sendKeySync (Results 1 – 7 of 7) 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/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotTest.java104 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot()
106 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot()
114 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, in takeScreenshot()
116 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, in takeScreenshot()
/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.java782 sendKeySync(downEvent); in invokeContextMenuAction()
794 sendKeySync(upEvent); in invokeContextMenuAction()
842 sendKeySync(events[i]); in sendStringSync()
856 public void sendKeySync(KeyEvent event) { in sendKeySync() method in Instrumentation
871 sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, key)); in sendKeyDownUpSync()
872 sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, key)); in sendKeyDownUpSync()
884 sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, keyCode)); in sendCharacterSync()
885 sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, keyCode)); in sendCharacterSync()
/frameworks/base/api/
Dcurrent.txt3430 method public void sendKeySync(android.view.KeyEvent);
D14.txt3430 method public void sendKeySync(android.view.KeyEvent);