Home
last modified time | relevance | path

Searched refs:keyCodeToSend (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/view/src/android/view/cts/
DMenuTest.java78 int keyCodeToSend, metaState; in testPerformShortcut() local
82 keyCodeToSend = KeyEvent.KEYCODE_A; in testPerformShortcut()
84 keyEventToSend = generateKeyEvent(keyCodeToSend, metaState); in testPerformShortcut()
85 assertTrue(mMenu.performShortcut(keyCodeToSend, keyEventToSend, 0)); in testPerformShortcut()
90 keyCodeToSend = KeyEvent.KEYCODE_B; in testPerformShortcut()
92 keyEventToSend = generateKeyEvent(keyCodeToSend, metaState); in testPerformShortcut()
93 assertTrue(mMenu.performShortcut(keyCodeToSend, keyEventToSend, 0)); in testPerformShortcut()
98 keyCodeToSend = KeyEvent.KEYCODE_C; in testPerformShortcut()
100 keyEventToSend = generateKeyEvent(keyCodeToSend, metaState); in testPerformShortcut()
101 assertTrue(mMenu.performShortcut(keyCodeToSend, keyEventToSend, 0)); in testPerformShortcut()
[all …]
DKeyEventInterceptTest.java135 private void sendKey(int keyCodeToSend) { in sendKey() argument
138 keyCodeToSend, 0, 0)); in sendKey()
140 keyCodeToSend, 0, 0)); in sendKey()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java295 int keyCodeToSend, int modifierKeyCodeToHold) { in sendKeyWhileHoldingModifier() argument
296 sendKeyWhileHoldingModifier(instrumentation, keyCodeToSend, modifierKeyCodeToHold); in sendKeyWhileHoldingModifier()
307 public void sendKeyWhileHoldingModifier(Instrumentation instrumentation, int keyCodeToSend, in sendKeyWhileHoldingModifier() argument
317 keyCodeToSend, 0 /* repeat */, metaState); in sendKeyWhileHoldingModifier()
321 keyCodeToSend, 0 /* repeat */, metaState); in sendKeyWhileHoldingModifier()
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerTestCase.java149 protected void sendKeyWhileHoldingModifier(View targetView, int keyCodeToSend, in sendKeyWhileHoldingModifier() argument
151 mCtsKeyEventUtil.sendKeyWhileHoldingModifier(mInstrumentation, targetView, keyCodeToSend, in sendKeyWhileHoldingModifier()