/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SmartReplyViewTest.java | 157 mView.getChildAt(2).performClick(); in testSendSmartReply_intentContainsResultsAndSource() 170 mView.getChildAt(2).performClick(); in testSendSmartReply_keyguardCancelled() 183 mView.getChildAt(2).performClick(); in testSendSmartReply_waitsForKeyguard() 200 mView.getChildAt(2).performClick(); in testSendSmartReply_controllerCalled() 209 mView.getChildAt(0).performClick(); in testSendSmartReply_hidesContainer() 219 mView.getChildAt(2).performClick(); in testTapSmartReply_beforeInitDelay_blocked() 231 mView.getChildAt(2).performClick(); in testTapSmartReply_afterInitDelay_clickReceived() 247 mView.getChildAt(2).performClick(); in testTapSmartReply_withoutDelayedOnClickListener_bypassesDelay() 285 assertReplyButtonShownWithEqualMeasures(expectedView.getChildAt(0), mView.getChildAt(0)); in testMeasure_shortChoices() 286 assertReplyButtonShownWithEqualMeasures(expectedView.getChildAt(1), mView.getChildAt(1)); in testMeasure_shortChoices() [all …]
|
/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 | 52 return ((ViewGroup) mListView.getChildAt(listIndex)).getChildAt(index); in getChildOfItem() 57 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); in getTopOfChildOfItem() 58 View child = listItem.getChildAt(index); in getTopOfChildOfItem() 63 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); in getBottomOfChildOfItem() 64 View child = listItem.getChildAt(index); in getBottomOfChildOfItem() 83 int expectedTop = mListView.getChildAt(0).getTop(); in testPanWhenNextFocusableTooFarDown() 96 "item should have focus", mListView.getChildAt(0).hasFocus()); in testPanWhenNextFocusableTooFarDown() 104 expectedTop, mListView.getChildAt(0).getTop()); in testPanWhenNextFocusableTooFarDown()
|
D | ListOfShortShortTallShortShortTest.java | 48 … int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight(); in testPreconditions() 88 assertEquals("new view position", 3, mListView.getChildAt(1).getId()); in testFadeInTwoBottomItems() 89 assertEquals("new view position", 4, mListView.getChildAt(2).getId()); in testFadeInTwoBottomItems() 92 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom()); in testFadeInTwoBottomItems() 133 assertEquals("new view position", 0, mListView.getChildAt(0).getId()); in testFadeInTopTwoItems() 134 assertEquals("new view position", 1, mListView.getChildAt(1).getId()); in testFadeInTopTwoItems() 137 mListView.getChildAt(0).getTop() <= mListUtil.getListTop()); in testFadeInTopTwoItems()
|
D | ListOfShortTallShortTest.java | 43 mListView.getChildAt(1).getHeight() > mListView.getHeight()); in testPreconditions() 48 int topBeforeMove = mListView.getChildAt(1).getTop(); in testGoDownFromShortToTall() 71 mListView.getChildAt(1), mListView.getSelectedView()); in testGoUpFromShortToTall() 73 final int bottomBeforeMove = mListView.getChildAt(0).getBottom(); in testGoUpFromShortToTall() 79 mListView.getChildAt(0).getBottom()); in testGoUpFromShortToTall()
|
D | ListItemFocusableAboveUnfocusableTest.java | 43 assertTrue(mListView.getChildAt(0).isFocused()); in testPreconditions() 44 assertFalse(mListView.getChildAt(1).isFocusable()); in testPreconditions() 52 mListView.getChildAt(0).isFocused()); in testMovingToUnFocusableTakesFocusAway()
|
D | ListOfItemsShorterThanScreenTest.java | 48 assertTrue(mListView.getChildAt(0).isSelected()); in testPreconditions() 54 final View next = mListView.getChildAt(1); in testMoveDownToOnScreenNextItem() 81 final View lastItem = mListView.getChildAt(lastOnScreenItemIndex); in testMoveDownToItemRequiringScrolling() 98 … assertEquals(mListView.getSelectedView(), mListView.getChildAt(mListView.getChildCount() - 2)); in testMoveDownToItemRequiringScrolling() 101 final TextView view = (TextView) mListView.getChildAt(mListView.getChildCount() - 1); in testMoveDownToItemRequiringScrolling()
|
/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 | 57 View firstChild = mListView.getChildAt(0); in testShortScroll() 58 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() 65 View newFirstChild = mListView.getChildAt(0); in testShortScroll() 74 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testLongScroll()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | AdjacentListsWithAdjacentISVsInside.java | 46 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(0); in getLeftIsv() 51 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(1); in getLeftMiddleIsv() 56 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(0); in getRightMiddleIsv() 61 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(1); in getRightIsv()
|
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 | 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 | 47 mListView.getChildAt(0).getBottom() < mListView.getVerticalFadingEdgeLength()); in testPreconditions() 61 final View second = mListView.getChildAt(1); in testSecondItemRequestRectAboveTop() 70 mListView.getListPaddingTop(), mListView.getChildAt(0).getTop()); in testSecondItemRequestRectAboveTop() 99 mListView.getChildAt(mListView.getChildCount() - 1).getBottom()); in testSecondToLastItemRequestRectBelowBottom()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
D | ListWithEditTextHeaderTest.java | 50 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); in testPreconditions() 56 TouchUtils.clickView(this, mListView.getChildAt(0)); in testClickingHeaderKeepsFocus() 57 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); in testClickingHeaderKeepsFocus() 66 TouchUtils.clickView(this, mListView.getChildAt(0)); in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus() 67 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); in testClickingHeaderWhenOtherItemHasFocusGivesHeaderFocus() 73 View header = mListView.getChildAt(0); in testScrollingDoesNotDetachHeaderViewFromWindow()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/notification/ |
D | ZenRadioLayout.java | 42 ViewGroup radioGroup = (ViewGroup) getChildAt(0); in onMeasure() 43 ViewGroup radioContent = (ViewGroup) getChildAt(1); in onMeasure() 51 View radio = radioGroup.getChildAt(i); in onMeasure() 52 View content = radioContent.getChildAt(i); in onMeasure() 75 View v = findFirstClickable(group.getChildAt(i)); in findFirstClickable() 87 View v = findLastClickable(group.getChildAt(i)); in findLastClickable()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 97 assertEquals(layerNeg2, root.getChildAt(0)); in testAdd() 98 assertEquals(secondLayerNeg1, root.getChildAt(1)); in testAdd() 99 assertEquals(layerNeg1, root.getChildAt(2)); in testAdd() 100 assertEquals(layer0, root.getChildAt(3)); in testAdd() 101 assertEquals(layer1, root.getChildAt(4)); in testAdd() 102 assertEquals(secondLayer1, root.getChildAt(5)); in testAdd() 103 assertEquals(layer2, root.getChildAt(6)); in testAdd() 267 assertEquals(child2, root.getChildAt(root.getChildrenCount() - 1)); in testAddChildByIndex() 271 assertEquals(child3, root.getChildAt(0)); in testAddChildByIndex() 275 assertEquals(child3, root.getChildAt(0)); in testAddChildByIndex() [all …]
|
/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/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | NavigationBar.java | 86 View leftPadding = getChildAt(0); in setupNavBar() 87 View rightPadding = getChildAt(6); in setupNavBar() 92 View navButton = getChildAt(i); in setupNavBar() 96 setSize(context, getChildAt(2), orientation, 128); in setupNavBar() 97 setSize(context, getChildAt(4), orientation, 128); in setupNavBar()
|
/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/tests/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayoutTest.java | 115 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); in testUpdateValueNotChained() 116 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); in testUpdateValueNotChained() 128 assertEquals(100, mLayout.getChildAt(0).getTranslationX(), .1f); in testUpdateValueNotChained() 129 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); in testUpdateValueNotChained() 325 assertEquals(0, mLayout.getChildAt(0).getTranslationX(), .1f); 326 assertEquals(0, mLayout.getChildAt(1).getTranslationX(), .1f); 337 mLayout.getChildAt(i).getTranslationX(), .1f); 341 assertEquals(0, mLayout.getChildAt(0).getTranslationY(), .1f); 342 assertEquals(0, mLayout.getChildAt(1).getTranslationY(), .1f); 353 assertEquals(100, mLayout.getChildAt(0).getTranslationY(), .1f); [all …]
|