/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 94 ImmutableList.of(makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER))); in ignoresSetListener_beforeKeyInputSupported() 116 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_single_toListener() 118 assertThat(event.getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_single_toListener() 136 makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER), in dispatchesInputEvent_multiple_toListener() 139 assertThat(events.get(0).getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_multiple_toListener() 149 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER); in handlesRepeatedKeys() 151 assertThat(event.getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in handlesRepeatedKeys() 157 event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER); in handlesRepeatedKeys() 160 assertThat(event.getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in handlesRepeatedKeys() 166 event = dispatchSingleEvent(Key.UP, KeyEvent.KEYCODE_ENTER); in handlesRepeatedKeys() [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/ |
D | CarInputServiceTest.java | 108 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in ordinaryEvents_onMainDisplay_routedToInputManager() 115 send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_notRoutedToInputManager() 125 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener() 134 new InputFilter(KeyEvent.KEYCODE_ENTER, InputHalService.DISPLAY_MAIN), in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 135 new InputFilter(KeyEvent.KEYCODE_ENTER, InputHalService.DISPLAY_INSTRUMENT_CLUSTER), in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 142 event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents() 146 event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in customEventHandler_capturesRegisteredEvents_ignoresUnregisteredEvents()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/password/ |
D | SetupChooseLockPasswordAppTest.java | 99 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsNotShown_when_nothingEntered() 110 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsShown_when_somethingEnteredToConfirm() 113 .perform(pressKey(KeyEvent.KEYCODE_ENTER)) in clearIsShown_when_somethingEnteredToConfirm()
|
D | ConfirmLockPasswordTest.java | 57 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_shouldShowErrorMessage() 67 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_darkTheme_shouldShowErrorMessage()
|
D | ChooseLockPasswordTest.java | 80 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsNotShown_when_nothingEntered() 92 .perform(pressKey(KeyEvent.KEYCODE_ENTER)) in clearIsShown_when_somethingEnteredToConfirm()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/ |
D | HardwareKeyboardEventDecoder.java | 55 || KeyEvent.KEYCODE_ENTER == keyCode) { in decodeHardwareKey() 62 if (KeyEvent.KEYCODE_ENTER == keyCode) { in decodeHardwareKey()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | KeyboardInterpreter.java | 42 case KeyEvent.KEYCODE_ENTER: in onKeyDown() 74 case KeyEvent.KEYCODE_ENTER: in onKeyDown()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | NavigableAppWidgetHostView.java | 60 if (!mChildrenFocused && keyCode == KeyEvent.KEYCODE_ENTER) { in onKeyDown() 70 if (!mChildrenFocused && keyCode == KeyEvent.KEYCODE_ENTER) { in onKeyUp()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/ |
D | DialpadFragment.java | 169 callButton.onKeyDown(KeyEvent.KEYCODE_ENTER, event); in onCreateView() 171 callButton.onKeyUp(KeyEvent.KEYCODE_ENTER, event); in onCreateView()
|
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/ |
D | CarLatinIME.java | 61 private static final int KEYCODE_ENTER = '\n'; field in CarLatinIME 315 case KEYCODE_ENTER:
|
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/ |
D | LeanbackKeyboardController.java | 480 case KeyEvent.KEYCODE_ENTER: in handleKeyDownEvent() 548 case KeyEvent.KEYCODE_ENTER: in handleKeyUpEvent()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SearchActivityView.java | 369 if ( keyCode == KeyEvent.KEYCODE_ENTER in onSuggestionKeyDown() 506 case KeyEvent.KEYCODE_ENTER: in shouldForwardToQueryTextView()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | IntroView.java | 49 case KeyEvent.KEYCODE_ENTER: in dispatchKeyEvent()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | InputHandlers.java | 86 case KeyEvent.KEYCODE_ENTER: in createKeyHandler()
|
D | RenameDocumentFragment.java | 101 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
|
/packages/apps/Terminal/src/com/android/terminal/ |
D | TerminalKeys.java | 90 case KeyEvent.KEYCODE_ENTER: in getKey()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ui/ |
D | AddManualPrinterDialog.java | 196 if (keyCode == KeyEvent.KEYCODE_ENTER && mAddButton.isEnabled()) { in onKey()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | SaveFragment.java | 113 if (keyCode == KeyEvent.KEYCODE_ENTER && mSave.isEnabled()) { in onCreateView()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | CreateDirectoryFragment.java | 105 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
|
D | HorizontalBreadcrumb.java | 133 case KeyEvent.KEYCODE_ENTER: in onKey()
|
D | FocusManager.java | 471 case KeyEvent.KEYCODE_ENTER: in handleKey()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | SeekBarPreference.java | 104 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) {
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | DialpadFragment.java | 104 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) { in onKey()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ActionAdapter.java | 356 case KeyEvent.KEYCODE_ENTER: in onKey()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | PinDialogFragment.java | 513 && keyCode != KeyEvent.KEYCODE_ENTER) {
|