Home
last modified time | relevance | path

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

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DInputHalServiceTest.java104 ImmutableList.of(makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER, anyDisplay))); in ignoresSetListener_beforeKeyInputSupported()
170 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN, in dispatchesInputEvent_single_toListener_mainDisplay()
173 assertThat(event.getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_single_toListener_mainDisplay()
180 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, in dispatchesInputEvent_single_toListener_clusterDisplay()
184 assertThat(event.getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_single_toListener_clusterDisplay()
202 makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN), in dispatchesInputEvent_multiple_toListener_mainDisplay()
205 assertThat(events.get(0).getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_multiple_toListener_mainDisplay()
227 makeKeyPropValue(Key.DOWN, KeyEvent.KEYCODE_ENTER, in dispatchesInputEvent_multiple_toListener_clusterDisplay()
232 assertThat(events.get(0).getKeyCode()).isEqualTo(KeyEvent.KEYCODE_ENTER); in dispatchesInputEvent_multiple_toListener_clusterDisplay()
242 KeyEvent event = dispatchSingleEvent(Key.DOWN, KeyEvent.KEYCODE_ENTER, VehicleDisplay.MAIN, in handlesRepeatedKeys_anyDisplay()
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarInputServiceTest.java240 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in ordinaryEvents_onMainDisplay_routedToInputManager()
247 send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_notRoutedToInputManager()
257 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in ordinaryEvents_onInstrumentClusterDisplay_routedToListener()
269 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_capturedByInputController()
283 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.MAIN); in customEventHandler_capturesDisplayMainEvent_missedByInputController()
297 KeyEvent event = send(Key.DOWN, KeyEvent.KEYCODE_ENTER, Display.INSTRUMENT_CLUSTER); in customEventHandler_capturesClusterEvents_capturedByInstrumentCluster()
666 /* eventTime= */ currentTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER, in injectKeyEvent_throwsSecurityExceptionWithoutInjectEventsPermission()
679 /* eventTime= */ currentTime, KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER, in injectKeyEvent_delegatesToOnKeyEvent()
693 /* 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.java88 if (!mChildrenFocused && keyCode == KeyEvent.KEYCODE_ENTER) { in onKeyDown()
98 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/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadFragment.java209 callButton.onKeyDown(KeyEvent.KEYCODE_ENTER, event); in onCreateView()
211 callButton.onKeyUp(KeyEvent.KEYCODE_ENTER, event); in onCreateView()
DKeypadFragment.java202 case KeyEvent.KEYCODE_ENTER: in isConfirmKey()
/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.java105 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBarController.java123 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/
DHorizontalBreadcrumb.java131 case KeyEvent.KEYCODE_ENTER: in onKey()
DCreateDirectoryFragment.java103 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
DFocusManager.java471 case KeyEvent.KEYCODE_ENTER: in handleKey()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DSearchView.java157 result = keyCode == KeyEvent.KEYCODE_ENTER in isEnter()
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DSearchController.java264 result = keyCode == KeyEvent.KEYCODE_ENTER in isEnter()
/packages/apps/Dialer/java/com/android/incallui/
DDialpadFragment.java104 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) { in onKey()
/packages/services/Car/tests/carservice_test/src/com/android/car/input/
DCarInputManagerTest.java276 KeyEvent keyEvent = newKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testInjectKeyEvent_mainDisplay()
294 KeyEvent keyEvent = newKeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER); in testInjectKeyEvent_instrumentClusterDisplay()
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DKeyboardDragAndDropView.java258 if (keyCode == KeyEvent.KEYCODE_ENTER && mCurrentSelection != null) { in onKeyUp()

12