Home
last modified time | relevance | path

Searched defs:keyCode (Results 1 – 25 of 129) sorted by relevance

123456

/packages/apps/Launcher3/src/com/android/launcher3/util/
DKeyboardShortcutsDelegate.java81 public Boolean onKeyShortcut(int keyCode, KeyEvent event) { in onKeyShortcut()
113 public Boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
144 public Boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardController.java83 public void onEntry(int type, int keyCode, CharSequence result); in onEntry()
278 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
292 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
417 private boolean handleKeyDownEvent(int keyCode, int eventRepeatCount) { in handleKeyDownEvent()
489 private boolean handleKeyLongPress(int keyCode) { in handleKeyLongPress()
508 private boolean handleKeyUpEvent(int keyCode, long currTime) { in handleKeyUpEvent()
585 private boolean isEnterKey(int keyCode) { in isEnterKey()
589 private int getSimplifiedKey(int keyCode) { in getSimplifiedKey()
/packages/apps/Dialer/java/com/android/incallui/
DDtmfKeyListener.java75 public boolean backspace(View view, Editable content, int keyCode, KeyEvent event) { in backspace()
86 public boolean onKeyDown(View view, Editable content, int keyCode, KeyEvent event) { in onKeyDown()
127 public boolean onKeyUp(View view, Editable content, int keyCode, KeyEvent event) { in onKeyUp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DEvent.java114 private Event(final int type, final CharSequence text, final int codePoint, final int keyCode, in Event()
142 public static Event createSoftwareKeypressEvent(final int codePoint, final int keyCode, in createSoftwareKeypressEvent()
149 public static Event createHardwareKeypressEvent(final int codePoint, final int keyCode, in createHardwareKeypressEvent()
159 public static Event createDeadEvent(final int codePoint, final int keyCode, final Event next) { in createDeadEvent()
218 public static Event createSoftwareTextEvent(final CharSequence text, final int keyCode) { in createSoftwareTextEvent()
DHardwareKeyboardEventDecoder.java48 final int keyCode = keyEvent.getKeyCode(); in decodeHardwareKey() local
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DKeyboardBot.java58 public void pressKey(int keyCode) { in pressKey()
62 public void pressKey(int keyCode, int metaState) { in pressKey()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DModifierKeysPreferenceController.java209 private static boolean isCtrl(int keyCode) { in isCtrl()
213 private static boolean isMeta(int keyCode) { in isMeta()
217 private static boolean isAlt(int keyCode) { in isAlt()
221 private static boolean isCapLock(int keyCode) { in isCapLock()
/packages/apps/Camera2/src/com/android/camera/
DCameraModule.java48 public abstract boolean onKeyDown(int keyCode, KeyEvent event); in onKeyDown()
51 public abstract boolean onKeyUp(int keyCode, KeyEvent event); in onKeyUp()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DKeyInputHandler.java51 public boolean onKey(@Nullable DocumentItemDetails details, int keyCode, KeyEvent event) { in onKey()
109 public abstract boolean onFocusItem(T details, int keyCode, KeyEvent event); in onFocusItem()
DKeyboardEventListener.java37 public abstract boolean onKey(T details, int keyCode, KeyEvent event); in onKey()
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsTestController.java59 private void assertPressKeyUp(int keyCode, boolean sync) { in assertPressKeyUp()
63 private void assertPressKey(int action, int keyCode, boolean sync) { in assertPressKey()
216 public void pressKeyCode(int keyCode) { in pressKeyCode()
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/service/
DLeanbackImeService.java191 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
200 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
262 private void handleTextEntry(int type, int keyCode, CharSequence c) { in handleTextEntry()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DFocusManager.java115 public boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event) { in handleKey()
252 private int findTargetPosition(View view, int keyCode, KeyEvent event) { in findTargetPosition()
331 private int findPagedTargetPosition(View view, int keyCode, KeyEvent event) { in findPagedTargetPosition()
468 public boolean handleKey(DocumentHolder doc, int keyCode, KeyEvent event) { in handleKey()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DEmojiAltPhysicalKeyDetector.java84 final int keyCode = keyEvent.getKeyCode(); in onKeyUp() local
196 final Integer keyCode = Integer.parseInt(valuePair[0]); in parseHotKeys() local
/packages/apps/Camera2/src/com/android/camera/captureintent/
DCaptureIntentModule.java214 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
229 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowKeyCharacterMap.java38 protected static boolean deviceHasKey(int keyCode) { in deviceHasKey()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DActivityInputHandler.java32 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DVolumeKeyEventsButtonManager.java30 void sendClickEvent(int keyCode) { in sendClickEvent()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMovieActivity.java264 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
270 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/packages/apps/Car/Settings/src/com/android/car/settings/common/rotary/
DNumberPickerNudgeHandler.java38 public boolean onKey(View view, int keyCode, KeyEvent event) { in onKey()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/util/
DInjectKeyEventUtils.java30 int keyCode) { in injectKeyByShell()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java80 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
89 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DKeyboardInterpreter.java37 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/packages/apps/TV/src/com/android/tv/
DSelectInputActivity.java96 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DKeyEvents.java26 public static KeyEvent createTestEvent(int action, int keyCode, int meta) { in createTestEvent()

123456