/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 102 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/ |
D | CarInputServiceTest.java | 246 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/ |
D | SetupChooseLockPasswordAppTest.java | 100 .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/ |
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 | 82 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/ |
D | CarLatinIME.java | 61 private static final int KEYCODE_ENTER = '\n'; field in CarLatinIME 315 case KEYCODE_ENTER:
|
/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 | 105 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
|
/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/Launcher3/src/com/android/launcher3/widget/picker/search/ |
D | WidgetsSearchBarController.java | 118 if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) { in onKey()
|
/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 | 103 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
|
D | HorizontalBreadcrumb.java | 131 case KeyEvent.KEYCODE_ENTER: in onKey()
|
D | FocusManager.java | 471 case KeyEvent.KEYCODE_ENTER: in handleKey()
|
/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/Launcher3/src/com/android/launcher3/keyboard/ |
D | KeyboardDragAndDropView.java | 258 if (keyCode == KeyEvent.KEYCODE_ENTER && mCurrentSelection != null) { in onKeyUp()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CarInputManagerTest.java | 291 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/ |
D | ActionAdapter.java | 356 case KeyEvent.KEYCODE_ENTER: in onKey()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | PinDialogFragment.java | 572 && keyCode != KeyEvent.KEYCODE_ENTER) {
|
/packages/apps/Browser2/src/org/chromium/webview_shell/ |
D | WebViewBrowserActivity.java | 236 if (keyCode == KeyEvent.KEYCODE_ENTER && event.getAction() == KeyEvent.ACTION_UP) { in onCreate()
|
/packages/services/Telephony/src/com/android/phone/ |
D | PhoneUtils.java | 487 case KeyEvent.KEYCODE_ENTER: in displayMMIComplete()
|