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.java102 mInputHalService.onHalEvents(List.of(makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER, in ignoresSetListener_beforeKeyInputSupported()
176 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN, in dispatchesInputEvent_single_toListener_mainDisplay()
179 assertThat(event.getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_single_toListener_mainDisplay()
186 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, in dispatchesInputEvent_single_toListener_clusterDisplay()
190 assertThat(event.getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_single_toListener_clusterDisplay()
208 makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN), in dispatchesInputEvent_multiple_toListener_mainDisplay()
211 assertThat(events.get(0).getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_multiple_toListener_mainDisplay()
233 makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER, in dispatchesInputEvent_multiple_toListener_clusterDisplay()
238 assertThat(events.get(0).getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_multiple_toListener_clusterDisplay()
260 new int[]{VehicleHwKeyInputAction.ACTION_DOWN, KeyEvent.KEYCODE_ENTER}); in dispatchesInputEvent_invalidInputEvent()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java246 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in ordinaryEvents_onMainDisplay_routedToInputManager()
253 send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_notRoutedToInputManager()
263 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener()
275 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_capturedByInputController()
289 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_missedByInputController()
303 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in customEventHandler_capturesClusterEvents_capturedByInstrumentCluster()
716 /* eventTime= */ currentTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER, in injectKeyEvent_throwsSecurityExceptionWithoutInjectEventsPermission()
729 /* eventTime= */ currentTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER, in injectKeyEvent_delegatesToOnKeyEvent()
743 /* eventTime= */ currentTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER, in injectKeyEvent_sendingKeyEventWithDefaultDisplayAgainstClusterDisplayType()
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/password/
DSetupChooseLockPasswordAppTest.java100 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsNotShown_when_nothingEntered()
111 .perform(pressKey(KeyEvent.KEYCODE_ENTER)); in clearIsShown_when_somethingEnteredToConfirm()
114 .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.java82 if (!mChildrenFocused && keyCode == KeyEvent.KEYCODE_ENTER) { in onKeyDown()
92 if (!mChildrenFocused && keyCode == KeyEvent.KEYCODE_ENTER) { in onKeyUp()
/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/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.java105 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
/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/Launcher3/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBarController.java118 if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) { in onKey()
/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.java103 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
DHorizontalBreadcrumb.java131 case KeyEvent.KEYCODE_ENTER: in onKey()
DFocusManager.java471 case KeyEvent.KEYCODE_ENTER: in handleKey()
/packages/apps/Dialer/java/com/android/incallui/
DDialpadFragment.java104 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) { in onKey()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DKeyboardDragAndDropView.java258 if (keyCode == KeyEvent.KEYCODE_ENTER && mCurrentSelection != null) { in onKeyUp()
/packages/services/Car/tests/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java291 KeyEvent keyEvent = newKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testInjectKeyEvent_mainDisplay()
309 KeyEvent keyEvent = newKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testInjectKeyEvent_instrumentClusterDisplay()
/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.java572 && keyCode != KeyEvent.KEYCODE_ENTER) {
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java236 if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) { in onCreate()
/packages/services/Telephony/src/com/android/phone/
DPhoneUtils.java487 case KeyEvent.KEYCODE_ENTER: in displayMMIComplete()

12