Home
last modified time | relevance | path

Searched defs:keyEvent (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/text/src/android/text/method/cts/
DBackspaceTest.java55 final KeyEvent keyEvent = getKey(KeyEvent.KEYCODE_DEL, modifiers); in backspace() local
56 mActivityRule.runOnUiThread(() -> mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent)); in backspace() local
DForwardDeleteTest.java55 final KeyEvent keyEvent = getKey(KeyEvent.KEYCODE_FORWARD_DEL, modifiers); in forwardDelete() local
56 mActivity.runOnUiThread(() -> mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent)); in forwardDelete() local
DDialerKeyListenerTest.java54 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, event); in testLookup() local
DArrowKeyMovementMethodTest.java1459 final KeyEvent keyEvent = new KeyEvent( in pressCtrlChord() local
/cts/tests/tests/view/src/android/view/cts/
DKeyEventTest.java91 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in testConstructor() local
107 KeyEvent keyEvent = parcelUnparcel(mKeyEvent); in testGetCharacters() local
649 KeyEvent keyEvent = parcelUnparcel(mKeyEvent); in testWriteToParcel() local
829 private KeyEvent parcelUnparcel(KeyEvent keyEvent) { in parcelUnparcel()
DKeyEventInterceptTest.java139 KeyEvent keyEvent = mActivity.mKeyEvents.poll(); in assertKeyNotReceived() local
147 KeyEvent keyEvent = mActivity.mKeyEvents.poll(); in assertKeyReceived() local
DContentPaneFocusTest.java164 KeyEvent keyEvent = new KeyEvent(time, time, action, KeyEvent.KEYCODE_META_LEFT, 0, in sendMetaKey() local
DVerifyInputEventTest.java300 private static void compareKeys(KeyEvent keyEvent, VerifiedInputEvent verified) { in compareKeys()
DViewTest.java3982 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in testTouchMode() local
/cts/tests/tests/media/src/android/media/cts/
DMediaButtonBroadcastReceiver.java34 KeyEvent keyEvent = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onReceive() local
DMediaButtonReceiverService.java44 KeyEvent keyEvent = intent.getParcelableExtra(Intent.EXTRA_KEY_EVENT); in onHandleIntent() local
DMediaSessionTest.java332 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_broadcastReceiver() argument
377 MediaButtonReceiverService.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_service() argument
445 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonBroadcastReceiver_broadcastReceiver() argument
DMediaControllerTest.java519 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_CAPS_LOCK); in testDispatchMediaButtonEventWithNonMediaKeyEventReturnsFalse() local
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractWebViewActivity.java53 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, keyCode); in dispatchKeyPress() local
/cts/tests/input/src/android/input/cts/
DGamepadWithAccessibilityTest.kt122 val keyEvent = lastInputEvent as KeyEvent in testDeviceId() constant
/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java232 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT); in testAccessKeyProgressIncrement() local
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java376 private void verifyKeyEvent(final KeyEvent keyEvent, final InputEvent[] unhandledEvent) { in verifyKeyEvent()
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java79 public KeyEvent keyEvent; field in TestDialog
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DWindowFocusTests.java82 final KeyEvent keyEvent = new KeyEvent(action, keyCode); in sendKey() local