Home
last modified time | relevance | path

Searched refs:sendKey (Results 1 – 9 of 9) sorted by relevance

/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingFocusTests.java87 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/
DCtsKeyEventUtil.java89 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/
DKeyEventInterceptTest.java131 sendKey(keyCode); in testKey()
135 private void sendKey(int keyCodeToSend) { in sendKey() method in KeyEventInterceptTest
/cts/tests/tests/text/src/android/text/method/cts/
DKeyListenerTestCase.java141 protected final void sendKey(View targetView, KeyEvent event) { in sendKey() method in KeyListenerTestCase
142 mCtsKeyEventUtil.sendKey(mInstrumentation, targetView, event); in sendKey()
DTextKeyListenerTest.java250 sendKey(mTextView, event); in testOnKeyOther()
DBaseKeyListenerTest.java558 sendKey(mTextView, event); in testPressKey()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowFocusTests.java96 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/
DAbsListViewTest.java1319 mCtsKeyEventUtil.sendKey(mInstrumentation, listView, event); in testEnterKey()
1329 mCtsKeyEventUtil.sendKey(mInstrumentation, listView, event); in testEnterKey()
DTextViewTest.java3145 mCtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp()
3148 mCtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp()