/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);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
TabWidgetTest.java | 86 assertTrue(tabWidget.getChildAt(0).isSelected()); 87 assertFalse(tabWidget.getChildAt(1).isSelected()); 88 assertTrue(tabWidget.getChildAt(0).isFocused()); 89 assertFalse(tabWidget.getChildAt(1).isFocused()); 92 assertFalse(tabWidget.getChildAt(0).isSelected()); 93 assertTrue(tabWidget.getChildAt(1).isSelected()); 94 assertTrue(tabWidget.getChildAt(0).isFocused()); 95 assertFalse(tabWidget.getChildAt(1).isFocused()); 104 assertTrue(tabWidget.getChildAt(0).isSelected()); 105 assertFalse(tabWidget.getChildAt(1).isSelected()) [all...] |
TableLayoutTest.java | 99 assertFalse(tableLayout.getChildAt(0).isLayoutRequested()); 100 assertFalse(tableLayout.getChildAt(1).isLayoutRequested()); 104 assertTrue(tableLayout.getChildAt(0).isLayoutRequested()); 105 assertTrue(tableLayout.getChildAt(1).isLayoutRequested()); 136 assertFalse(tableLayout.getChildAt(0).isLayoutRequested()); 137 assertFalse(tableLayout.getChildAt(1).isLayoutRequested()); 141 assertTrue(tableLayout.getChildAt(0).isLayoutRequested()); 142 assertTrue(tableLayout.getChildAt(1).isLayoutRequested()); 148 assertTrue(tableLayout.getChildAt(0).isLayoutRequested()); 149 assertTrue(tableLayout.getChildAt(1).isLayoutRequested()) [all...] |
/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 | 45 int firstTwoHeight = mListView.getChildAt(0).getHeight() + mListView.getChildAt(1).getHeight(); 84 assertEquals("new view position", 3, mListView.getChildAt(1).getId()); 85 assertEquals("new view position", 4, mListView.getChildAt(2).getId()); 88 mListView.getChildAt(2).getBottom() >= mListUtil.getListBottom()); 128 assertEquals("new view position", 0, mListView.getChildAt(0).getId()); 129 assertEquals("new view position", 1, mListView.getChildAt(1).getId()); 132 mListView.getChildAt(0).getTop() <= mListUtil.getListTop());
|
/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 | 48 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); 54 TouchUtils.clickView(this, mListView.getChildAt(0)); 55 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); 63 TouchUtils.clickView(this, mListView.getChildAt(0)); 64 assertTrue("header does not have focus", mListView.getChildAt(0).isFocused()); 70 View header = mListView.getChildAt(0);
|
/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());
|
/packages/apps/Browser/src/com/android/browser/view/ |
EventRedirectingFrameLayout.java | 46 getChildAt(mTargetChild).requestFocus(); 52 View child = getChildAt(mTargetChild); 60 View child = getChildAt(mTargetChild); 68 View child = getChildAt(mTargetChild);
|
/external/robolectric/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...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppsCustomizeCellLayout.java | 45 return getChildAt(i); 60 children.getChildAt(j).setOnKeyListener(null);
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
StackLayout.java | 37 final View child = getChildAt(0); 53 final View child = getChildAt(i);
|