Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/
DKeyEventTest.java57 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtain() local
75 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainFromKeyEvent() local
84 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainWithDisplayId() local
110 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesUniqueId() local
122 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesUniqueId() local
132 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainGeneratesIdWithRightSource() local
141 KeyEvent keyEvent = new KeyEvent(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT); in testConstructorGeneratesIdWithRightSource() local
DVerifiedKeyEventTest.kt58 val keyEvent = createVerifiedKeyEvent() in testParcelUnparcel() constant
74 val keyEvent = createVerifiedKeyEvent() in testParcelInputEvent() constant
92 val keyEvent = createVerifiedKeyEvent() in testParcelKeyEvent() constant
109 val keyEvent = createVerifiedKeyEvent() in testParcelInputToKeyEvent() constant
/frameworks/base/services/core/java/com/android/server/media/
DMediaKeyDispatcher.java94 MediaSession.Token getMediaSession(@NonNull KeyEvent keyEvent, int uid, in getMediaSession()
114 PendingIntent getMediaButtonReceiver(@NonNull KeyEvent keyEvent, int uid, in getMediaButtonReceiver()
198 void onSingleTap(KeyEvent keyEvent) { in onSingleTap()
215 void onDoubleTap(KeyEvent keyEvent) { in onDoubleTap()
232 void onTripleTap(KeyEvent keyEvent) { in onTripleTap()
255 void onLongPress(KeyEvent keyEvent) { in onLongPress()
DMediaSessionService.java744 private void dispatchVolumeKeyLongPressLocked(KeyEvent keyEvent) { in dispatchVolumeKeyLongPressLocked()
1336 KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent()
1410 MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchMediaKeyEventToSessionAsSystemService()
1689 boolean asSystemService, KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent()
1727 int uid, boolean asSystemService, KeyEvent keyEvent, int stream, in dispatchVolumeKeyEventLocked()
1787 String opPackageName, MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchVolumeKeyEventToSessionAsSystemService()
2099 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEventLocked()
2243 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in MediaKeyListenerResultReceiver()
2382 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in handleMediaKeyEventLocked()
2388 boolean asSystemService, KeyEvent keyEvent, String opPackageName, int stream, in handleVolumeKeyEventLocked()
[all …]
DMediaButtonReceiverHolder.java191 public boolean send(Context context, KeyEvent keyEvent, String callingPackageName, in send()
DMediaSessionRecord.java987 boolean asSystemService, KeyEvent keyEvent, int sequenceId, ResultReceiver cb) { in sendMediaButton()
1004 boolean asSystemService, KeyEvent keyEvent) { in sendMediaButton()
1208 private Intent createMediaButtonIntent(KeyEvent keyEvent) { in createMediaButtonIntent()
1224 public boolean sendMediaButton(String packageName, KeyEvent keyEvent) { in sendMediaButton()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DGestureLauncherServiceTest.java180 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_firstPowerDownCameraPowerGestureOnInteractive() local
199 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffInteractive() local
243 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOffInteractive() local
289 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOffInteractive() local
335 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupComplete() local
382 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_longpress() local
427 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOnInteractiveSetupIncomplete() local
473 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalMidBoundsCameraPowerGestureOnInteractive() local
519 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalOutOfBoundsCameraPowerGestureOnInteractive() local
563 KeyEvent keyEvent = new KeyEvent(IGNORED_DOWN_TIME, eventTime, IGNORED_ACTION, IGNORED_CODE, in testInterceptPowerKeyDown_intervalInBoundsCameraPowerGestureOffNotInteractive() local
[all …]
/frameworks/base/media/java/android/media/session/
DMediaSessionManager.java500 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent) { in dispatchMediaKeyEvent()
511 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent()
525 public void dispatchMediaKeyEventAsSystemService(KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService()
529 private void dispatchMediaKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchMediaKeyEventInternal()
532 mService.dispatchMediaKeyEvent(mContext.getPackageName(), asSystemService, keyEvent, in dispatchMediaKeyEventInternal() local
551 @NonNull KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService()
576 public void dispatchVolumeKeyEvent(@NonNull KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent()
592 public void dispatchVolumeKeyEventAsSystemService(@NonNull KeyEvent keyEvent, int streamType) { in dispatchVolumeKeyEventAsSystemService()
596 private void dispatchVolumeKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchVolumeKeyEventInternal()
600 asSystemService, keyEvent, stream, musicOnly); in dispatchVolumeKeyEventInternal() local
[all …]
DISessionManager.aidl44 void dispatchMediaKeyEvent(String packageName, boolean asSystemService, in KeyEvent keyEvent, in dispatchMediaKeyEvent()
47 in MediaSession.Token sessionToken, in KeyEvent keyEvent); in dispatchMediaKeyEventToSessionAsSystemService()
49 in KeyEvent keyEvent, int stream, boolean musicOnly); in dispatchVolumeKeyEvent()
51 in MediaSession.Token sessionToken, in KeyEvent keyEvent); in dispatchVolumeKeyEventToSessionAsSystemService()
DMediaSessionLegacyHelper.java169 public void sendMediaButtonEvent(KeyEvent keyEvent, boolean needWakeLock) { in sendMediaButtonEvent()
180 public void sendVolumeKeyEvent(KeyEvent keyEvent, int stream, boolean musicOnly) { in sendVolumeKeyEvent()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/util/
DMockWindow.java97 public void openPanel(int i, KeyEvent keyEvent) { in openPanel()
107 public void togglePanel(int i, KeyEvent keyEvent) { in togglePanel()
117 public boolean performPanelShortcut(int i, int i1, KeyEvent keyEvent, int i2) { in performPanelShortcut()
177 public boolean superDispatchKeyEvent(KeyEvent keyEvent) { in superDispatchKeyEvent()
182 public boolean superDispatchKeyShortcutEvent(KeyEvent keyEvent) { in superDispatchKeyShortcutEvent()
237 public boolean isShortcutKey(int i, KeyEvent keyEvent) { in isShortcutKey()
/frameworks/base/core/tests/coretests/src/android/text/method/
DForwardDeleteTest.java64 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in forwardDelete() local
66 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete() local
DBackspaceTest.java66 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in backspace() local
68 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in backspace() local
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextLongTextPerfTest.java106 final KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testEditText() local
113 editText.onKeyDown(keyEvent.getKeyCode(), keyEvent); in testEditText() local
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java331 private void handleVolumeKeyEvent(KeyEvent keyEvent) { in handleVolumeKeyEvent()
336 private void handleMediaKeyEvent(KeyEvent keyEvent) { in handleMediaKeyEvent()
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManagerClient.aidl98 void dispatchUnhandledKey(int sessionId, in AutofillId id, in KeyEvent keyEvent); in dispatchUnhandledKey()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java177 final KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local
597 final KeyEvent keyEvent = (KeyEvent)event; in onUnhandledEvent() local
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java244 KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java589 public boolean matchesSafely(KeyEvent keyEvent) { in matchesSafely()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardHostView.java407 private void handleMediaKeyEvent(KeyEvent keyEvent) { in handleMediaKeyEvent()
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp117 KeyEvent* keyEvent = static_cast<KeyEvent*>(e); in preDispatchEvent() local
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp109 KeyEvent* keyEvent = static_cast<KeyEvent*>(event); in PublishAndConsumeKeyEvent() local
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java91 void dispatchUnhandledKey(AutofillId id, KeyEvent keyEvent); in dispatchUnhandledKey()
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp987 void NativeInputManager::interceptKeyBeforeQueueing(const KeyEvent* keyEvent, in interceptKeyBeforeQueueing()
1072 const KeyEvent* keyEvent, uint32_t policyFlags) { in interceptKeyBeforeDispatching()
1109 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) { in dispatchUnhandledKey()
1450 KeyEvent keyEvent; in nativeInjectInputEvent() local
1489 KeyEvent keyEvent; in nativeVerifyInputEvent() local
/frameworks/base/media/java/android/media/
DRemoteController.java250 public boolean sendMediaKeyEvent(KeyEvent keyEvent) throws IllegalArgumentException { in sendMediaKeyEvent()

12