Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java63 sendKey(instrumentation, targetView, KeyEvent.changeTimeRepeat( in sendString()
155 sendKey(instrumentation, targetView, new KeyEvent(KeyEvent.ACTION_DOWN, key)); in sendKeyDownUp()
156 sendKey(instrumentation, targetView, new KeyEvent(KeyEvent.ACTION_UP, key)); in sendKeyDownUp()
166 public static void sendKey(final Instrumentation instrumentation, final View targetView, in sendKey() method in CtsKeyEventUtil
215 sendKey(instrumentation ,targetView, holdKeyDown); in sendKeyWhileHoldingModifier()
219 sendKey(instrumentation, targetView, keyDown); in sendKeyWhileHoldingModifier()
223 sendKey(instrumentation, targetView, keyUp); in sendKeyWhileHoldingModifier()
227 sendKey(instrumentation, targetView, holdKeyUp); in sendKeyWhileHoldingModifier()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DCtsKeyEventUtil.java63 sendKey(instrumentation, targetView, KeyEvent.changeTimeRepeat( in sendString()
155 sendKey(instrumentation, targetView, new KeyEvent(KeyEvent.ACTION_DOWN, key)); in sendKeyDownUp()
156 sendKey(instrumentation, targetView, new KeyEvent(KeyEvent.ACTION_UP, key)); in sendKeyDownUp()
166 public static void sendKey(final Instrumentation instrumentation, final View targetView, in sendKey() method in CtsKeyEventUtil
215 sendKey(instrumentation ,targetView, holdKeyDown); in sendKeyWhileHoldingModifier()
219 sendKey(instrumentation, targetView, keyDown); in sendKeyWhileHoldingModifier()
223 sendKey(instrumentation, targetView, keyUp); in sendKeyWhileHoldingModifier()
227 sendKey(instrumentation, targetView, holdKeyUp); in sendKeyWhileHoldingModifier()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java80 private static void sendKey(int action, int keyCode, int displayId) { in sendKey() method in WindowFocusTests
97 sendKey(action, keyCode, targetDisplayId); in sendAndAssertTargetConsumedKey()
164 sendKey(ACTION_DOWN, KEYCODE_5, INVALID_DISPLAY); in testKeyReceiving()
165 sendKey(ACTION_DOWN, KEYCODE_6, secondaryDisplayId); in testKeyReceiving()
166 sendKey(ACTION_DOWN, KEYCODE_7, INVALID_DISPLAY); in testKeyReceiving()
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInterceptTest.java121 sendKey(keyCode); in testKey()
125 private void sendKey(int keyCodeToSend) { in sendKey() method in KeyEventInterceptTest
/cts/tests/tests/text/src/android/text/method/cts/
DTextKeyListenerTest.java252 CtsKeyEventUtil.sendKey(mInstrumentation, mTextView, event); in testOnKeyOther()
DBaseKeyListenerTest.java536 CtsKeyEventUtil.sendKey(mInstrumentation, mTextView, event); in testPressKey()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2940 CtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp()
2943 CtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp()