/frameworks/base/core/tests/coretests/src/android/view/ |
D | KeyEventTest.java | 52 assertEquals(KEYCODE, keyEvent.getKeyCode()); in testObtain() 71 assertEquals(keyEvent.getKeyCode(), keyEvent2.getKeyCode()); in testObtainFromKeyEvent() 90 assertEquals(KEYCODE, keyEvent.getKeyCode()); in testObtainWithDisplayId()
|
/frameworks/base/apct-tests/perftests/core/src/android/widget/ |
D | EditTextCursorMovementPerfTest.java | 104 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement() 109 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in testCursorMovement() 110 editText.onKeyDown(LEFT_ARROW_KEY_EVENT.getKeyCode(), LEFT_ARROW_KEY_EVENT); in testCursorMovement()
|
D | EditTextBackspacePerfTest.java | 104 editText.onKeyDown(RIGHT_ARROW_KEY_EVENT.getKeyCode(), RIGHT_ARROW_KEY_EVENT); in prepareTextForBackspace() 120 editText.onKeyDown(BACKSPACE_KEY_EVENT.getKeyCode(), BACKSPACE_KEY_EVENT); in testBackspace()
|
D | EditTextLongTextPerfTest.java | 112 editText.onKeyDown(keyEvent.getKeyCode(), keyEvent); in testEditText()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListSetSelection.java | 65 if (event.getKeyCode() == KeyEvent.KEYCODE_S) { in dispatchKeyEvent()
|
/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 | 206 return (mEventToMatch.getKeyCode() == item.getKeyCode()) in matchesSafely()
|
D | KeyEventDispatcherTest.java | 586 && (mEventToMatch.getKeyCode() == keyEvent.getKeyCode()); in matchesSafely()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 2515 public final int getKeyCode() { in getKeyCode() method in KeyEvent 2896 mDownKeyCode = event.getKeyCode(); in startTracking() 2905 return mDownKeyCode == event.getKeyCode(); in isTracking() 2915 mActiveLongPresses.put(event.getKeyCode(), 1); in performedLongPress() 2925 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()
|
/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/base/core/jni/ |
D | android_view_KeyEvent.cpp | 62 event->getKeyCode(), in android_view_KeyEvent_fromNative()
|
D | android_view_InputEventSender.cpp | 118 event->getFlags(), event->getKeyCode(), event->getScanCode(), event->getMetaState(), in sendKeyEvent()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 1313 if (keyEvent == null || !KeyEvent.isMediaSessionKey(keyEvent.getKeyCode())) { in dispatchMediaKeyEvent() 1360 if (!isGlobalPriorityActive && isVoiceKey(keyEvent.getKeyCode())) { in dispatchMediaKeyEvent() 1668 || (keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_UP in dispatchVolumeKeyEvent() 1669 && keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_DOWN in dispatchVolumeKeyEvent() 1670 && keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_MUTE)) { in dispatchVolumeKeyEvent() 1749 switch (keyEvent.getKeyCode()) { in dispatchVolumeKeyEventLocked() 1826 switch (keyEvent.getKeyCode()) { in dispatchVolumeKeyEventToSessionAsSystemService() 2308 && isVoiceKey(mKeyEvent.getKeyCode())) { in dispatchMediaKeyEvent()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | RemoteInputView.java | 126 && KeyEvent.isConfirmKey(event.getKeyCode()) in onFinishInflate() 602 if (event.getKeyCode() == KeyEvent.KEYCODE_BACK && in onKeyPreIme()
|
/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()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | PhoneWindowManager.java | 918 if (mAutofillManagerInternal != null && event.getKeyCode() == KeyEvent.KEYCODE_BACK) { in interceptBackKeyUp() 976 sendSystemKeyToStatusBarAsync(event.getKeyCode()); in interceptPowerKeyDown() 2627 + " keyCode=" + KeyEvent.keyCodeToString(event.getKeyCode())); in interceptKeyBeforeDispatching() 2636 final int keyCode = event.getKeyCode(); in interceptKeyBeforeDispatchingInner() 3142 + ", keyCode=" + event.getKeyCode() in dispatchUnhandledKey() 3152 final int keyCode = event.getKeyCode(); in dispatchUnhandledKey() 3676 final int keyCode = event.getKeyCode(); in interceptKeyBeforeQueueing() 3815 sendSystemKeyToStatusBarAsync(event.getKeyCode()); in interceptKeyBeforeQueueing() 4110 || !mAccessibilityManager.sendFingerprintGesture(event.getKeyCode())) { in interceptSystemNavigationKey() 4112 sendSystemKeyToStatusBarAsync(event.getKeyCode()); in interceptSystemNavigationKey() [all …]
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 71 final int keyCode = event.getKeyCode(); in dispatchKeyEvent()
|
/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/tests/coretests/src/android/text/method/ |
D | ForwardDeleteTest.java | 66 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardHostView.java | 325 final int keyCode = event.getKeyCode(); in interceptMediaKey()
|
D | KeyguardPasswordView.java | 368 && KeyEvent.isConfirmKey(event.getKeyCode()) in onEditorAction()
|
/frameworks/base/native/android/ |
D | input.cpp | 62 return static_cast<const KeyEvent*>(key_event)->getKeyCode(); in AKeyEvent_getKeyCode()
|