Searched refs:sendKeySync (Results 1 – 7 of 7) 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/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotTest.java | 104 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/ |
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 | 782 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/ |
D | current.txt | 3430 method public void sendKeySync(android.view.KeyEvent);
|
D | 14.txt | 3430 method public void sendKeySync(android.view.KeyEvent);
|