/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
D | OpenWnnJAJP.java | 701 onKeyUpEvent(ev.keyEvent); in onEvent() 705 return onKeyLongPressEvent(ev.keyEvent); in onEvent() 807 KeyEvent keyEvent = ev.keyEvent; in onEvent() local 809 if (keyEvent != null) { in onEvent() 810 keyCode = keyEvent.getKeyCode(); in onEvent() 820 mInputConnection.sendKeyEvent(keyEvent); in onEvent() 822 keyEvent.getKeyCode())); in onEvent() 838 …if (keyEvent != null && keyEvent.isPrintingKey() && isTenKeyCode(keyCode) && !keyEvent.isNumLockOn… in onEvent() 884 if (keyEvent != null) { in onEvent() 885 if (keyEvent.isShiftPressed()) { in onEvent() [all …]
|
D | OpenWnnEN.java | 411 onKeyUpEvent(ev.keyEvent); in onEvent() 467 KeyEvent keyEvent = ev.keyEvent; in onEvent() local 469 if (keyEvent != null) { in onEvent() 470 keyCode = keyEvent.getKeyCode(); in onEvent() 474 mInputConnection.sendKeyEvent(keyEvent); in onEvent() 476 keyEvent.getKeyCode())); in onEvent() 505 keyCode = ev.keyEvent.getKeyCode(); in onEvent() 510 if (ev.keyEvent.getRepeatCount() == 0) { in onEvent() 519 if (ev.keyEvent.getRepeatCount() == 0) { in onEvent() 529 ret = processKeyEvent(ev.keyEvent); in onEvent() [all …]
|
D | OpenWnnEvent.java | 271 public KeyEvent keyEvent = null; field in OpenWnnEvent 353 this.keyEvent = ev; in OpenWnnEvent() 363 this.keyEvent = ev; in OpenWnnEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | EmojiAltPhysicalKeyDetector.java | 81 public void onKeyUp(@Nonnull final KeyEvent keyEvent) { in onKeyUp() argument 82 Log.d(TAG, "onKeyUp() : " + keyEvent); in onKeyUp() 88 if (keyEvent.isCanceled()) { in onKeyUp() 93 final Integer mappedModifier = getMappedModifier(keyEvent); in onKeyUp() 101 final int keyCode = keyEvent.getKeyCode(); in onKeyUp() 108 if (!isMappedKeyCode(keyEvent)) { in onKeyUp() 127 private boolean isMappedKeyCode(@Nonnull final KeyEvent keyEvent) { in isMappedKeyCode() argument 128 return mCombinedSwitcherMap.get(keyEvent.getKeyCode()) != null; in isMappedKeyCode() 135 private Integer getMappedModifier(@Nonnull final KeyEvent keyEvent) { in getMappedModifier() argument 136 final int keyCode = keyEvent.getKeyCode(); in getMappedModifier() [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 | 1652 public boolean onKeyDown(final int keyCode, final KeyEvent keyEvent) { in onKeyDown() argument 1654 return super.onKeyDown(keyCode, keyEvent); in onKeyDown() 1657 keyEvent.getDeviceId()).decodeHardwareKey(keyEvent); in onKeyDown() 1668 return super.onKeyDown(keyCode, keyEvent); in onKeyDown() 1672 public boolean onKeyUp(final int keyCode, final KeyEvent keyEvent) { in onKeyUp() argument 1677 mEmojiAltPhysicalKeyDetector.onKeyUp(keyEvent); in onKeyUp() 1679 return super.onKeyUp(keyCode, keyEvent); in onKeyUp() 1681 final long keyIdentifier = keyEvent.getDeviceId() << 32 + keyEvent.getKeyCode(); in onKeyUp() 1685 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.java | 292 public boolean dispatchKeyEvent(@NonNull KeyEvent keyEvent) { in dispatchKeyEvent() argument 294 LogUtils.v(LOGTAG, "dispatchKeyEvent: %s", keyEvent); in dispatchKeyEvent() 296 switch (keyEvent.getKeyCode()) { in dispatchKeyEvent() 304 if (!mAlarmHandled && keyEvent.getAction() == KeyEvent.ACTION_UP) { in dispatchKeyEvent() 318 return super.dispatchKeyEvent(keyEvent); in dispatchKeyEvent()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 482 KeyEvent keyEvent = new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_MEDIA_PLAY); in startTheMusic() local 483 helper.sendMediaButtonEvent(keyEvent, false); in startTheMusic() 484 keyEvent = new KeyEvent(KeyEvent.ACTION_UP, KeyEvent.KEYCODE_MEDIA_PLAY); in startTheMusic() 485 helper.sendMediaButtonEvent(keyEvent, false); in startTheMusic()
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
D | Calculator.java | 130 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { 147 if (keyEvent.getAction() != KeyEvent.ACTION_UP) { 163 final int raw = keyEvent.getKeyCharacterMap() 164 .get(keyCode, keyEvent.getMetaState());
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | Avrcp.java | 574 KeyEvent keyEvent = in handleMessage() local 576 mRemoteController.sendMediaKeyEvent(keyEvent); in handleMessage() 583 KeyEvent keyEvent = in handleMessage() local 585 mRemoteController.sendMediaKeyEvent(keyEvent); in handleMessage()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationListFragment.java | 690 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() argument 695 if (keyEvent.getAction() == KeyEvent.ACTION_UP) { in onKey() 712 } else if (keyEvent.getAction() == KeyEvent.ACTION_DOWN) { in onKey() 718 keyEvent.getAction() == KeyEvent.ACTION_UP) { in onKey()
|
D | ConversationViewFragment.java | 1198 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { in onKey() argument 1199 if (keyEvent.getAction() == KeyEvent.ACTION_DOWN) { in onKey() 1206 final boolean isActionUp = keyEvent.getAction() == KeyEvent.ACTION_UP; in onKey() 1217 if (mNavigationController.onInterceptKeyFromCV(keyCode, keyEvent, navigateAway)) { in onKey()
|
D | TwoPaneController.java | 932 public boolean onInterceptKeyFromCV(int keyCode, KeyEvent keyEvent, boolean navigateAway) { in onInterceptKeyFromCV() argument 935 if (keyEvent.getAction() == KeyEvent.ACTION_UP) { in onInterceptKeyFromCV()
|
D | KeyboardNavigationController.java | 32 public boolean onInterceptKeyFromCV(int keyCode, KeyEvent keyEvent, boolean navigateAway); in onInterceptKeyFromCV() argument
|
D | MaterialSearchActionView.java | 231 public boolean onEditorAction(TextView textView, int actionId, KeyEvent keyEvent) { in onEditorAction() argument
|
D | OnePaneController.java | 536 public boolean onInterceptKeyFromCV(int keyCode, KeyEvent keyEvent, boolean navigateAway) { in onInterceptKeyFromCV() argument
|
/packages/apps/Calculator/src/com/android/calculator2/ |
D | Calculator.java | 84 public boolean onKey(View view, int keyCode, KeyEvent keyEvent) { 88 if (keyEvent.getAction() == KeyEvent.ACTION_UP) {
|
/packages/apps/UnifiedEmail/src/com/android/mail/compose/ |
D | ComposeActivity.java | 1398 public boolean onEditorAction(TextView view, int action, KeyEvent keyEvent) { in onEditorAction() argument
|