/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListOfShortShortTallShortShortTest.java | 58 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 …]
|
D | ListOfItemsShorterThanScreenTest.java | 61 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()
|
D | ListItemFocusablesCloseTest.java | 70 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()
|
D | ListOfItemsTallerThanScreenTest.java | 72 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()
|
D | ListWithOffScreenNextSelectableTest.java | 67 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()
|
D | ListItemsExpandOnSelectionTest.java | 60 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()
|
D | ListInterleaveFocusablesTest.java | 54 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()
|
D | ListWithScreenOfNoSelectablesTest.java | 62 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()
|
D | ListWithSeparatorsTest.java | 54 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()
|
D | ListWithFirstScreenUnSelectableTest.java | 52 sendKeys(KeyEvent.KEYCODE_SPACE); in testRessurectSelection() 57 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollUpDoesNothing() 64 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollDownPansNextItemOn()
|
D | ListOfShortTallShortTest.java | 49 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoDownFromShortToTall() 62 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testGoUpFromShortToTall() 74 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testGoUpFromShortToTall()
|
D | ListLastItemPartiallyVisibleTest.java | 59 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/ |
D | ListOfButtonsTest.java | 72 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 …]
|
D | FocusAfterRemovalTest.java | 76 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()
|
D | FocusChangeWithInterestingRectHintTest.java | 78 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()
|
D | ScrollingThroughListOfFocusablesTest.java | 89 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/ |
D | AutoCompleteTextViewPopup.java | 53 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 …]
|
D | AutoCompleteTextViewCallbacks.java | 45 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/ |
D | VisibilityTest.java | 77 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/ |
D | AdjacentListsWithAdjacentISVsInsideTest.java | 65 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal() 68 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal() 73 sendKeys(KeyEvent.KEYCODE_DPAD_LEFT); in testFocusedRectAndFocusHintWorkWithinListItemHorizontal() 81 … sendKeys(KeyEvent.KEYCODE_DPAD_DOWN, KeyEvent.KEYCODE_DPAD_DOWN, KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusTransfersOutsideOfListWhenNoCandidateInsideHorizontal() 87 sendKeys(KeyEvent.KEYCODE_DPAD_RIGHT); in testFocusTransfersOutsideOfListWhenNoCandidateInsideHorizontal()
|
D | ListWithEditTextHeaderTest.java | 64 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus() 79 sendKeys(KeyEvent.KEYCODE_DPAD_DOWN); in testScrollingDoesNotDetachHeaderViewFromWindow() 82 sendKeys(KeyEvent.KEYCODE_DPAD_UP); in testScrollingDoesNotDetachHeaderViewFromWindow()
|
D | ListButtonsDiagonalAcrossItemsTest.java | 84 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/ |
D | TallTextAboveButtonTest.java | 56 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/ |
D | ScrollViewButtonsAndLabelsTest.java | 74 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()
|
D | RequestRectangleVisibleTest.java | 105 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()
|