/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | CtsKeyEventUtil.java | 63 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/ |
D | CtsKeyEventUtil.java | 63 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/ |
D | WindowFocusTests.java | 80 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/ |
D | KeyEventInterceptTest.java | 121 sendKey(keyCode); in testKey() 125 private void sendKey(int keyCodeToSend) { in sendKey() method in KeyEventInterceptTest
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | TextKeyListenerTest.java | 252 CtsKeyEventUtil.sendKey(mInstrumentation, mTextView, event); in testOnKeyOther()
|
D | BaseKeyListenerTest.java | 536 CtsKeyEventUtil.sendKey(mInstrumentation, mTextView, event); in testPressKey()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 2940 CtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp() 2943 CtsKeyEventUtil.sendKey(instrumentation, targetView, event); in sendSourceKeyDownUp()
|