Home
last modified time | relevance | path

Searched defs:keyCode (Results 1 – 25 of 47) sorted by relevance

12

/cts/tests/tests/view/src/android/view/cts/
DKeyEventInjectionTest.java111 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()
DKeyEventInjectionActivity.java29 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()
DLongPressBackActivity.java49 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
57 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
DKeyEventInterceptTest.java120 private void testKey(int keyCode) { in testKey()
146 private void assertKeyReceived(int keyCode, int action) { in assertKeyReceived()
DContentPaneFocusTest.java148 private void sendMetaHotkey(int keyCode) throws Throwable { in sendMetaHotkey()
/cts/tests/tests/widget/src/android/widget/cts/
DMockViewForListPopupWindow.java41 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()
DToolbarCtsActivity.java64 public boolean onKeyShortcut(int keyCode, KeyEvent event) { in onKeyShortcut()
DMultiAutoCompleteTextViewTest.java276 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/
DHdmiCecKeyEventCapture.java60 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/
DKeyguardManagerActivity.java30 public int keyCode; field in KeyguardManagerActivity
54 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DInputMethodServiceTest.java91 final int keyCode = event.getArguments().getInt("keyCode"); in backKeyDownMatcher() field in InputMethodServiceTest
/cts/tests/tests/keystore/src/android/server/am/
DUiDeviceUtils.java111 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/
DUiDeviceUtils.java118 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/
DWindowFocusTests.java80 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()
DWindowCtsActivity.java55 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/widgets/
DProjectionWidgetActivity.java37 InjectDPadClickListener(int keyCode) { in InjectDPadClickListener()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DColorChangeOnKeyView.java41 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/cts/tests/autofillservice/src/android/autofillservice/cts/
DAbstractWebViewActivity.java50 public void dispatchKeyPress(int keyCode) { in dispatchKeyPress()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DShellUtils.java75 public static void sendKeyEvent(String keyCode) { in sendKeyEvent()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DShellUtils.java75 public static void sendKeyEvent(String keyCode) { in sendKeyEvent()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralButtonsActivity.java118 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/cts/tests/tests/media/src/android/media/cts/
DMediaActivityTest.java181 private void sendKeyEvent(int keyCode) { in sendKeyEvent()
/cts/tests/tests/text/src/android/text/method/cts/
DDateKeyListenerTest.java162 int keyCode = TextMethodUtils.getUnacceptedKeyCode(DateKeyListener.CHARACTERS); in testDateTimeKeyListener() local
DTimeKeyListenerTest.java187 int keyCode = TextMethodUtils.getUnacceptedKeyCode(TimeKeyListener.CHARACTERS); in testTimeKeyListener() local
DDateTimeKeyListenerTest.java190 int keyCode = TextMethodUtils.getUnacceptedKeyCode(DateTimeKeyListener.CHARACTERS); in testDateTimeKeyListener() local

12