/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
ListWithFirstScreenUnSelectableTest.java | 43 assertEquals(1, mListView.getChildCount()); 56 assertEquals(1, mListView.getChildCount()); 62 assertEquals(2, mListView.getChildCount());
|
ListOfShortShortTallShortShortTest.java | 44 assertEquals("list visible child count", 3, mListView.getChildCount()); 67 1, mListView.getChildCount()); 78 assertEquals("number of list children", 1, mListView.getChildCount()); 83 3, mListView.getChildCount()); 109 1, mListView.getChildCount()); 122 assertEquals("number of list children", 1, mListView.getChildCount()); 127 3, mListView.getChildCount());
|
ListOfItemsTallerThanScreenTest.java | 46 assertEquals("should only be one visible child", 1, mListView.getChildCount()); 75 assertEquals("child count", 2, mListView.getChildCount()); 85 assertEquals(1, mListView.getChildCount()); 101 assertEquals(2, mListView.getChildCount()); 125 1, mListView.getChildCount()); 156 1, mListView.getChildCount()); 167 assertEquals(2, mListView.getChildCount()); 170 assertEquals(1, mListView.getChildCount());
|
ListLastItemPartiallyVisibleTest.java | 45 "in adapter", mListView.getCount(), mListView.getChildCount()); 47 final View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 71 mListView.getChildCount() - 1, mListView.getSelectedItemPosition());
|
/cts/tests/tests/widget/src/android/widget/cts/ |
ViewAnimatorTest.java | 99 assertEquals(0, mViewAnimator.getChildCount()); 105 assertEquals(4, mViewAnimator.getChildCount()); 122 assertEquals(0, mViewAnimator.getChildCount()); 140 assertEquals(0, mViewAnimator.getChildCount()); 143 assertEquals(1, mViewAnimator.getChildCount()); 146 assertEquals(2, mViewAnimator.getChildCount()); 151 // set a negative value, then switch to getChildCount()-1. 163 assertEquals(0, mViewAnimator.getChildCount()); 174 assertEquals(0, mViewAnimator.getChildCount()); 177 assertEquals(1, mViewAnimator.getChildCount()); [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowViewAnimator.java | 26 if (whichChild >= getChildCount()) { 29 mWhichChild = getChildCount() - 1;
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
CustomView2.java | 15 childCountAfterInflate = getChildCount();
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
GridTouchVerticalSpacingStackFromBottomTest.java | 63 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 70 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 85 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 92 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 119 int originalCount = mGridView.getChildCount(); 131 mGridView.getChildCount(), originalCount + 4), 132 mGridView.getChildCount() <= originalCount + 4); 149 mGridView.getChildCount(), originalCount + 4), 150 mGridView.getChildCount() <= originalCount + 4); 156 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1) [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); 111 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1);
|
GridTouchVerticalSpacingTest.java | 57 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 74 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 90 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 103 int originalCount = mGridView.getChildCount(); 115 mGridView.getChildCount(), originalCount + 4), 116 mGridView.getChildCount() <= originalCount + 4); 123 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); 134 mGridView.getChildCount(), originalCount + 4), 135 mGridView.getChildCount() <= originalCount + 4);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
DrawableContainerStateTest.java | 54 assertEquals(0, mDrawableContainerState.getChildCount()); 60 assertEquals(1, mDrawableContainerState.getChildCount()); 72 assertEquals(2, mDrawableContainerState.getChildCount()); 83 assertEquals(3, mDrawableContainerState.getChildCount()); 92 assertEquals(0, mDrawableContainerState.getChildCount()); 98 assertEquals(1, mDrawableContainerState.getChildCount()); 104 assertEquals(2, mDrawableContainerState.getChildCount()); 110 assertEquals(3, mDrawableContainerState.getChildCount()); 116 assertEquals(4, mDrawableContainerState.getChildCount()); 161 assertEquals(0, mDrawableContainerState.getChildCount()); [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
ListTouchManyTest.java | 76 int originalCount = mListView.getChildCount(); 84 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 93 mListView.getChildCount(), originalCount + 1), 94 mListView.getChildCount() <= originalCount + 1); 100 int count = mListView.getChildCount(); 127 int count = mListView.getChildCount(); 149 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 166 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 182 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1);
|
ListTouchBottomGravityManyTest.java | 61 int originalCount = mListView.getChildCount(); 77 mListView.getChildCount(), originalCount + 1), 78 mListView.getChildCount() <= originalCount + 1); 89 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 101 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 108 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1); 123 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 130 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1);
|
ListTouchBottomGravityTest.java | 62 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 77 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); 81 lastChild = mListView.getChildAt(mListView.getChildCount() - 1);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
ViewGroupChildrenTest.java | 56 assertEquals("A ViewGroup should have no child by default", 0, mGroup.getChildCount()); 65 assertEquals(1, mGroup.getChildCount()); 82 assertEquals(25, mGroup.getChildCount()); 100 assertEquals(25, mGroup.getChildCount()); 116 assertEquals(24, mGroup.getChildCount()); 132 assertEquals(0, mGroup.getChildCount()); 154 assertEquals(0, mGroup.getChildCount()); 175 assertEquals(17, mGroup.getChildCount()); 197 assertEquals(17, mGroup.getChildCount()); 217 assertEquals("17", ((TextView) mGroup.getChildAt(mGroup.getChildCount() - 1)).getText()) [all...] |
MergeTest.java | 40 assertEquals("The layout wasn't merged", 7, layout.getChildCount());
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
AppsCustomizeCellLayout.java | 40 return getChildCount(); 58 int childCount = children.getChildCount();
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
StackLayout.java | 34 final int count = getChildCount(); 50 final int count = super.getChildCount();
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
AddColumnTest.java | 65 assertTrue(row1.getChildCount() < row2.getChildCount()); 67 for (int i = 0; i < row1.getChildCount(); i++) {
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
ViewGroupTest.java | 92 assertThat(root.getChildCount(), equalTo(2)); 240 assertThat(root.getChildCount(), equalTo(3)); 243 assertThat(root.getChildCount(), equalTo(2)); 248 assertThat(root.getChildCount(), equalTo(2)); 254 assertThat(root.getChildCount(), equalTo(0)); 260 assertThat(root.getChildCount(), equalTo(3)); 263 assertThat(root.getChildCount(), equalTo(2)); 268 assertThat(root.getChildCount(), equalTo(2)); 274 assertThat(root.getChildCount(), equalTo(0)); 280 assertThat(root.getChildCount(), equalTo(3)) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PictureLayout.java | 42 if (getChildCount() > 1) { 51 if (getChildCount() > 1) { 60 if (getChildCount() > 1) { 69 if (getChildCount() > 1) { 83 final int count = getChildCount(); 147 final int count = super.getChildCount();
|
/external/antlr/antlr-3.4/runtime/JavaScript/src/org/antlr/runtime/tree/ |
BaseTreeAdaptor.js | 46 var n = this.getChildCount(t), 107 var nc = newRootTree.getChildCount(); 126 if ( r.getChildCount()===0 ) { 129 else if ( r.getChildCount()===1 ) { 192 getChildCount: function(t) { 193 return t.getChildCount();
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListItemRequestRectAboveThinFirstItemTest.java | 47 mListView.getChildCount() >= 2); 90 final int secondToLastIndex = mListView.getChildCount() - 2; 97 mListView.getChildAt(mListView.getChildCount() - 1).getBottom());
|
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/ |
UiCollection.java | 54 int count = getChildCount(childPattern); 112 int count = getChildCount(childPattern); 139 public int getChildCount(UiSelector childPattern) {
|
/frameworks/uiautomator/src/com/android/uiautomator/core/ |
UiCollection.java | 54 int count = getChildCount(childPattern); 112 int count = getChildCount(childPattern); 139 public int getChildCount(UiSelector childPattern) {
|