/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | EditTextCursorMovementPerfTest.java | 105 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement() 110 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement() 111 editText.onKeyDown(LEFT_ARROW_KEY_EVENT.getKeyCode(), LEFT_ARROW_KEY_EVENT); in testCursorMovement()
|
D | EditTextBackspacePerfTest.java | 105 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in prepareTextForBackspace() 121 editText.onKeyDown(BACKSPACE_KEY_EVENT.getKeyCode(), BACKSPACE_KEY_EVENT); in testBackspace()
|
D | EditTextLongTextPerfTest.java | 113 editText.onKeyDown(keyEvent.getKeyCode(), keyEvent); in testEditText()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 62 assertEquals(KEYCODE, keyEvent.getKeyCode()); in testObtain() 89 assertEquals(KEYCODE, keyEvent.getKeyCode()); in testObtainWithDisplayId() 176 assertEquals(key1.getKeyCode(), key2.getKeyCode()); in compareKeys()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListSetSelection.java | 65 if (event.getKeyCode() == KeyEvent.KEYCODE_S) { in dispatchKeyEvent()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 1337 if (keyEvent == null || !KeyEvent.isMediaSessionKey(keyEvent.getKeyCode())) { in dispatchMediaKeyEvent() 1691 || (keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_UP in dispatchVolumeKeyEvent() 1692 && keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_DOWN in dispatchVolumeKeyEvent() 1693 && keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_MUTE)) { in dispatchVolumeKeyEvent() 1733 switch (keyEvent.getKeyCode()) { in dispatchVolumeKeyEventLocked() 1810 switch (keyEvent.getKeyCode()) { in dispatchVolumeKeyEventToSessionAsSystemService() 2403 .get(keyEvent.getKeyCode()); in handleKeyEventLocked() 2449 mMultiTapKeyCode = keyEvent.getKeyCode(); in handleKeyEventLocked() 2493 && keyEvent.getKeyCode() != mMultiTapKeyCode) { in cancelTrackingIfNeeded() 2502 && mTrackingFirstDownKeyEvent.getKeyCode() == keyEvent.getKeyCode() in cancelTrackingIfNeeded() [all …]
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 58 final int shortcutKeyCode = shortcutKeyEvent.getKeyCode(); in chordMenuKey()
|
D | InternalSelectionView.java | 210 switch(event.getKeyCode()) { in onKeyDown()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyboardInterceptorTest.java | 207 return (mEventToMatch.getKeyCode() == item.getKeyCode()) in matchesSafely()
|
D | KeyEventDispatcherTest.java | 591 && (mEventToMatch.getKeyCode() == keyEvent.getKeyCode()); in matchesSafely()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthCredentialPasswordView.java | 90 && KeyEvent.isConfirmKey(event.getKeyCode()) in onEditorAction()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 143 int keyCode = event.getKeyCode(); in getEventDelay()
|
D | AutoclickController.java | 93 if (KeyEvent.isModifierKey(event.getKeyCode())) { in onKeyEvent()
|
/frameworks/native/libs/input/tests/ |
D | VerifiedInputEvent_test.cpp | 66 ASSERT_EQ(event.getKeyCode(), verified.keyCode); in TEST()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 2555 public final int getKeyCode() { in getKeyCode() method in KeyEvent 2936 mDownKeyCode = event.getKeyCode(); in startTracking() 2945 return mDownKeyCode == event.getKeyCode(); in isTracking() 2955 mActiveLongPresses.put(event.getKeyCode(), 1); in performedLongPress() 2965 final int keyCode = event.getKeyCode(); in handleUpEvent()
|
D | InputEventConsistencyVerifier.java | 211 final int keyCode = event.getKeyCode(); in onKeyEvent() 600 final int keyCode = keyEvent.getKeyCode(); in onUnhandledEvent()
|
D | VerifiedKeyEvent.java | 254 public int getKeyCode() { in getKeyCode() method in VerifiedKeyEvent
|
/frameworks/base/core/java/android/app/ |
D | SearchableInfo.java | 449 public int getKeyCode() { in getKeyCode() method in SearchableInfo.ActionKeyInfo 512 mActionKeys.put(keyInfo.getKeyCode(), keyInfo); in addActionKey()
|
D | Dialog.java | 820 if ((mOnKeyListener != null) && (mOnKeyListener.onKey(this, event.getKeyCode(), event))) { in dispatchKeyEvent() 844 return onKeyShortcut(event.getKeyCode(), event); in dispatchKeyShortcutEvent()
|
/frameworks/base/core/jni/ |
D | android_view_KeyEvent.cpp | 103 event->getAction(), event->getKeyCode(), in android_view_KeyEvent_fromNative()
|
D | android_view_InputEventSender.cpp | 120 event->getKeyCode(), event->getScanCode(), in sendKeyEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 139 && KeyEvent.isConfirmKey(event.getKeyCode()) in onFinishInflate() 640 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK && in onKeyPreIme()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
D | SearchablesTest.java | 169 assertEquals(ai.getKeyCode(), KeyEvent.KEYCODE_CALL); in checkSearchable()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 71 final int keyCode = event.getKeyCode(); in dispatchKeyEvent()
|
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | ForwardDeleteTest.java | 66 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete()
|