Home
last modified time | relevance | path

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

12

/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/
DBackspaceTest.java61 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in backspace() local
63 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in backspace() local
DForwardDeleteTest.java61 final KeyEvent keyEvent = KeyUtils.generateKeyEvent( in forwardDelete() local
63 mTextView.onKeyDown(keyEvent.getKeyCode(), keyEvent); in forwardDelete() local
/frameworks/base/apct-tests/perftests/core/src/android/widget/
DEditTextLongTextPerfTest.java112 final KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testEditText() local
119 editText.onKeyDown(keyEvent.getKeyCode(), keyEvent); in testEditText() local
/frameworks/base/media/java/android/media/session/
DISessionManager.aidl36 void dispatchMediaKeyEvent(in KeyEvent keyEvent, boolean needWakeLock); in dispatchMediaKeyEvent()
37 void dispatchVolumeKeyEvent(in KeyEvent keyEvent, int stream, boolean musicOnly); in dispatchVolumeKeyEvent()
DMediaSessionManager.java279 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent) { in dispatchMediaKeyEvent()
290 public void dispatchMediaKeyEvent(@NonNull KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent()
305 public void dispatchVolumeKeyEvent(@NonNull KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent()
DMediaSessionLegacyHelper.java168 public void sendMediaButtonEvent(KeyEvent keyEvent, boolean needWakeLock) { in sendMediaButtonEvent()
179 public void sendVolumeKeyEvent(KeyEvent keyEvent, int stream, boolean musicOnly) { in sendVolumeKeyEvent()
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/util/
DKeyboardUtil.java67 public static KeyEvent keyEvent(int keycode, int metaState) { in keyEvent() method in KeyboardUtil
72 public static KeyEvent keyEvent(int keycode) { in keyEvent() method in KeyboardUtil
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java618 private void dispatchVolumeKeyLongPressLocked(KeyEvent keyEvent) { in dispatchVolumeKeyLongPressLocked()
923 public void dispatchMediaKeyEvent(KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEvent()
1156 public void dispatchVolumeKeyEvent(KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEvent()
1228 KeyEvent keyEvent, int stream, boolean musicOnly) { in dispatchVolumeKeyEventLocked()
1390 private void handleVoiceKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock) { in handleVoiceKeyEventLocked()
1414 private void dispatchMediaKeyEventLocked(KeyEvent keyEvent, boolean needWakeLock) { in dispatchMediaKeyEventLocked()
1549 private MediaKeyListenerResultReceiver(KeyEvent keyEvent, boolean needWakeLock) { in MediaKeyListenerResultReceiver()
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
DPlaybackTransportControlGlueSample.java75 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
DPlaybackControlGlue.java104 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
DPlaybackControlHelper.java120 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
DPlaybackControlSupportHelper.java123 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java313 private void handleMediaKeyEvent(KeyEvent keyEvent) { in handleMediaKeyEvent()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java174 final KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local
592 final KeyEvent keyEvent = (KeyEvent)event; in onUnhandledEvent() local
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackTransportControlGlue.java245 boolean dispatchAction(Action action, KeyEvent keyEvent) { in dispatchAction()
DPlaybackBannerControlGlue.java374 boolean dispatchAction(Action action, KeyEvent keyEvent) { in dispatchAction()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java570 public boolean matchesSafely(KeyEvent keyEvent) { in matchesSafely()
/frameworks/base/core/java/android/inputmethodservice/
DIInputMethodSessionWrapper.java231 KeyEvent keyEvent = (KeyEvent)event; in onInputEvent() local
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardHostView.java390 private void handleMediaKeyEvent(KeyEvent keyEvent) { in handleMediaKeyEvent()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DPlaybackTestFragment.java203 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
DPlaybackTestSupportFragment.java206 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
DPlaybackOverlayTestFragment.java249 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey()
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumer_test.cpp101 KeyEvent* keyEvent = static_cast<KeyEvent*>(event); in PublishAndConsumeKeyEvent() local
/frameworks/base/core/jni/
Dandroid_view_InputQueue.cpp117 KeyEvent* keyEvent = static_cast<KeyEvent*>(e); in preDispatchEvent() local

12