Home
last modified time | relevance | path

Searched defs:keyEvent (Results 1 – 25 of 25) 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.java1471 final KeyEvent keyEvent = new KeyEvent( in pressCtrlChord() local
/cts/tests/tests/view/src/android/view/cts/
DKeyEventInterceptTest.java149 KeyEvent keyEvent = mActivity.mKeyEvents.poll(); in assertKeyNotReceived() local
157 KeyEvent keyEvent = mActivity.mKeyEvents.poll(); in assertKeyReceived() local
DKeyEventTest.java105 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in testConstructor() local
121 KeyEvent keyEvent = parcelUnparcel(mKeyEvent); in testGetCharacters() local
666 KeyEvent keyEvent = parcelUnparcel(mKeyEvent); in testWriteToParcel() local
889 private KeyEvent parcelUnparcel(KeyEvent keyEvent) { in parcelUnparcel()
DContentPaneFocusTest.java175 KeyEvent keyEvent = new KeyEvent(time, time, action, KeyEvent.KEYCODE_CTRL_LEFT, 0, in sendMetaKey() local
DVerifyInputEventTest.java318 private void compareKeys(KeyEvent keyEvent, VerifiedInputEvent verified) { in compareKeys()
DViewTest.java4116 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_0); in testTouchMode() local
/cts/libs/input/src/com/android/cts/input/
DEventVerifier.kt46 val keyEvent = in getKeyEvent() constant
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/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.java472 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_broadcastReceiver() argument
523 MediaButtonReceiverService.setCallback((keyEvent) -> { in testSetMediaButtonReceiver_service() argument
608 MediaButtonBroadcastReceiver.setCallback((keyEvent) -> { in testSetMediaButtonBroadcastReceiver_broadcastReceiver() argument
DMediaControllerTest.java537 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_CAPS_LOCK); in testDispatchMediaButtonEventWithNonMediaKeyEventReturnsFalse() local
/cts/tests/surfacecontrol/src/android/view/cts/util/
DASurfaceControlInputReceiverTestUtils.java36 boolean onKeyEvent(KeyEvent keyEvent); in onKeyEvent()
/cts/tests/autofillservice/src/android/autofillservice/cts/activities/
DAbstractWebViewActivity.java55 KeyEvent keyEvent = new KeyEvent(/* downTime= */ downTime, in dispatchKeyPress() local
/cts/tests/input/src/android/input/cts/
DGamepadWithAccessibilityTest.kt119 val keyEvent = lastInputEvent as KeyEvent in testDeviceId() constant
/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityInputConnectionTest.java204 final KeyEvent keyEvent = new KeyEvent(eventTime, eventTime, in testSendKeyEvent() local
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/
DASurfaceControlInputReceiverTest.java224 public boolean onKeyEvent(KeyEvent keyEvent) { in testTransferGestureFromHostToEmbedded()
305 public boolean onKeyEvent(KeyEvent keyEvent) { in testTransferGestureFromEmbeddedToHost()
/cts/tests/tests/widget/src/android/widget/cts/
DAbsSeekBarTest.java240 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT); in testAccessKeyProgressIncrement() local
/cts/tests/tests/view/jni/
Dandroid_view_cts_AInputNativeTest.cpp118 jobject keyEvent = AInputEvent_toJava(env, event); in obtainKeyEventCopyFromNative() local
/cts/tests/app/app/src/android/app/stubs/
DTestDialog.java79 public KeyEvent keyEvent; field in TestDialog
/cts/tests/tests/tv/src/android/media/tv/cts/
DTvViewTest.java394 private void verifyKeyEvent(final KeyEvent keyEvent, final InputEvent[] unhandledEvent) { in verifyKeyEvent()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DWindowFocusTests.java97 final KeyEvent keyEvent = new KeyEvent(action, keyCode); in sendKey() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java268 final KeyEvent keyEvent = keyEvents.remove(); in testSwitchingBetweenEquivalentNonEditableViews() local