Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
DListOfShortShortTallShortShortTest.java58 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut()
59 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut()
62 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeTopTwoItemsOut()
77 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
78 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
81 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
85 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFadeInTwoBottomItems()
100 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems()
101 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems()
104 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testFadeOutBottomTwoItems()
[all …]
DListOfItemsShorterThanScreenTest.java61 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToOnScreenNextItem()
72 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToOnScreenItem()
73 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToOnScreenItem()
87 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToItemRequiringScrolling()
114 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToItemRequiringScrolling()
117 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToItemRequiringScrolling()
128 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testPressUpWhenAlreadyAtTop()
137 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPressDownWhenAlreadyAtBottom()
141 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPressDownWhenAlreadyAtBottom()
149 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNoVerticalFadingEdgeWhenMovingToBottom()
DListItemFocusablesCloseTest.java70 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testChangeFocusWithinItem()
79 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testChangeFocusWithinItem()
90 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToButtonInDifferentSelection()
91 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveDownToButtonInDifferentSelection()
104 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToButtonInDifferentSelection()
105 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveUpToButtonInDifferentSelection()
110 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveUpToButtonInDifferentSelection()
DListOfItemsTallerThanScreenTest.java72 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownAcrossItem()
90 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToNextItem()
96 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToNextItem()
116 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollFirstItemOffScreen()
137 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem()
148 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem()
151 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownToLastItem()
168 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollUpAcrossFirstItem()
172 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollUpAcrossFirstItem()
DListWithOffScreenNextSelectableTest.java67 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoDownToOffScreenSelectable()
73 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoDownToOffScreenSelectable()
86 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoUpToOffScreenSelectable()
87 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoUpToOffScreenSelectable()
94 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoUpToOffScreenSelectable()
100 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoUpToOffScreenSelectable()
DListItemsExpandOnSelectionTest.java60 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionDownNotRequiringScroll()
70 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionUpNotRequiringScroll()
75 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveSelectionUpNotRequiringScroll()
89 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionDownRequiringScroll()
107 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMoveSelectionUpRequiringScroll()
112 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMoveSelectionUpRequiringScroll()
DListInterleaveFocusablesTest.java54 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingFromUnFocusableSelectedToFocusable()
66 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingDownFromUnFocusableSelectedToFocusableWithOtherFocusableAbove()
75 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpFromUnFocusableSelectedToFocusableWithOtherFocusableAbove()
87 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingDownFromFocusableToUnfocusableWhenFocusableIsBelow()
96 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpFromFocusableToUnfocusableWhenFocusableIsBelow()
DListWithScreenOfNoSelectablesTest.java62 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoFromSelectedViewExistsToNoSelectedViewExists()
75 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testPanDownAcrossUnselectableChildrenToBottom()
87 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoFromNoSelectionToSelectionExists()
95 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoFromNoSelectionToSelectionExists()
101 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoFromNoSelectionToSelectionExists()
DListWithSeparatorsTest.java54 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpDoesnNotHitUnselectableItem()
64 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingDownSkipsOverUnselectable()
72 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingUpSkippingOverUnselectable()
73 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoingUpSkippingOverUnselectable()
DListWithFirstScreenUnSelectableTest.java52 sendKeys(KeyEvent.KEYCODE_SPACE); in testRessurectSelection()
57 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollUpDoesNothing()
64 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownPansNextItemOn()
DListOfShortTallShortTest.java49 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoDownFromShortToTall()
62 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoUpFromShortToTall()
74 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoUpFromShortToTall()
DListLastItemPartiallyVisibleTest.java59 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMovingDownToFullyVisibleNoScroll()
69 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testMovingUpToFullyVisibleNoScroll()
76 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testMovingUpToFullyVisibleNoScroll()
/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.java78 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testSnakeBackAndForth()
83 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testSnakeBackAndForth()
89 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testSnakeBackAndForth()
96 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth()
101 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testSnakeBackAndForth()
106 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testSnakeBackAndForth()
DScrollingThroughListOfFocusablesTest.java89 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollingDownInFirstItem()
122 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollingToSecondItem()
137 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNoFadingEdgeAtBottomOfLastItem()
162 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testNavigatingUpThroughInternalSelection()
185 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testNavigatingUpThroughInternalSelection()
235 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.java45 sendKeys("A"); in testPopupNoSelection()
70 sendKeys("A"); in testPopupEnterSelection()
79 sendKeys("DPAD_DOWN"); in testPopupEnterSelection()
97 sendKeys("DPAD_DOWN"); in testPopupEnterSelection()
119 sendKeys("A"); in testPopupLeaveSelection()
123 sendKeys("DPAD_DOWN"); in testPopupLeaveSelection()
133 sendKeys("DPAD_UP"); in testPopupLeaveSelection()
/frameworks/base/core/tests/coretests/src/android/view/
DVisibilityTest.java77 sendKeys("DPAD_CENTER"); in testVisibleToInvisible()
91 sendKeys("DPAD_CENTER"); in testVisibleToGone()
105 sendKeys("DPAD_CENTER"); in testGoneToVisible()
111 sendKeys("2*DPAD_LEFT DPAD_CENTER"); in testGoneToVisible()
125 sendKeys("DPAD_CENTER"); in testGoneToInvisible()
131 sendKeys(KEYCODE_DPAD_LEFT, KEYCODE_DPAD_CENTER); in testGoneToInvisible()
145 sendKeys("DPAD_CENTER"); in testInvisibleToVisible()
151 sendKeys("DPAD_LEFT DPAD_CENTER"); in testInvisibleToVisible()
165 sendKeys("DPAD_CENTER"); in testInvisibleToGone()
171 sendKeys("DPAD_RIGHT DPAD_CENTER"); in testInvisibleToGone()
/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()
DListWithEditTextHeaderTest.java64 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus()
79 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollingDoesNotDetachHeaderViewFromWindow()
82 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollingDoesNotDetachHeaderViewFromWindow()
DListButtonsDiagonalAcrossItemsTest.java84 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testGoingRightDoesNotChangeSelection()
94 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoingLeftDoesNotChangeSelection()
98 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testGoingLeftDoesNotChangeSelection()
/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.java74 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testArrowScrollDownOffScreenVerticalFadingEdge()
110 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testArrowScrollDownToBottomElementOnScreen()
132 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testArrowScrollUpOffScreenVerticalFadingEdge()
152 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testArrowScrollUpToTopElementOnScreen()
172 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()

12