Home
last modified time | relevance | path

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

12

/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/core/tests/coretests/src/android/view/
DKeyEventTest.java47 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtain() local
65 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainFromKeyEvent() local
85 KeyEvent keyEvent = KeyEvent.obtain(DOWN_TIME, EVENT_TIME, ACTION, KEYCODE, REPEAT, in testObtainWithDisplayId() local
/frameworks/base/media/java/android/media/session/
DMediaSessionManager.java497 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent) { in dispatchMediaKeyEvent()
508 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent()
522 public void dispatchMediaKeyEventAsSystemService(KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService()
526 private void dispatchMediaKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchMediaKeyEventInternal()
529 mService.dispatchMediaKeyEvent(mContext.getPackageName(), asSystemService, keyEvent, in dispatchMediaKeyEventInternal() local
548 @NonNull KeyEvent keyEvent) { in dispatchMediaKeyEventAsSystemService()
573 public void dispatchVolumeKeyEvent(@NonNull KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent()
589 public void dispatchVolumeKeyEventAsSystemService(@NonNull KeyEvent keyEvent, int streamType) { in dispatchVolumeKeyEventAsSystemService()
593 private void dispatchVolumeKeyEventInternal(boolean asSystemService, @NonNull KeyEvent keyEvent, in dispatchVolumeKeyEventInternal()
597 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.java105 final KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testEditText() local
112 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/services/core/java/com/android/server/media/
DMediaSessionService.java709 private void dispatchVolumeKeyLongPressLocked(KeyEvent keyEvent) { in dispatchVolumeKeyLongPressLocked()
1312 KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent()
1387 MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchMediaKeyEventToSessionAsSystemService()
1666 boolean asSystemService, KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent()
1743 int uid, boolean asSystemService, KeyEvent keyEvent, int stream, in dispatchVolumeKeyEventLocked()
1803 String opPackageName, MediaSession.Token sessionToken, KeyEvent keyEvent) { in dispatchVolumeKeyEventToSessionAsSystemService()
2083 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in handleVoiceKeyEventLocked()
2110 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEventLocked()
2273 boolean asSystemService, KeyEvent keyEvent, boolean needWakeLock) { in MediaKeyListenerResultReceiver()
DMediaSessionRecord.java995 boolean asSystemService, KeyEvent keyEvent, int sequenceId, ResultReceiver cb) { in sendMediaButton()
1013 KeyEvent keyEvent) { in sendMediaButton()
1229 private Intent createMediaButtonIntent(KeyEvent keyEvent) { in createMediaButtonIntent()
1246 KeyEvent keyEvent) { in sendMediaButton()
/frameworks/base/core/java/android/view/autofill/
DIAutoFillManagerClient.aidl84 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.java234 KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local
DMultiClientInputMethodClientCallbackAdaptor.java167 final KeyEvent keyEvent = (KeyEvent) event; in onInputEvent() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java584 public boolean matchesSafely(KeyEvent keyEvent) { in matchesSafely()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardHostView.java400 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.cpp102 KeyEvent* keyEvent = static_cast<KeyEvent*>(event); in PublishAndConsumeKeyEvent() local
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DAutoFillUI.java86 void dispatchUnhandledKey(AutofillId id, KeyEvent keyEvent); in dispatchUnhandledKey()
DFillUi.java90 void dispatchUnhandledKey(KeyEvent keyEvent); in dispatchUnhandledKey()
/frameworks/base/media/java/android/media/
DRemoteController.java250 public boolean sendMediaKeyEvent(KeyEvent keyEvent) throws IllegalArgumentException { in sendMediaKeyEvent()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DAccessibilityInputFilter.java221 KeyEvent keyEvent = (KeyEvent) event; in onInputEvent() local
/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1024 void NativeInputManager::interceptKeyBeforeQueueing(const KeyEvent* keyEvent, in interceptKeyBeforeQueueing()
1109 const KeyEvent* keyEvent, uint32_t policyFlags) { in interceptKeyBeforeDispatching()
1146 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) { in dispatchUnhandledKey()
1480 KeyEvent keyEvent; in nativeInjectInputEvent() local

12