/cts/tests/tests/view/src/android/view/cts/ |
D | KeyEventInjectionTest.java | 111 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 117 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() 123 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress() 129 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple() 143 private void sendKeyViaAdb(int keyCode, boolean longPress) { in sendKeyViaAdb() 153 private void sendKeyViaInstrumentation(int keyCode, boolean longPress) { in sendKeyViaInstrumentation() 170 private void waitForLongPress(int keyCode) { in waitForLongPress() 181 private void checkKeyEvent(int action, int keyCode, int repeatCount) { in checkKeyEvent() 191 private void checkKeyLongPress(int keyCode) { in checkKeyLongPress() 198 private void checkKeyPress(int keyCode) { in checkKeyPress()
|
D | KeyEventInjectionActivity.java | 29 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 36 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() 41 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress() 46 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { in onKeyMultiple()
|
D | LongPressBackActivity.java | 49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
D | KeyEventInterceptTest.java | 120 private void testKey(int keyCode) { in testKey() 146 private void assertKeyReceived(int keyCode, int action) { in assertKeyReceived()
|
D | ContentPaneFocusTest.java | 148 private void sendMetaHotkey(int keyCode) throws Throwable { in sendMetaHotkey()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | MockViewForListPopupWindow.java | 41 public boolean onKeyPreIme(int keyCode, KeyEvent event) { in onKeyPreIme() 49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
|
D | ToolbarCtsActivity.java | 64 public boolean onKeyShortcut(int keyCode, KeyEvent event) { in onKeyShortcut()
|
D | MultiAutoCompleteTextViewTest.java | 276 protected void performFiltering(CharSequence text, int keyCode) { in performFiltering() 280 protected void performFiltering(CharSequence text, int start, int end, int keyCode) { in performFiltering()
|
/cts/hostsidetests/hdmicec/app/src/android/hdmicec/app/ |
D | HdmiCecKeyEventCapture.java | 60 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown() 66 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp() 79 public boolean onKeyLongPress(int keyCode, KeyEvent event) { in onKeyLongPress()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | KeyguardManagerActivity.java | 30 public int keyCode; field in KeyguardManagerActivity 54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodServiceTest.java | 91 final int keyCode = event.getArguments().getInt("keyCode"); in backKeyDownMatcher() field in InputMethodServiceTest
|
/cts/tests/tests/keystore/src/android/server/am/ |
D | UiDeviceUtils.java | 111 private static void retryPressKeyCode(int keyCode, BooleanSupplier waitFor, String msg) { in retryPressKeyCode() 126 private static void pressKeyCode(int keyCode) { in pressKeyCode()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | UiDeviceUtils.java | 118 private static void retryPressKeyCode(int keyCode, BooleanSupplier waitFor, String msg) { in retryPressKeyCode() 133 private static void pressKeyCode(int keyCode) { in pressKeyCode()
|
/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() 88 private static void sendAndAssertTargetConsumedKey(InputTargetActivity target, int keyCode, in sendAndAssertTargetConsumedKey() 95 int keyCode, int targetDisplayId) { in sendAndAssertTargetConsumedKey() 428 private KeyEvent consumeKeyEvent(int action, int keyCode, int flags) { in consumeKeyEvent() 442 void assertAndConsumeKeyEvent(int action, int keyCode, int flags) { in assertAndConsumeKeyEvent() 447 void waitAssertAndConsumeKeyEvent(int action, int keyCode, int flags) in waitAssertAndConsumeKeyEvent()
|
D | WindowCtsActivity.java | 55 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/ |
D | ProjectionWidgetActivity.java | 37 InjectDPadClickListener(int keyCode) { in InjectDPadClickListener()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/ |
D | ColorChangeOnKeyView.java | 41 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AbstractWebViewActivity.java | 50 public void dispatchKeyPress(int keyCode) { in dispatchKeyPress()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | ShellUtils.java | 75 public static void sendKeyEvent(String keyCode) { in sendKeyEvent()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | ShellUtils.java | 75 public static void sendKeyEvent(String keyCode) { in sendKeyEvent()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralButtonsActivity.java | 118 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | MediaActivityTest.java | 181 private void sendKeyEvent(int keyCode) { in sendKeyEvent()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | DateKeyListenerTest.java | 162 int keyCode = TextMethodUtils.getUnacceptedKeyCode(DateKeyListener.CHARACTERS); in testDateTimeKeyListener() local
|
D | TimeKeyListenerTest.java | 187 int keyCode = TextMethodUtils.getUnacceptedKeyCode(TimeKeyListener.CHARACTERS); in testTimeKeyListener() local
|
D | DateTimeKeyListenerTest.java | 190 int keyCode = TextMethodUtils.getUnacceptedKeyCode(DateTimeKeyListener.CHARACTERS); in testDateTimeKeyListener() local
|