/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingFocusTests.java | 87 sendKey(KEYCODE_TAB); in testMoveFocusToAdjacentWindow_tab() 95 sendKey(KEYCODE_TAB); in testMoveFocusToAdjacentWindow_tab() 117 sendKey(KEYCODE_TAB, META_SHIFT_ON); in testMoveFocusToAdjacentWindow_backTab() 125 sendKey(KEYCODE_TAB, META_SHIFT_ON); in testMoveFocusToAdjacentWindow_backTab() 147 sendKey(KEYCODE_DPAD_UP); in testMoveFocusToAdjacentWindow_dpadArrows() 153 sendKey(KEYCODE_DPAD_DOWN); in testMoveFocusToAdjacentWindow_dpadArrows() 160 sendKey(KEYCODE_DPAD_RIGHT); in testMoveFocusToAdjacentWindow_dpadArrows() 163 sendKey(KEYCODE_DPAD_LEFT); in testMoveFocusToAdjacentWindow_dpadArrows() 206 sendKey(KEYCODE_1); in exitTouchMode() 212 private static void sendKey(int keyCode) { in sendKey() method in ActivityEmbeddingFocusTests [all …]
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 89 sendKey(instrumentation, KeyEvent.changeTimeRepeat( in sendString() 219 sendKey(instrumentation, new KeyEvent(KeyEvent.ACTION_DOWN, key), false /* waitForIdle */); in sendKeyDownUp() 220 sendKey(instrumentation, new KeyEvent(KeyEvent.ACTION_UP, key)); in sendKeyDownUp() 233 public void sendKey(Instrumentation instrumentation, View targetView, KeyEvent event) { in sendKey() method in CtsKeyEventUtil 234 sendKey(instrumentation, event); in sendKey() 243 public void sendKey(Instrumentation instrumentation, KeyEvent event) { in sendKey() method in CtsKeyEventUtil 244 sendKey(instrumentation, event, true /* waitForIdle */); in sendKey() 247 private void sendKey(Instrumentation instrumentation, KeyEvent event, boolean waitForIdle) { in sendKey() method in CtsKeyEventUtil 314 sendKey(instrumentation, holdKeyDown); in sendKeyWhileHoldingModifier() 318 sendKey(instrumentation, keyDown); in sendKeyWhileHoldingModifier() [all …]
|
/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventInterceptTest.java | 131 sendKey(keyCode); in testKey() 135 private void sendKey(int keyCodeToSend) { in sendKey() method in KeyEventInterceptTest
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | KeyListenerTestCase.java | 141 protected final void sendKey(View targetView, KeyEvent event) { in sendKey() method in KeyListenerTestCase 142 mCtsKeyEventUtil.sendKey(mInstrumentation, targetView, event); in sendKey()
|
D | TextKeyListenerTest.java | 250 sendKey(mTextView, event); in testOnKeyOther()
|
D | BaseKeyListenerTest.java | 558 sendKey(mTextView, event); in testPressKey()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
D | WindowFocusTests.java | 96 private static void sendKey(int action, int keyCode, int displayId) { in sendKey() method in WindowFocusTests 111 sendKey(action, keyCode, targetDisplayId); in sendAndAssertTargetConsumedKey() 172 sendKey(ACTION_DOWN, KEYCODE_5, INVALID_DISPLAY); in testKeyReceiving() 173 sendKey(ACTION_DOWN, KEYCODE_6, secondaryDisplayId); in testKeyReceiving() 174 sendKey(ACTION_DOWN, KEYCODE_7, INVALID_DISPLAY); in testKeyReceiving()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AbsListViewTest.java | 1319 mCtsKeyEventUtil.sendKey(mInstrumentation, listView, event); in testEnterKey() 1329 mCtsKeyEventUtil.sendKey(mInstrumentation, listView, event); in testEnterKey()
|
D | TextViewTest.java | 3145 mCtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp() 3148 mCtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp()
|