/frameworks/base/core/tests/coretests/src/android/widget/ |
D | DatePickerFocusTest.java | 65 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel() 67 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel() 69 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel() 71 sendKey(KeyEvent.KEYCODE_TAB); in testFocusTravel() 83 private void sendKey(int keycode) { in sendKey() method in DatePickerFocusTest 131 sendKey(KeyEvent.KEYCODE_ENTER); in testYearChoice() 140 sendKey(KeyEvent.KEYCODE_DPAD_UP); in testYearChoice() 141 sendKey(KeyEvent.KEYCODE_ENTER); in testYearChoice() 165 sendKey(KeyEvent.KEYCODE_TAB); in testArrowThroughDays() 167 sendKey(KeyEvent.KEYCODE_ENTER); in testArrowThroughDays() [all …]
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | GuidedStepFragmentTest.java | 102 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in nextAndBack() 119 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack() 133 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack() 175 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in restoreFragments() 193 sendKey(KeyEvent.KEYCODE_BACK); in restoreFragments() 237 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in finishGuidedStepFragment_finishes_activity() 272 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in finishGuidedStepFragment_finishes_fragments() 333 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in subActions() 337 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in subActions() 345 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in subActions() [all …]
|
D | GuidedStepSupportFragmentTest.java | 99 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in nextAndBack() 116 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack() 130 sendKey(KeyEvent.KEYCODE_BACK); in nextAndBack() 172 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in restoreFragments() 190 sendKey(KeyEvent.KEYCODE_BACK); in restoreFragments() 234 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in finishGuidedStepSupportFragment_finishes_activity() 269 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in finishGuidedStepSupportFragment_finishes_fragments() 330 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in subActions() 334 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in subActions() 342 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in subActions() [all …]
|
D | GuidedStepSupportFragmentTestBase.java | 104 public static void sendKey(int keyCode) { in sendKey() method in GuidedStepSupportFragmentTestBase
|
D | GuidedStepFragmentTestBase.java | 107 public static void sendKey(int keyCode) { in sendKey() method in GuidedStepFragmentTestBase
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/ |
D | GuidedStepAttributesTest.java | 71 public static void sendKey(int keyCode) { in sendKey() method in GuidedStepAttributesTest 131 sendKey(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusDisabledOnActions() 144 sendKey(KeyEvent.KEYCODE_DPAD_UP); in testFocusDisabledOnActions() 337 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in testToggleEnabledFlags() 364 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in examineEnabledAndDisabledActions() 522 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in examineCheckedAndUncheckedActions() 540 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in examineCheckedAndUncheckedActions() 648 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in traverseSubActionsAndVerifyFocusAndClickEvents() 662 sendKey(KeyEvent.KEYCODE_DPAD_DOWN); in traverseSubActionsAndVerifyFocusAndClickEvents() 670 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in traverseSubActionsAndVerifyFocusAndClickEvents() [all …]
|
D | GuidedDatePickerTest.java | 87 public static void sendKey(int keyCode) { in sendKey() method in GuidedDatePickerTest 117 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in horizontalScrollToDateField() 145 sendKey(horizontalScrollDir); in horizontalScrollToDateField() 201 sendKey(scrollDir); in verticalScrollToFieldValue() 616 sendKey(KeyEvent.KEYCODE_DPAD_CENTER); in traverseMonths() 626 sendKey(KeyEvent.KEYCODE_DPAD_DOWN); in traverseMonths() 634 sendKey(KeyEvent.KEYCODE_DPAD_RIGHT); in traverseMonths() 637 sendKey(KeyEvent.KEYCODE_DPAD_DOWN); in traverseMonths() 645 sendKey(KeyEvent.KEYCODE_DPAD_LEFT); in traverseMonths() 890 sendKey(verticalScrollDir); in scrollToMinAndMaxDates() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | InteractionController.java | 541 public boolean sendKey(int keyCode, int metaState) { 623 sendKey(KeyEvent.KEYCODE_POWER, 0); 637 this.sendKey(KeyEvent.KEYCODE_POWER, 0);
|
D | UiDevice.java | 318 return getAutomatorBridge().getInteractionController().sendKey(keyCode, 0); in pressKeyCode() 333 return getAutomatorBridge().getInteractionController().sendKey(keyCode, metaState); in pressKeyCode()
|
D | UiObject.java | 641 getInteractionController().sendKey(KeyEvent.KEYCODE_DEL, 0); in clearTextField()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
D | GridWidgetTest.java | 118 public static void sendKey(int keyCode) { in sendKey() method in GridWidgetTest 2496 sendKey(KeyEvent.KEYCODE_DPAD_DOWN); in testPendingSmoothScrollAndRemove() 2594 sendKey(KeyEvent.KEYCODE_DPAD_LEFT); in testNonFocusableHorizontal() 2596 sendKey(KeyEvent.KEYCODE_DPAD_RIGHT); in testNonFocusableHorizontal() 2602 sendKey(KeyEvent.KEYCODE_DPAD_RIGHT); in testNonFocusableHorizontal() 2604 sendKey(KeyEvent.KEYCODE_DPAD_LEFT); in testNonFocusableHorizontal() 2635 sendKey(KeyEvent.KEYCODE_DPAD_LEFT); in testNoInitialFocusable() 2637 sendKey(KeyEvent.KEYCODE_DPAD_RIGHT); in testNoInitialFocusable() 2671 sendKey(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusOutOfEmptyListView() 2840 sendKey(KeyEvent.KEYCODE_DPAD_DOWN); in testNonFocusableVertical() [all …]
|