/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingStackFromBottomTest.java | 62 View firstChild = mGridView.getChildAt(0); in testNoScroll() 63 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() 70 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() 80 View firstChild = mGridView.getChildAt(0); in testShortScroll() 82 firstChild = mGridView.getChildAt(1); in testShortScroll() 85 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() 92 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() 102 View firstChild = mGridView.getChildAt(0); in testLongScroll() 104 firstChild = mGridView.getChildAt(1); in testLongScroll() 133 firstChild = mGridView.getChildAt(0); in testManyScrolls() [all …]
|
D | GridTouchVerticalSpacingTest.java | 56 View firstChild = mGridView.getChildAt(0); in testNoScroll() 57 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() 64 View newFirstChild = mGridView.getChildAt(0); in testNoScroll() 73 View firstChild = mGridView.getChildAt(0); in testShortScroll() 74 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() 81 View newFirstChild = mGridView.getChildAt(0); in testShortScroll() 90 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testLongScroll() 117 firstChild = mGridView.getChildAt(0); in testManyScrolls() 123 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testManyScrolls() 136 firstChild = mGridView.getChildAt(0); in testManyScrolls() [all …]
|
D | GridTouchStackFromBottomTest.java | 60 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPushUp() 77 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPullDown() 88 TouchUtils.dragViewToTop(this, mGridView.getChildAt(mGridView.getChildCount() - 1), 2); in testPushUpFast() 94 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPushUpFast() 105 TouchUtils.dragViewToBottom(this, mGridView.getChildAt(0), 2); in testPullDownFast() 111 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPullDownFast()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListItemFocusablesFarApartTest.java | 51 return ((ViewGroup) mListView.getChildAt(listIndex)).getChildAt(index); in getChildOfItem() 56 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); in getTopOfChildOfItem() 57 View child = listItem.getChildAt(index); in getTopOfChildOfItem() 62 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); in getBottomOfChildOfItem() 63 View child = listItem.getChildAt(index); in getBottomOfChildOfItem() 82 int expectedTop = mListView.getChildAt(0).getTop(); in testPanWhenNextFocusableTooFarDown() 95 "item should have focus", mListView.getChildAt(0).hasFocus()); in testPanWhenNextFocusableTooFarDown() 103 expectedTop, mListView.getChildAt(0).getTop()); in testPanWhenNextFocusableTooFarDown()
|
D | ListOfShortShortTallShortShortTest.java | 45 … int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight(); in testPreconditions() 84 assertEquals("new view position", 3, mListView.getChildAt(1).getId()); in testFadeInTwoBottomItems() 85 assertEquals("new view position", 4, mListView.getChildAt(2).getId()); in testFadeInTwoBottomItems() 88 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom()); in testFadeInTwoBottomItems() 128 assertEquals("new view position", 0, mListView.getChildAt(0).getId()); in testFadeInTopTwoItems() 129 assertEquals("new view position", 1, mListView.getChildAt(1).getId()); in testFadeInTopTwoItems() 132 mListView.getChildAt(0).getTop() <= mListUtil.getListTop()); in testFadeInTopTwoItems()
|
D | ListOfShortTallShortTest.java | 42 mListView.getChildAt(1).getHeight() > mListView.getHeight()); in testPreconditions() 47 int topBeforeMove = mListView.getChildAt(1).getTop(); in testGoDownFromShortToTall() 70 mListView.getChildAt(1), mListView.getSelectedView()); in testGoUpFromShortToTall() 72 final int bottomBeforeMove = mListView.getChildAt(0).getBottom(); in testGoUpFromShortToTall() 78 mListView.getChildAt(0).getBottom()); in testGoUpFromShortToTall()
|
D | ListItemFocusableAboveUnfocusableTest.java | 42 assertTrue(mListView.getChildAt(0).isFocused()); in testPreconditions() 43 assertFalse(mListView.getChildAt(1).isFocusable()); in testPreconditions() 51 mListView.getChildAt(0).isFocused()); in testMovingToUnFocusableTakesFocusAway()
|
D | ListOfItemsShorterThanScreenTest.java | 46 assertTrue(mListView.getChildAt(0).isSelected()); in testPreconditions() 52 final View next = mListView.getChildAt(1); in testMoveDownToOnScreenNextItem() 78 final View lastItem = mListView.getChildAt(lastOnScreenItemIndex); in testMoveDownToItemRequiringScrolling() 95 … assertEquals(mListView.getSelectedView(), mListView.getChildAt(mListView.getChildCount() - 2)); in testMoveDownToItemRequiringScrolling() 98 final TextView view = (TextView) mListView.getChildAt(mListView.getChildCount() - 1); in testMoveDownToItemRequiringScrolling()
|
D | ListItemsExpandOnSelectionTest.java | 44 mExpandedHeight = mListView.getChildAt(0).getHeight(); in setUp() 45 mNormalHeight = mListView.getChildAt(1).getHeight(); in setUp() 62 mListTop, mListView.getChildAt(0).getTop()); in testMoveSelectionDownNotRequiringScroll() 78 mListView.getChildAt(1).getBottom()); in testMoveSelectionUpNotRequiringScroll()
|
D | ListItemFocusablesCloseTest.java | 55 first.getChildAt(0).isFocused()); in testPreconditions() 71 first.getChildAt(2).isFocused()); in testChangeFocusWithinItem() 80 first.getChildAt(0).isFocused()); in testChangeFocusWithinItem() 96 selectedItem.getChildAt(0).isFocused()); in testMoveDownToButtonInDifferentSelection()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListTouchBottomGravityManyTest.java | 69 View firstChild = mListView.getChildAt(0); in testPullDown() 89 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() 100 View firstChild = mListView.getChildAt(0); in testNoScroll() 101 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() 108 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() 118 View firstChild = mListView.getChildAt(0); in testShortScroll() 120 firstChild = mListView.getChildAt(1); in testShortScroll() 123 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() 130 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() 140 View firstChild = mListView.getChildAt(0); in testLongScroll() [all …]
|
D | ListTouchManyTest.java | 66 View firstChild = mListView.getChildAt(0); in testPullDown() 84 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() 105 View child = mListView.getChildAt(i); in testPress() 133 View child = mListView.getChildAt(i); in testLongPress() 148 View firstChild = mListView.getChildAt(0); in testNoScroll() 149 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() 156 View newFirstChild = mListView.getChildAt(0); in testNoScroll() 165 View firstChild = mListView.getChildAt(0); in testShortScroll() 166 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() 173 View newFirstChild = mListView.getChildAt(0); in testShortScroll() [all …]
|
D | ListTouchTest.java | 57 View firstChild = mListView.getChildAt(0); in testPullDown() 65 firstChild = mListView.getChildAt(0); in testPullDown() 75 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() 83 View firstChild = mListView.getChildAt(0); in testPushUp()
|
D | ListTouchBottomGravityTest.java | 58 View firstChild = mListView.getChildAt(0); in testPullDown() 62 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPullDown() 77 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() 81 lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp()
|
D | ListOfTouchablesTest.java | 58 View firstChild = mListView.getChildAt(0); in testShortScroll() 59 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() 66 View newFirstChild = mListView.getChildAt(0); in testShortScroll() 75 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testLongScroll()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListButtonsDiagonalAcrossItems.java | 38 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0); in getLeftButton() 42 return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1); in getCenterButton() 46 return (Button) ((ViewGroup) getListView().getChildAt(2)).getChildAt(2); in getRightButton()
|
D | AdjacentListsWithAdjacentISVsInside.java | 47 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(0); in getLeftIsv() 52 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(1); in getLeftMiddleIsv() 57 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(0); in getRightMiddleIsv() 62 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(1); in getRightIsv()
|
D | ListHorizontalFocusWithinItemWins.java | 39 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0); in getTopLeftButton() 43 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(2); in getTopRightButton() 47 return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1); in getBottomMiddleButton()
|
D | ListItemRequestRectAboveThinFirstItemTest.java | 45 mListView.getChildAt(0).getBottom() < mListView.getVerticalFadingEdgeLength()); in testPreconditions() 59 final View second = mListView.getChildAt(1); in testSecondItemRequestRectAboveTop() 68 mListView.getListPaddingTop(), mListView.getChildAt(0).getTop()); in testSecondItemRequestRectAboveTop() 97 mListView.getChildAt(mListView.getChildCount() - 1).getBottom()); in testSecondToLastItemRequestRectBelowBottom()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListWithEditTextHeaderTest.java | 48 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); in testPreconditions() 54 TouchUtils.clickView(this, mListView.getChildAt(0)); in testClickingHeaderKeepsFocus() 55 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); in testClickingHeaderKeepsFocus() 63 TouchUtils.clickView(this, mListView.getChildAt(0)); in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus() 64 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus() 70 View header = mListView.getChildAt(0); in testScrollingDoesNotDetachHeaderViewFromWindow()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
D | AddColumnTest.java | 62 TableRow row1 = (TableRow) mTable.getChildAt(0); in testWidths() 63 TableRow row2 = (TableRow) mTable.getChildAt(1); in testWidths() 68 assertEquals(row2.getChildAt(i).getWidth(), row1.getChildAt(i).getWidth()); in testWidths()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | DescendantFocusability.java | 44 beforeDescendantsChild = (Button) beforeDescendants.getChildAt(0); in onCreate() 47 afterDescendantsChild = (Button) afterDescendants.getChildAt(0); in onCreate() 50 blocksDescendantsChild = (Button) blocksDescendants.getChildAt(0); in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 121 TaskView tv = (TaskView) getChildAt(i); in TaskStackView() 157 TaskView tv = (TaskView) getChildAt(i); in reset() 214 TaskView tv = (TaskView) getChildAt(i); in getChildViewForTask() 306 TaskView tv = (TaskView) getChildAt(i); in synchronizeStackViewsWithModel() 346 TaskView atv = (TaskView) getChildAt(childCount - 1); in synchronizeStackViewsWithModel() 370 TaskView tv = (TaskView) getChildAt(i); in clipTaskViews() 378 tmpTv = (TaskView) getChildAt(++nextIndex); in clipTaskViews() 402 TaskView tv = (TaskView) getChildAt(getChildCount() - 1); in clipTaskViews() 484 TaskView tv = (TaskView) getChildAt(i); in ensureFocusedTask() 548 TaskView backMostTask = (TaskView) getChildAt(0); in onInitializeAccessibilityEvent() [all …]
|
D | RecentsView.java | 105 View child = getChildAt(i); in setTaskStacks() 141 View v = getChildAt(i); in setTaskStacks() 158 View child = getChildAt(i); in launchFocusedTask() 165 TaskView tv = (TaskView) stackView.getChildAt(j); in launchFocusedTask() 182 View child = getChildAt(i); in launchPreviousTask() 213 View child = getChildAt(i); in startEnterRecentsAnimation() 229 View child = getChildAt(i); in startExitToHomeAnimation() 296 View child = getChildAt(i); in onMeasure() 326 View child = getChildAt(i); in onLayout() 347 View child = getChildAt(i); in onUserInteraction() [all …]
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ListViewAutoScrollHelper.java | 43 final View firstView = target.getChildAt(0); in scrollTargetBy() 73 final View lastView = target.getChildAt(childCount - 1); in canTargetScrollVertically() 81 final View firstView = target.getChildAt(0); in canTargetScrollVertically()
|