Home
last modified time | relevance | path

Searched refs:sendKeys (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfShortShortTallShortShortTest.java57 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut()
58 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut()
61 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut()
76 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
77 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
80 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
84 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
99 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems()
100 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems()
103 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems()
[all …]
DListOfItemsShorterThanScreenTest.java60 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToOnScreenNextItem()
71 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToOnScreenItem()
72 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToOnScreenItem()
86 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToItemRequiringScrolling()
113 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToItemRequiringScrolling()
116 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToItemRequiringScrolling()
127 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testPressUpWhenAlreadyAtTop()
136 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPressDownWhenAlreadyAtBottom()
140 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPressDownWhenAlreadyAtBottom()
148 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNoVerticalFadingEdgeWhenMovingToBottom()
DListOfItemsTallerThanScreenTest.java71 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownAcrossItem()
89 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToNextItem()
95 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToNextItem()
115 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollFirstItemOffScreen()
136 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem()
147 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem()
150 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem()
167 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollUpAcrossFirstItem()
171 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollUpAcrossFirstItem()
DListItemFocusablesCloseTest.java69 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testChangeFocusWithinItem()
78 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testChangeFocusWithinItem()
89 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToButtonInDifferentSelection()
90 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToButtonInDifferentSelection()
103 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToButtonInDifferentSelection()
104 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToButtonInDifferentSelection()
109 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToButtonInDifferentSelection()
DListItemsExpandOnSelectionTest.java59 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionDownNotRequiringScroll()
69 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionUpNotRequiringScroll()
74 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveSelectionUpNotRequiringScroll()
88 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionDownRequiringScroll()
106 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionUpRequiringScroll()
111 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveSelectionUpRequiringScroll()
DListWithOffScreenNextSelectableTest.java66 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoDownToOffScreenSelectable()
72 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoDownToOffScreenSelectable()
85 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoUpToOffScreenSelectable()
86 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoUpToOffScreenSelectable()
93 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoUpToOffScreenSelectable()
99 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoUpToOffScreenSelectable()
DListInterleaveFocusablesTest.java53 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingFromUnFocusableSelectedToFocusable()
65 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingDownFromUnFocusableSelectedToFocusableWithOtherFocusableAbove()
74 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpFromUnFocusableSelectedToFocusableWithOtherFocusableAbove()
86 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingDownFromFocusableToUnfocusableWhenFocusableIsBelow()
95 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpFromFocusableToUnfocusableWhenFocusableIsBelow()
DListWithScreenOfNoSelectablesTest.java61 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoFromSelectedViewExistsToNoSelectedViewExists()
74 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPanDownAcrossUnselectableChildrenToBottom()
86 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoFromNoSelectionToSelectionExists()
94 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoFromNoSelectionToSelectionExists()
100 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoFromNoSelectionToSelectionExists()
DListWithSeparatorsTest.java53 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpDoesnNotHitUnselectableItem()
63 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingDownSkipsOverUnselectable()
71 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingUpSkippingOverUnselectable()
72 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpSkippingOverUnselectable()
DListWithFirstScreenUnSelectableTest.java49 sendKeys(KeyEvent.KEYCODE_SPACE); in testRessurectSelection()
54 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollUpDoesNothing()
61 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownPansNextItemOn()
DListOfShortTallShortTest.java48 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoDownFromShortToTall()
61 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoUpFromShortToTall()
73 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoUpFromShortToTall()
DListLastItemPartiallyVisibleTest.java58 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMovingDownToFullyVisibleNoScroll()
68 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMovingUpToFullyVisibleNoScroll()
75 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMovingUpToFullyVisibleNoScroll()
/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java73 sendKeys("DPAD_RIGHT"); in testVisibleToInvisible()
78 sendKeys("DPAD_CENTER"); in testVisibleToInvisible()
93 sendKeys("DPAD_CENTER"); in testVisibleToGone()
102 sendKeys("2*DPAD_RIGHT"); in testGoneToVisible()
107 sendKeys("DPAD_CENTER"); in testGoneToVisible()
113 sendKeys("2*DPAD_LEFT DPAD_CENTER"); in testGoneToVisible()
122 sendKeys("2*DPAD_RIGHT"); in testGoneToInvisible()
127 sendKeys("DPAD_CENTER"); in testGoneToInvisible()
133 sendKeys(KEYCODE_DPAD_LEFT, KEYCODE_DPAD_CENTER); in testGoneToInvisible()
142 sendKeys("DPAD_RIGHT"); in testInvisibleToVisible()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DListOfButtonsTest.java72 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testNavigateToButtonAbove()
80 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNavigateToSecondItem()
92 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testNavigateUpAboveAndBackOut()
93 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNavigateUpAboveAndBackOut()
106 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in TODO_testNavigateThroughAllButtonsAndBack()
120 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in TODO_testNavigateThroughAllButtonsAndBack()
135 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in TODO_testNavigateThroughAllButtonsAndBack()
147 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoInAndOutOfListWithItemsFocusable()
151 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoInAndOutOfListWithItemsFocusable()
159 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoInAndOutOfListWithItemsFocusable()
[all …]
DFocusAfterRemovalTest.java76 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenParentLayoutIsGone()
88 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusLeavesWhenParentLayoutInvisible()
92 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenParentLayoutInvisible()
104 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusLeavesWhenFocusedViewBecomesGone()
108 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenFocusedViewBecomesGone()
119 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusLeavesWhenFocusedViewBecomesInvisible()
120 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusLeavesWhenFocusedViewBecomesInvisible()
124 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testFocusLeavesWhenFocusedViewBecomesInvisible()
DFocusChangeWithInterestingRectHintTest.java79 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testSnakeBackAndForth()
84 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testSnakeBackAndForth()
90 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testSnakeBackAndForth()
97 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth()
102 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth()
107 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testSnakeBackAndForth()
DScrollingThroughListOfFocusablesTest.java85 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollingDownInFirstItem()
118 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollingToSecondItem()
133 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNoFadingEdgeAtBottomOfLastItem()
158 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNavigatingUpThroughInternalSelection()
181 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testNavigatingUpThroughInternalSelection()
231 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in ensureNotInTouchMode()
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java53 sendKeys("A"); in testPopupSetListSelection()
68 sendKeys("DPAD_DOWN"); in testPopupSetListSelection()
85 sendKeys("A"); in testPopupGetListSelection()
91 sendKeys("DPAD_DOWN"); in testPopupGetListSelection()
95 sendKeys("DPAD_DOWN"); in testPopupGetListSelection()
112 sendKeys("A"); in testPopupClearListSelection()
118 sendKeys("DPAD_DOWN"); in testPopupClearListSelection()
145 sendKeys("A"); in testPopupNavigateNoAdapter()
151 sendKeys("DPAD_DOWN"); in testPopupNavigateNoAdapter()
163 sendKeys("DPAD_DOWN"); in testPopupNavigateNoAdapter()
[all …]
DAutoCompleteTextViewCallbacks.java44 sendKeys("A"); in testPopupNoSelection()
69 sendKeys("A"); in testPopupEnterSelection()
78 sendKeys("DPAD_DOWN"); in testPopupEnterSelection()
96 sendKeys("DPAD_DOWN"); in testPopupEnterSelection()
118 sendKeys("A"); in testPopupLeaveSelection()
122 sendKeys("DPAD_DOWN"); in testPopupLeaveSelection()
132 sendKeys("DPAD_UP"); in testPopupLeaveSelection()
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/
DAdjacentListsWithAdjacentISVsInsideTest.java65 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal()
68 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal()
73 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal()
81sendKeys(KeyEvent.KEYCODE_DPAD_DOWN, KeyEvent.KEYCODE_DPAD_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusTransfersOutsideOfListWhenNoCandidateInsideHorizontal()
87 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusTransfersOutsideOfListWhenNoCandidateInsideHorizontal()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/
DTallTextAboveButtonTest.java56 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGainFocusAsScrolledOntoScreen()
63 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGainFocusAsScrolledOntoScreen()
70 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollingButtonOffScreenLosesFocus()
72 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollingButtonOffScreenLosesFocus()
/frameworks/base/core/tests/coretests/src/android/widget/scroll/
DScrollViewButtonsAndLabelsTest.java73 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testArrowScrollDownOffScreenVerticalFadingEdge()
109 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testArrowScrollDownToBottomElementOnScreen()
131 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testArrowScrollUpOffScreenVerticalFadingEdge()
151 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testArrowScrollUpToTopElementOnScreen()
171 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in goToBottomButton()
DRequestRectangleVisibleTest.java105 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testScrollToOffScreenRectangleFromTop()
127 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testScrollToPartiallyOffScreenRectFromTop()
146 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testScrollToOffScreenRectangleFromBottom()
164 sendKeys(KeyEvent.KEYCODE_DPAD_CENTER); in testScrollToPartiallyOffScreenRectFromBottom()
185 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in pressDownUntilViewInFocus()
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/
DBrowseFragmentTest.java101 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testTwoBackKeysWithBackStack()
104 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithBackStack()
114 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testTwoBackKeysWithoutBackStack()
117 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithoutBackStack()
DBrowseSupportFragmentTest.java103 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testTwoBackKeysWithBackStack()
106 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithBackStack()
116 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testTwoBackKeysWithoutBackStack()
119 sendKeys(KeyEvent.KEYCODE_BACK, KeyEvent.KEYCODE_BACK); in testTwoBackKeysWithoutBackStack()

123