/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListButtonsDiagonalAcrossItems.java | 38 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0); 42 return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1); 46 return (Button) ((ViewGroup) getListView().getChildAt(2)).getChildAt(2);
|
ListHorizontalFocusWithinItemWins.java | 39 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(0); 43 return (Button) ((ViewGroup) getListView().getChildAt(0)).getChildAt(2); 47 return (Button) ((ViewGroup) getListView().getChildAt(1)).getChildAt(1);
|
AdjacentListsWithAdjacentISVsInside.java | 47 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(0); 52 ((ViewGroup) mLeftListView.getChildAt(0)).getChildAt(1); 57 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(0); 62 ((ViewGroup) mRightListView.getChildAt(0)).getChildAt(1);
|
ListItemFocusablesClose.java | 37 return ((ViewGroup) getListView().getChildAt(listIndex)).getChildAt(index);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListItemFocusablesFarApartTest.java | 51 return ((ViewGroup) mListView.getChildAt(listIndex)).getChildAt(index); 56 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); 57 View child = listItem.getChildAt(index); 62 ViewGroup listItem = (ViewGroup) mListView.getChildAt(listIndex); 63 View child = listItem.getChildAt(index); 82 int expectedTop = mListView.getChildAt(0).getTop(); 95 "item should have focus", mListView.getChildAt(0).hasFocus()); 103 expectedTop, mListView.getChildAt(0).getTop());
|
ListOfShortTallShortTest.java | 42 mListView.getChildAt(1).getHeight() > mListView.getHeight()); 47 int topBeforeMove = mListView.getChildAt(1).getTop(); 70 mListView.getChildAt(1), mListView.getSelectedView()); 72 final int bottomBeforeMove = mListView.getChildAt(0).getBottom(); 78 mListView.getChildAt(0).getBottom());
|
ListItemFocusableAboveUnfocusableTest.java | 42 assertTrue(mListView.getChildAt(0).isFocused()); 43 assertFalse(mListView.getChildAt(1).isFocusable()); 51 mListView.getChildAt(0).isFocused());
|
ListOfShortShortTallShortShortTest.java | 47 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight(); 87 assertEquals("new view position", 3, mListView.getChildAt(1).getId()); 88 assertEquals("new view position", 4, mListView.getChildAt(2).getId()); 91 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom()); 132 assertEquals("new view position", 0, mListView.getChildAt(0).getId()); 133 assertEquals("new view position", 1, mListView.getChildAt(1).getId()); 136 mListView.getChildAt(0).getTop() <= mListUtil.getListTop());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TableLayoutTest.java | 120 assertFalse(mTableEmpty.getChildAt(0).isLayoutRequested()); 121 assertFalse(mTableEmpty.getChildAt(1).isLayoutRequested()); 125 assertTrue(mTableEmpty.getChildAt(0).isLayoutRequested()); 126 assertTrue(mTableEmpty.getChildAt(1).isLayoutRequested()); 160 assertFalse(mTableEmpty.getChildAt(0).isLayoutRequested()); 161 assertFalse(mTableEmpty.getChildAt(1).isLayoutRequested()); 165 assertTrue(mTableEmpty.getChildAt(0).isLayoutRequested()); 166 assertTrue(mTableEmpty.getChildAt(1).isLayoutRequested()); 172 assertTrue(mTableEmpty.getChildAt(0).isLayoutRequested()); 173 assertTrue(mTableEmpty.getChildAt(1).isLayoutRequested()) [all...] |
TabWidgetTest.java | 174 assertTrue(mTabWidget.getChildAt(0).isSelected()); 175 assertFalse(mTabWidget.getChildAt(1).isSelected()); 176 assertTrue(mTabWidget.getChildAt(0).isFocused()); 177 assertFalse(mTabWidget.getChildAt(1).isFocused()); 180 assertFalse(mTabWidget.getChildAt(0).isSelected()); 181 assertTrue(mTabWidget.getChildAt(1).isSelected()); 182 assertTrue(mTabWidget.getChildAt(0).isFocused()); 183 assertFalse(mTabWidget.getChildAt(1).isFocused()); 191 assertTrue(mTabWidget.getChildAt(0).isSelected()); 192 assertFalse(mTabWidget.getChildAt(1).isSelected()) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchVerticalSpacingStackFromBottomTest.java | 62 View firstChild = mGridView.getChildAt(0); 63 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 70 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 80 View firstChild = mGridView.getChildAt(0); 82 firstChild = mGridView.getChildAt(1); 85 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 92 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 102 View firstChild = mGridView.getChildAt(0); 104 firstChild = mGridView.getChildAt(1); 133 firstChild = mGridView.getChildAt(0) [all...] |
GridTouchStackFromBottomTest.java | 60 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 77 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 88 TouchUtils.dragViewToTop(this, mGridView.getChildAt(mGridView.getChildCount() - 1), 2); 94 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 105 TouchUtils.dragViewToBottom(this, mGridView.getChildAt(0), 2); 111 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1);
|
GridTouchVerticalSpacingTest.java | 56 View firstChild = mGridView.getChildAt(0); 57 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 64 View newFirstChild = mGridView.getChildAt(0); 73 View firstChild = mGridView.getChildAt(0); 74 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 81 View newFirstChild = mGridView.getChildAt(0); 90 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 117 firstChild = mGridView.getChildAt(0); 123 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 136 firstChild = mGridView.getChildAt(0) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
DescendantFocusability.java | 44 beforeDescendantsChild = (Button) beforeDescendants.getChildAt(0); 47 afterDescendantsChild = (Button) afterDescendants.getChildAt(0); 50 blocksDescendantsChild = (Button) blocksDescendants.getChildAt(0);
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/focus/ |
ListWithEditTextHeaderTest.java | 49 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); 55 TouchUtils.clickView(this, mListView.getChildAt(0)); 56 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); 65 TouchUtils.clickView(this, mListView.getChildAt(0)); 66 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); 72 View header = mListView.getChildAt(0);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
ZenRadioLayout.java | 42 ViewGroup radioGroup = (ViewGroup) getChildAt(0); 43 ViewGroup radioContent = (ViewGroup) getChildAt(1); 51 View radio = radioGroup.getChildAt(i); 52 View content = radioContent.getChildAt(i); 75 View v = findFirstClickable(group.getChildAt(i)); 87 View v = findLastClickable(group.getChildAt(i));
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListTouchBottomGravityManyTest.java | 69 View firstChild = mListView.getChildAt(0); 89 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 100 View firstChild = mListView.getChildAt(0); 101 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 108 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1); 118 View firstChild = mListView.getChildAt(0); 120 firstChild = mListView.getChildAt(1); 123 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 130 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1); 140 View firstChild = mListView.getChildAt(0) [all...] |
ListTouchManyTest.java | 66 View firstChild = mListView.getChildAt(0); 84 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 105 View child = mListView.getChildAt(i); 133 View child = mListView.getChildAt(i); 148 View firstChild = mListView.getChildAt(0); 149 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 156 View newFirstChild = mListView.getChildAt(0); 165 View firstChild = mListView.getChildAt(0); 166 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 173 View newFirstChild = mListView.getChildAt(0) [all...] |
ListOfTouchablesTest.java | 58 View firstChild = mListView.getChildAt(0); 59 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 66 View newFirstChild = mListView.getChildAt(0); 75 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1);
|
ListTouchBottomGravityTest.java | 58 View firstChild = mListView.getChildAt(0); 62 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 77 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 81 lastChild = mListView.getChildAt(mListView.getChildCount() - 1);
|
ListTouchTest.java | 57 View firstChild = mListView.getChildAt(0); 65 firstChild = mListView.getChildAt(0); 75 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 83 View firstChild = mListView.getChildAt(0);
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
AddColumnTest.java | 62 TableRow row1 = (TableRow) mTable.getChildAt(0); 63 TableRow row2 = (TableRow) mTable.getChildAt(1); 68 assertEquals(row2.getChildAt(i).getWidth(), row1.getChildAt(i).getWidth());
|
/frameworks/support/wear/tests/src/android/support/wear/widget/ |
WearableLinearLayoutManagerTest.java | 90 View child1 = wrv.getChildAt(0); 91 View child2 = wrv.getChildAt(1); 92 View child3 = wrv.getChildAt(2); 93 View child4 = wrv.getChildAt(3); 94 View child5 = wrv.getChildAt(4); 134 View child1 = wrv.getChildAt(0); 135 View child2 = wrv.getChildAt(1); 136 View child3 = wrv.getChildAt(2); 137 View child4 = wrv.getChildAt(3); 138 View child5 = wrv.getChildAt(4) [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/graphics/ |
CompositeDrawableTest.java | 72 parentDrawable.getChildAt(0).getBoundsRule().bottom = ValueRule.inheritFromParent( 83 parentDrawable.getChildAt(0).getBoundsRule().bottom = ValueRule.absoluteValue(200); 92 parentDrawable.getChildAt(0).getBoundsRule().bottom = 103 parentDrawable.getChildAt(0).getBoundsRule().bottom = 127 BoundsRule boundsRule = parentDrawable.getChildAt(0).getBoundsRule(); 130 parentDrawable.getChildAt(0).getBoundsRule().top.setAbsoluteValue(-100); 152 CompositeDrawable.ChildDrawable.BOTTOM_ABSOLUTE.set(parentDrawable.getChildAt(0), 0); 153 CompositeDrawable.ChildDrawable.BOTTOM_FRACTION.set(parentDrawable.getChildAt(0), 0.5f); 174 BitmapDrawable childDrawable2 = (BitmapDrawable) parentDrawble2.getChildAt(0).getDrawable(); 181 childDrawable2 = (BitmapDrawable) parentDrawble2.getChildAt(0).getDrawable() [all...] |
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewGroupTest.java | 93 assertThat(root.getChildAt(0), sameInstance(child1)); 94 assertThat(root.getChildAt(1), sameInstance((View) child3)); 105 assertThat(root.getChildAt(0), sameInstance(child1)); 106 assertThat(root.getChildAt(1), sameInstance((View) child3)); 107 assertThat(root.getChildAt(2), sameInstance(child2)); 244 assertThat(root.getChildAt(0), sameInstance(child1)); 245 assertThat(root.getChildAt(1), sameInstance((View) child3)); 249 assertThat(root.getChildAt(0), sameInstance(child1)); 250 assertThat(root.getChildAt(1), sameInstance((View) child3)); 264 assertThat(root.getChildAt(0), sameInstance(child1)) [all...] |