Home
last modified time | relevance | path

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

12345

/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/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
DKeyboardBot.java57 public void pressKey(int keyCode) { in pressKey()
61 public void pressKey(int keyCode, int metaState) { in pressKey()
/packages/apps/Launcher3/src/com/android/launcher3/
DFocusHelper.java36 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey()
46 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey()
56 public boolean onKey(View v, int keyCode, KeyEvent event) { in onKey()
88 public boolean onKey(View v, int keyCode, KeyEvent e) { in onKey()
190 public void handleNoopKey(int keyCode, View v) { in handleNoopKey()
204 static boolean handleHotseatButtonKeyEvent(View v, int keyCode, KeyEvent e) { in handleHotseatButtonKeyEvent()
319 static boolean handleIconKeyEvent(View v, int keyCode, KeyEvent e) { in handleIconKeyEvent()
485 @Thunk static void playSoundEffect(int keyCode, View v) { in playSoundEffect()
/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()
DLeanbackUtils.java37 public static boolean isAlphabet(int keyCode) { in isAlphabet()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DInputTestFragment.java97 public synchronized void count(int keyCode, boolean keyDown) { in count()
298 private Button createButton(@StringRes int textResId, int keyCode) { in createButton()
302 private Button createButton(@StringRes int textResId, int keyCode, int targetDisplay) { in createButton()
310 private void onButtonClick(int keyCode, int targetDisplay) { in onButtonClick()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DCarEmulator.java79 public void injectKey(int keyCode, int action) { in injectKey()
89 public void injectKey(int keyCode) { in injectKey()
/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/src/com/android/documentsui/dirlist/
DKeyboardEventListener.java37 public abstract boolean onKey(T details, int keyCode, KeyEvent event); in onKey()
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()
/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/files/
DActivityInputHandler.java32 boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java59 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
68 public boolean onKeyUp(int keyCode, KeyEvent event) { in onKeyUp()
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DSettingsDialog.java193 public boolean onKeyUp(int keyCode, @NonNull KeyEvent event) { in onKeyUp()
207 private boolean integerSettingHandleKeyCode(int keyCode, KeyEvent event) { in integerSettingHandleKeyCode()
234 private boolean stringSettingHandleKeyCode(int keyCode, KeyEvent event) { in stringSettingHandleKeyCode()
/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/apps/TV/src/com/android/tv/
DSelectInputActivity.java96 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/DocumentsUI/tests/common/com/android/documentsui/testing/
DKeyEvents.java26 public static KeyEvent createTestEvent(int action, int keyCode, int meta) { in createTestEvent()
/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/services/Telephony/src/com/android/phone/
DIccPanel.java86 public boolean onKeyDown(int keyCode, KeyEvent event) { in onKeyDown()
/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/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/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()

12345