Home
last modified time | relevance | path

Searched refs:sendKey (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/widget/
DDatePickerFocusTest.java65 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/
DGuidedStepFragmentTest.java102 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 …]
DGuidedStepSupportFragmentTest.java99 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 …]
DGuidedStepSupportFragmentTestBase.java104 public static void sendKey(int keyCode) { in sendKey() method in GuidedStepSupportFragmentTestBase
DGuidedStepFragmentTestBase.java107 public static void sendKey(int keyCode) { in sendKey() method in GuidedStepFragmentTestBase
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/wizard/
DGuidedStepAttributesTest.java71 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 …]
DGuidedDatePickerTest.java87 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/
DInteractionController.java541 public boolean sendKey(int keyCode, int metaState) {
623 sendKey(KeyEvent.KEYCODE_POWER, 0);
637 this.sendKey(KeyEvent.KEYCODE_POWER, 0);
DUiDevice.java318 return getAutomatorBridge().getInteractionController().sendKey(keyCode, 0); in pressKeyCode()
333 return getAutomatorBridge().getInteractionController().sendKey(keyCode, metaState); in pressKeyCode()
DUiObject.java641 getInteractionController().sendKey(KeyEvent.KEYCODE_DEL, 0); in clearTextField()
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/
DGridWidgetTest.java118 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 …]