/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/services/core/java/com/android/server/policy/ |
D | SingleKeyGestureDetector.java | 193 if (mDownKeyCode == KeyEvent.KEYCODE_UNKNOWN || mDownKeyCode != event.getKeyCode()) { in interceptKey() 203 final int keyCode = event.getKeyCode(); in interceptKeyDown() 308 if (event.getKeyCode() == mActiveRule.mKeyCode) { in interceptKeyUp() 312 Log.i(TAG, "press key " + KeyEvent.keyCodeToString(event.getKeyCode())); in interceptKeyUp()
|
D | KeyCombinationManager.java | 132 final int keyCode = event.getKeyCode(); in interceptKeyLocked() 227 return mTriggeredRule != null && mTriggeredRule.shouldInterceptKey(event.getKeyCode()); in isKeyConsumed()
|
/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/hardware/input/ |
D | VirtualKeyEventTest.java | 55 assertWithMessage("Incorrect key code").that(event.getKeyCode()).isEqualTo( in keyEvent_created()
|
/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/core/java/com/android/server/media/ |
D | MediaSessionService.java | 1442 if (keyEvent == null || !KeyEvent.isMediaSessionKey(keyEvent.getKeyCode())) { in dispatchMediaKeyEvent() 1812 || (keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_UP in dispatchVolumeKeyEvent() 1813 && keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_DOWN in dispatchVolumeKeyEvent() 1814 && keyEvent.getKeyCode() != KeyEvent.KEYCODE_VOLUME_MUTE)) { in dispatchVolumeKeyEvent() 1854 switch (keyEvent.getKeyCode()) { in dispatchVolumeKeyEventLocked() 1929 switch (keyEvent.getKeyCode()) { in dispatchVolumeKeyEventToSessionAsSystemService() 2576 .get(keyEvent.getKeyCode()); in handleKeyEventLocked() 2623 mMultiTapKeyCode = keyEvent.getKeyCode(); in handleKeyEventLocked() 2667 && keyEvent.getKeyCode() != mMultiTapKeyCode) { in cancelTrackingIfNeeded() 2676 && mTrackingFirstDownKeyEvent.getKeyCode() == keyEvent.getKeyCode() in cancelTrackingIfNeeded() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | KeyboardInterceptorTest.java | 209 return (mEventToMatch.getKeyCode() == item.getKeyCode()) in matchesSafely()
|
D | KeyEventDispatcherTest.java | 592 && (mEventToMatch.getKeyCode() == keyEvent.getKeyCode()); in matchesSafely()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | KeyButtonView.java | 312 handled = ims.onKeyDown(ev.getKeyCode(), ev); in sendEvent() 317 handled = ims.onKeyUp(ev.getKeyCode(), ev); in sendEvent()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | KeyboardInterceptor.java | 149 int keyCode = event.getKeyCode(); in getEventDelay()
|
/frameworks/native/libs/input/tests/ |
D | VerifiedInputEvent_test.cpp | 70 ASSERT_EQ(event.getKeyCode(), verified.keyCode); in TEST()
|
/frameworks/base/core/java/android/view/ |
D | KeyEvent.java | 2614 public final int getKeyCode() { in getKeyCode() method in KeyEvent 2995 mDownKeyCode = event.getKeyCode(); in startTracking() 3004 return mDownKeyCode == event.getKeyCode(); in isTracking() 3014 mActiveLongPresses.put(event.getKeyCode(), 1); in performedLongPress() 3024 final int keyCode = event.getKeyCode(); in handleUpEvent()
|
D | VerifiedKeyEvent.java | 250 public int getKeyCode() { in getKeyCode() method in VerifiedKeyEvent
|
D | InputEventConsistencyVerifier.java | 211 final int keyCode = event.getKeyCode(); in onKeyEvent() 600 final int keyCode = keyEvent.getKeyCode(); in onUnhandledEvent()
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualKeyEvent.java | 204 public int getKeyCode() { in getKeyCode() method in VirtualKeyEvent
|
/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/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPasswordViewController.java | 68 && KeyEvent.isConfirmKey(event.getKeyCode())
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | PhoneFallbackEventHandler.java | 71 final int keyCode = event.getKeyCode(); in dispatchKeyEvent()
|
/frameworks/base/core/jni/ |
D | android_view_KeyEvent.cpp | 102 event->getAction(), event->getKeyCode(), in android_view_KeyEvent_fromNative()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthCredentialPasswordView.java | 127 && KeyEvent.isConfirmKey(event.getKeyCode()) in onEditorAction()
|