/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | InputHalServiceTest.java | 104 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/ |
D | CarInputServiceTest.java | 240 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/ |
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 | 88 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/ |
D | CarLatinIME.java | 61 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/ |
D | DialpadFragment.java | 209 callButton.onKeyDown(KeyEvent.KEYCODE_ENTER, event); in onCreateView() 211 callButton.onKeyUp(KeyEvent.KEYCODE_ENTER, event); in onCreateView()
|
D | KeypadFragment.java | 202 case KeyEvent.KEYCODE_ENTER: in isConfirmKey()
|
/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 | 105 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/ |
D | WidgetsSearchBarController.java | 123 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 | HorizontalBreadcrumb.java | 131 case KeyEvent.KEYCODE_ENTER: in onKey()
|
D | CreateDirectoryFragment.java | 103 && event.getKeyCode() == KeyEvent.KEYCODE_ENTER in onCreateDialog()
|
D | FocusManager.java | 471 case KeyEvent.KEYCODE_ENTER: in handleKey()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | SearchView.java | 157 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/ |
D | SearchController.java | 264 result = keyCode == KeyEvent.KEYCODE_ENTER in isEnter()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | DialpadFragment.java | 104 if (keyCode == KeyEvent.KEYCODE_DPAD_CENTER || keyCode == KeyEvent.KEYCODE_ENTER) { in onKey()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/input/ |
D | CarInputManagerTest.java | 276 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/ |
D | KeyboardDragAndDropView.java | 258 if (keyCode == KeyEvent.KEYCODE_ENTER && mCurrentSelection != null) { in onKeyUp()
|