Home
last modified time | relevance | path

Searched refs:KEYCODE_ENTER (Results 1 – 25 of 35) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java94 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/
DCarInputServiceTest.java108 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/
DSetupChooseLockPasswordAppTest.java99 .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()
DConfirmLockPasswordTest.java57 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_shouldShowErrorMessage()
67 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in enterWrongPin_darkTheme_shouldShowErrorMessage()
DChooseLockPasswordTest.java80 .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/
DHardwareKeyboardEventDecoder.java55 || KeyEvent.KEYCODE_ENTER == keyCode) { in decodeHardwareKey()
62 if (KeyEvent.KEYCODE_ENTER == keyCode) { in decodeHardwareKey()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DKeyboardInterpreter.java42 case KeyEvent.KEYCODE_ENTER: in onKeyDown()
74 case KeyEvent.KEYCODE_ENTER: in onKeyDown()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DNavigableAppWidgetHostView.java60 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/
DDialpadFragment.java169 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/
DCarLatinIME.java61 private static final int KEYCODE_ENTER = '\n'; field in CarLatinIME
315 case KEYCODE_ENTER:
/packages/inputmethods/LeanbackIME/src/com/android/inputmethod/leanback/
DLeanbackKeyboardController.java480 case KeyEvent.KEYCODE_ENTER: in handleKeyDownEvent()
548 case KeyEvent.KEYCODE_ENTER: in handleKeyUpEvent()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSearchActivityView.java369 if ( keyCode == KeyEvent.KEYCODE_ENTER in onSuggestionKeyDown()
506 case KeyEvent.KEYCODE_ENTER: in shouldForwardToQueryTextView()
/packages/apps/TV/src/com/android/tv/ui/
DIntroView.java49 case KeyEvent.KEYCODE_ENTER: in dispatchKeyEvent()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DInputHandlers.java86 case KeyEvent.KEYCODE_ENTER: in createKeyHandler()
DRenameDocumentFragment.java101 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
/packages/apps/Terminal/src/com/android/terminal/
DTerminalKeys.java90 case KeyEvent.KEYCODE_ENTER: in getKey()
/packages/services/BuiltInPrintService/src/com/android/bips/ui/
DAddManualPrinterDialog.java196 if (keyCode == KeyEvent.KEYCODE_ENTER && mAddButton.isEnabled()) { in onKey()
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
DSaveFragment.java113 if (keyCode == KeyEvent.KEYCODE_ENTER && mSave.isEnabled()) { in onCreateView()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DCreateDirectoryFragment.java105 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
DHorizontalBreadcrumb.java133 case KeyEvent.KEYCODE_ENTER: in onKey()
DFocusManager.java471 case KeyEvent.KEYCODE_ENTER: in handleKey()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSeekBarPreference.java104 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) {
/packages/apps/Dialer/java/com/android/incallui/
DDialpadFragment.java104 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) { in onKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DActionAdapter.java356 case KeyEvent.KEYCODE_ENTER: in onKey()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java513 && keyCode != KeyEvent.KEYCODE_ENTER) {

12