/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | EmojiAltPhysicalKeyDetector.java | 58 public void onKeyDown(@Nonnull final KeyEvent keyEvent) { in onKeyDown() argument 60 Log.d(TAG, "EmojiHotKeys.onKeyDown() - " + mName + " - considering " + keyEvent); in onKeyDown() 64 Pair.create(keyEvent.getKeyCode(), keyEvent.getMetaState()); in onKeyDown() 70 mMetaState = keyEvent.getMetaState(); in onKeyDown() 79 public void onKeyUp(@Nonnull final KeyEvent keyEvent) { in onKeyUp() argument 81 Log.d(TAG, "EmojiHotKeys.onKeyUp() - " + mName + " - considering " + keyEvent); in onKeyUp() 84 final int keyCode = keyEvent.getKeyCode(); in onKeyUp() 85 int metaState = keyEvent.getMetaState(); in onKeyUp() 96 if (!keyEvent.isCanceled()) { in onKeyUp() 149 public void onKeyDown(@Nonnull final KeyEvent keyEvent) { in onKeyDown() argument [all …]
|
D | RichInputConnection.java | 510 public void sendKeyEvent(final KeyEvent keyEvent) { in sendKeyEvent() argument 512 if (keyEvent.getAction() == KeyEvent.ACTION_DOWN) { in sendKeyEvent() 520 switch (keyEvent.getKeyCode()) { in sendKeyEvent() 543 if (null != keyEvent.getCharacters()) { in sendKeyEvent() 544 mCommittedTextBeforeComposingText.append(keyEvent.getCharacters()); in sendKeyEvent() 545 mExpectedSelStart += keyEvent.getCharacters().length(); in sendKeyEvent() 550 final String text = StringUtils.newSingleCodePointString(keyEvent.getUnicodeChar()); in sendKeyEvent() 558 mIC.sendKeyEvent(keyEvent); in sendKeyEvent()
|
D | LatinIME.java | 1753 public boolean onKeyDown(final int keyCode, final KeyEvent keyEvent) { in onKeyDown() argument 1758 mEmojiAltPhysicalKeyDetector.onKeyDown(keyEvent); in onKeyDown() 1760 return super.onKeyDown(keyCode, keyEvent); in onKeyDown() 1763 keyEvent.getDeviceId()).decodeHardwareKey(keyEvent); in onKeyDown() 1774 return super.onKeyDown(keyCode, keyEvent); in onKeyDown() 1778 public boolean onKeyUp(final int keyCode, final KeyEvent keyEvent) { in onKeyUp() argument 1783 mEmojiAltPhysicalKeyDetector.onKeyUp(keyEvent); in onKeyUp() 1785 return super.onKeyUp(keyCode, keyEvent); in onKeyUp() 1787 final long keyIdentifier = keyEvent.getDeviceId() << 32 + keyEvent.getKeyCode(); in onKeyUp() 1791 return super.onKeyUp(keyCode, keyEvent); in onKeyUp()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
D | HardwareKeyboardEventDecoder.java | 40 public Event decodeHardwareKey(final KeyEvent keyEvent) { in decodeHardwareKey() argument 44 final int codePointAndFlags = keyEvent.getUnicodeChar(); in decodeHardwareKey() 48 final int keyCode = keyEvent.getKeyCode(); in decodeHardwareKey() 49 final boolean isKeyRepeat = (0 != keyEvent.getRepeatCount()); in decodeHardwareKey() 54 if (keyEvent.isPrintingKey() || KeyEvent.KEYCODE_SPACE == keyCode in decodeHardwareKey() 67 if (keyEvent.isShiftPressed()) { in decodeHardwareKey()
|
D | HardwareEventDecoder.java | 25 public Event decodeHardwareKey(final KeyEvent keyEvent); in decodeHardwareKey() argument
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
D | AlarmActivity.kt | 253 override fun dispatchKeyEvent(keyEvent: KeyEvent): Boolean { in dispatchKeyEvent() 255 LOGGER.v("dispatchKeyEvent: %s", keyEvent) in dispatchKeyEvent() 257 val keyCode: Int = keyEvent.getKeyCode() in dispatchKeyEvent() 267 if (keyEvent.getAction() == KeyEvent.ACTION_UP) { in dispatchKeyEvent() 273 if (keyEvent.getAction() == KeyEvent.ACTION_UP) { in dispatchKeyEvent() 283 return super.dispatchKeyEvent(keyEvent) in dispatchKeyEvent()
|
D | AlarmActivity.java | 285 public boolean dispatchKeyEvent(@NonNull KeyEvent keyEvent) { in dispatchKeyEvent() argument 287 LOGGER.v("dispatchKeyEvent: %s", keyEvent); in dispatchKeyEvent() 289 final int keyCode = keyEvent.getKeyCode(); in dispatchKeyEvent() 301 if (keyEvent.getAction() == KeyEvent.ACTION_UP) { in dispatchKeyEvent() 306 if (keyEvent.getAction() == KeyEvent.ACTION_UP) { in dispatchKeyEvent() 313 return super.dispatchKeyEvent(keyEvent); in dispatchKeyEvent()
|
/packages/services/Car/car-lib/src/android/car/input/ |
D | CarInputHandlingService.java | 113 protected abstract void onKeyEvent(KeyEvent keyEvent, int targetDisplay); in onKeyEvent() argument 129 public void onKeyEvent(KeyEvent keyEvent, int targetDisplay) throws RemoteException { in onKeyEvent() argument 130 mEventHandler.doKeyEvent(keyEvent, targetDisplay); in onKeyEvent()
|
D | ICarInputListener.aidl | 27 void onKeyEvent(in KeyEvent keyEvent, int targetDisplay) = 1; in onKeyEvent() argument
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | ClusterRenderingService.java | 90 void onKeyEvent(KeyEvent keyEvent); in onKeyEvent() argument 233 public void onKeyEvent(KeyEvent keyEvent) { in onKeyEvent() argument 235 Log.d(TAG, "onKeyEvent, keyEvent: " + keyEvent); in onKeyEvent() 237 broadcastClientEvent(client -> client.onKeyEvent(keyEvent)); in onKeyEvent()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | AvrcpNativeInterface.java | 80 void sendMediaKeyEvent(int keyEvent, boolean pushed) { in sendMediaKeyEvent() argument 81 d("sendMediaKeyEvent: keyEvent=" + keyEvent + " pushed=" + pushed); in sendMediaKeyEvent() 87 mAvrcpService.sendMediaKeyEvent(keyEvent, pushed); in sendMediaKeyEvent()
|
/packages/services/Car/car-lib/src/android/car/ |
D | CarProjectionManager.java | 312 private void translateKeyEventToLegacyListener(@KeyEventNum int keyEvent) { in translateKeyEventToLegacyListener() argument 322 if (keyEvent == KEY_EVENT_VOICE_SEARCH_SHORT_PRESS_KEY_UP) { in translateKeyEventToLegacyListener() 324 } else if (keyEvent == KEY_EVENT_VOICE_SEARCH_LONG_PRESS_KEY_DOWN) { in translateKeyEventToLegacyListener() 327 Log.e(TAG, "Unexpected key event " + keyEvent); in translateKeyEventToLegacyListener()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 570 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY); in startTheMusic() local 571 helper.sendMediaButtonEvent(keyEvent, false); in startTheMusic() 572 keyEvent = new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MEDIA_PLAY); in startTheMusic() 573 helper.sendMediaButtonEvent(keyEvent, false); in startTheMusic()
|
/packages/apps/TV/src/com/android/tv/ |
D | MainActivity.java | 553 KeyEvent keyEvent = (KeyEvent) event; in onCreate() 554 if (keyEvent.getAction() == KeyEvent.ACTION_DOWN in onCreate() 555 && keyEvent.isLongPress()) { in onCreate() 556 if (onKeyLongPress(keyEvent.getKeyCode(), keyEvent)) { in onCreate() 560 if (keyEvent.getAction() == KeyEvent.ACTION_UP) { in onCreate() 561 return onKeyUp(keyEvent.getKeyCode(), keyEvent); in onCreate() 562 } else if (keyEvent.getAction() == KeyEvent.ACTION_DOWN) { in onCreate() 563 return onKeyDown(keyEvent.getKeyCode(), keyEvent); in onCreate()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | AddManualPrinterDialog.java | 186 public boolean onEditorAction(TextView textView, int id, KeyEvent keyEvent) { in onEditorAction() argument 195 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/mockable/ |
D | MediaController.java | 71 public boolean dispatchMediaButtonEvent(@NonNull KeyEvent keyEvent) { in dispatchMediaButtonEvent() argument 72 return mDelegate.dispatchMediaButtonEvent(keyEvent); in dispatchMediaButtonEvent()
|
/packages/services/Car/car-lib/src/android/car/cluster/renderer/ |
D | InstrumentClusterRenderingService.java | 207 public void onKeyEvent(@NonNull KeyEvent keyEvent) { in onKeyEvent() argument 510 public void onKeyEvent(KeyEvent keyEvent) throws RemoteException { in onKeyEvent() argument 511 mUiHandler.post(() -> InstrumentClusterRenderingService.this.onKeyEvent(keyEvent)); in onKeyEvent()
|
D | IInstrumentCluster.aidl | 44 oneway void onKeyEvent(in KeyEvent keyEvent); in onKeyEvent() argument
|
/packages/services/Car/service/src/com/android/car/ |
D | CarProjectionService.java | 819 public void onKeyEvent(@CarProjectionManager.KeyEventNum int keyEvent) { in onKeyEvent() argument 820 Log.d(TAG, "Dispatching key event: " + keyEvent); in onKeyEvent() 827 if (eventHandler.canHandleEvent(keyEvent)) { in onKeyEvent() 830 eventHandler.binderInterface.onKeyEvent(keyEvent); in onKeyEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | SearchUiManager.java | 43 void preDispatchKeyEvent(KeyEvent keyEvent); in preDispatchKeyEvent() argument
|
/packages/apps/TV/src/com/android/tv/dialog/ |
D | HalfSizedDialogFragment.java | 80 public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent keyEvent) { in onCreateDialog()
|
/packages/apps/Car/Settings/src/com/android/car/settings/security/ |
D | ConfirmLockPinPasswordFragment.java | 201 mPasswordField.setOnEditorActionListener((textView, actionId, keyEvent) -> { in initPasswordView() argument
|
D | ChooseLockPinPasswordFragment.java | 166 mPasswordField.setOnEditorActionListener((textView, actionId, keyEvent) -> { in onViewCreated() argument
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiConfigController.java | 1486 public boolean onEditorAction(TextView textView, int id, KeyEvent keyEvent) { in onEditorAction() argument 1497 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() argument
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiConfigController.java | 1405 public boolean onEditorAction(TextView textView, int id, KeyEvent keyEvent) { in onEditorAction() argument 1416 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() argument
|