/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchVerticalSpacingStackFromBottomTest.java | 63 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() 70 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() 85 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() 92 View newLastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() 119 int originalCount = mGridView.getChildCount(); in testManyScrolls() 131 mGridView.getChildCount(), originalCount + 4), in testManyScrolls() 132 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls() 149 mGridView.getChildCount(), originalCount + 4), in testManyScrolls() 150 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls() 156 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testManyScrolls()
|
D | GridTouchVerticalSpacingTest.java | 57 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testNoScroll() 74 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testShortScroll() 90 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testLongScroll() 103 int originalCount = mGridView.getChildCount(); in testManyScrolls() 115 mGridView.getChildCount(), originalCount + 4), in testManyScrolls() 116 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls() 123 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testManyScrolls() 134 mGridView.getChildCount(), originalCount + 4), in testManyScrolls() 135 mGridView.getChildCount() <= originalCount + 4); in testManyScrolls()
|
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() 111 View lastChild = mGridView.getChildAt(mGridView.getChildCount() - 1); in testPullDownFast()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewGroupChildrenTest.java | 56 assertEquals("A ViewGroup should have no child by default", 0, mGroup.getChildCount()); in testStartsEmpty() 65 assertEquals(1, mGroup.getChildCount()); in testAddChild() 82 assertEquals(25, mGroup.getChildCount()); in testAddChildAtFront() 100 assertEquals(25, mGroup.getChildCount()); in testAddChildInMiddle() 116 assertEquals(24, mGroup.getChildCount()); in testAddChildren() 132 assertEquals(0, mGroup.getChildCount()); in testRemoveChild() 154 assertEquals(0, mGroup.getChildCount()); in testRemoveChildren() 175 assertEquals(17, mGroup.getChildCount()); in testRemoveChildrenBulk() 197 assertEquals(17, mGroup.getChildCount()); in testRemoveChildrenBulkAtFront() 217 assertEquals("17", ((TextView) mGroup.getChildAt(mGroup.getChildCount() - 1)).getText()); in testRemoveChildrenBulkAtEnd() [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListTouchManyTest.java | 76 int originalCount = mListView.getChildCount(); in testPushUp() 84 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() 93 mListView.getChildCount(), originalCount + 1), in testPushUp() 94 mListView.getChildCount() <= originalCount + 1); in testPushUp() 100 int count = mListView.getChildCount(); in testPress() 127 int count = mListView.getChildCount(); in testLongPress() 149 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() 166 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() 182 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testLongScroll()
|
D | ListTouchBottomGravityManyTest.java | 61 int originalCount = mListView.getChildCount(); in testPullDown() 77 mListView.getChildCount(), originalCount + 1), in testPullDown() 78 mListView.getChildCount() <= originalCount + 1); in testPullDown() 89 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPushUp() 101 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() 108 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testNoScroll() 123 View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll() 130 View newLastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testShortScroll()
|
D | ListTouchBottomGravityTest.java | 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()
|
/frameworks/base/tools/layoutlib/studio-custom-widgets/src/com/android/tools/idea/editors/theme/widgets/ |
D | ThemePreviewLayout.java | 109 for (int i = 0; i < getChildCount(); i++) { in onMeasure() 132 if (getChildCount() < mNumColumns) { in onMeasure() 133 mNumColumns = getChildCount(); in onMeasure() 142 for (int i = 0; i < getChildCount(); i++) { in onMeasure() 153 int firstColumnItems = getChildCount() / mNumColumns + ((getChildCount() % mNumColumns) > 0 in onMeasure() 172 int itemsPerColumn = getChildCount() / mNumColumns; in onLayout() 174 int remainderItems = getChildCount() % mNumColumns; in onLayout() 179 for (int i = 0; i < getChildCount(); i++) { in onLayout()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/ |
D | ListOfShortShortTallShortShortTest.java | 46 assertEquals("list visible child count", 3, mListView.getChildCount()); in testPreconditions() 69 1, mListView.getChildCount()); in testFadeTopTwoItemsOut() 81 assertEquals("number of list children", 1, mListView.getChildCount()); in testFadeInTwoBottomItems() 86 3, mListView.getChildCount()); in testFadeInTwoBottomItems() 112 1, mListView.getChildCount()); in testFadeOutBottomTwoItems() 126 assertEquals("number of list children", 1, mListView.getChildCount()); in testFadeInTopTwoItems() 131 3, mListView.getChildCount()); in testFadeInTopTwoItems()
|
D | ListOfItemsTallerThanScreenTest.java | 47 assertEquals("should only be one visible child", 1, mListView.getChildCount()); in testPreconditions() 76 assertEquals("child count", 2, mListView.getChildCount()); in testScrollDownAcrossItem() 86 assertEquals(1, mListView.getChildCount()); in testScrollDownToNextItem() 102 assertEquals(2, mListView.getChildCount()); in testScrollDownToNextItem() 127 1, mListView.getChildCount()); in testScrollFirstItemOffScreen() 158 1, mListView.getChildCount()); in testScrollDownToLastItem() 169 assertEquals(2, mListView.getChildCount()); in testScrollUpAcrossFirstItem() 172 assertEquals(1, mListView.getChildCount()); in testScrollUpAcrossFirstItem()
|
D | ListWithFirstScreenUnSelectableTest.java | 43 assertEquals(1, mListView.getChildCount()); in testPreconditions() 56 assertEquals(1, mListView.getChildCount()); in testScrollUpDoesNothing() 62 assertEquals(2, mListView.getChildCount()); in testScrollDownPansNextItemOn()
|
D | ListLastItemPartiallyVisibleTest.java | 45 "in adapter", mListView.getCount(), mListView.getChildCount()); in testPreconditions() 47 final View lastChild = mListView.getChildAt(mListView.getChildCount() - 1); in testPreconditions() 71 mListView.getChildCount() - 1, mListView.getSelectedItemPosition()); in testMovingUpToFullyVisibleNoScroll()
|
D | ListOfItemsShorterThanScreenTest.java | 79 final int lastOnScreenItemIndex = mListView.getChildCount() - 1; in testMoveDownToItemRequiringScrolling() 97 … assertEquals(mListView.getSelectedView(), mListView.getChildAt(mListView.getChildCount() - 2)); in testMoveDownToItemRequiringScrolling() 100 final TextView view = (TextView) mListView.getChildAt(mListView.getChildCount() - 1); in testMoveDownToItemRequiringScrolling() 111 int numItemsOnScreen = mListView.getChildCount(); in testMoveUpToItemRequiringScrolling()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/tv/animations/ |
D | HomeRecentsEnterExitAnimationHolder.java | 48 for(int i = 0; i < mGridView.getChildCount(); i++) { in startEnterAnimation() 61 for(int i = mGridView.getChildCount() - 1; i >= 0; i--) { in startExitAnimation() 67 .setStartDelay(mDelay * (mGridView.getChildCount() - 1 - i)) in startExitAnimation() 82 for(int i = 0; i < mGridView.getChildCount(); i++) { in setEnterFromHomeStartingAnimationValues() 98 for(int i = 0; i < mGridView.getChildCount(); i++) { in setEnterFromAppStartingAnimationValues()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PageIndicator.java | 49 while (numPages < getChildCount()) { in setNumPages() 50 removeViewAt(getChildCount() - 1); in setNumPages() 52 while (numPages > getChildCount()) { in setNumPages() 64 (index + 1), getChildCount())); in setLocation() 94 final int N = getChildCount(); in setIndex() 187 final int N = getChildCount(); 205 final int N = getChildCount();
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | InvalidateActivity.java | 72 for (int y = 0; y < root.getChildCount(); y++) { in onCreate() 75 mColorViews = new ColorView[root.getChildCount()][row.getChildCount()]; in onCreate() 78 for (int x = 0; x < row.getChildCount(); x++) { in onCreate()
|
/frameworks/base/core/java/android/widget/ |
D | ViewAnimator.java | 103 if (whichChild >= getChildCount()) { in setDisplayedChild() 106 mWhichChild = getChildCount() - 1; in setDisplayedChild() 151 final int count = getChildCount(); in showOnly() 184 if (getChildCount() == 1) { in addView() 213 final int childCount = getChildCount(); in removeViewAt() 232 if (getChildCount() == 0) { in removeViews()
|
D | HorizontalScrollView.java | 172 if (getChildCount() == 0) { in getLeftFadingEdgeStrength() 186 if (getChildCount() == 0) { in getRightFadingEdgeStrength() 224 if (getChildCount() > 0) { in addView() 233 if (getChildCount() > 0) { in addView() 242 if (getChildCount() > 0) { in addView() 251 if (getChildCount() > 0) { in addView() 326 if (getChildCount() > 0) { in onMeasure() 407 if (getChildCount() > 0) { in inChild() 569 if (getChildCount() == 0) { in onTouchEvent() 660 if (getChildCount() > 0) { in onTouchEvent() [all …]
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearLayoutManager.java | 226 if (getChildCount() > 0) { in onInitializeAccessibilityEvent() 240 if (getChildCount() > 0) { in onSaveInstanceState() 387 final int childCount = getChildCount(); in findViewByPosition() 439 if (getChildCount() == 0) { in computeScrollVectorForPosition() 604 if (getChildCount() > 0) { 667 if (!state.willRunPredictiveAnimations() || getChildCount() == 0 || state.isPreLayout() in layoutForPredictiveAnimations() 746 if (getChildCount() == 0) { in updateAnchorFromChildren() 845 if (getChildCount() > 0) { 1077 if (getChildCount() == 0) { in computeScrollOffset() 1088 if (getChildCount() == 0) { in computeScrollExtent() [all …]
|
D | ChildHelper.java | 99 offset = mCallback.getChildCount(); in addView() 117 final int limit = mCallback.getChildCount(); in getOffset() 231 offset = mCallback.getChildCount(); in attachViewToParent() 252 int getChildCount() { in getChildCount() method in ChildHelper 253 return mCallback.getChildCount() - mHiddenViews.size(); in getChildCount() 263 return mCallback.getChildCount(); in getUnfilteredChildCount() 515 int getChildCount(); in getChildCount() method
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
D | AccessibilityWindowInfoCompat.java | 40 public int getChildCount(Object info); in getChildCount() method 104 public int getChildCount(Object info) { in getChildCount() method in AccessibilityWindowInfoCompat.AccessibilityWindowInfoStubImpl 185 public int getChildCount(Object info) { in getChildCount() method in AccessibilityWindowInfoCompat.AccessibilityWindowInfoApi21Impl 186 return AccessibilityWindowInfoCompatApi21.getChildCount(info); in getChildCount() 369 public int getChildCount() { in getChildCount() method in AccessibilityWindowInfoCompat 370 return IMPL.getChildCount(mInfo); in getChildCount() 476 builder.append(", hasChildren=").append(getChildCount() > 0); in toString()
|
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/ |
D | AddColumnTest.java | 65 assertTrue(row1.getChildCount() < row2.getChildCount()); in testWidths() 67 for (int i = 0; i < row1.getChildCount(); i++) { in testWidths()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ControlBar.java | 41 if (getChildCount() > 0) { in requestFocus() 42 if (getChildAt(getChildCount() / 2).requestFocus(direction, previouslyFocusedRect)) { in requestFocus() 73 for (int i = 0; i < getChildCount() - 1; i++) { in onMeasure()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiCollection.java | 57 int count = getChildCount(childPattern); in getChildByDescription() 115 int count = getChildCount(childPattern); in getChildByText() 142 public int getChildCount(UiSelector childPattern) { in getChildCount() method in UiCollection
|
/frameworks/data-binding/compiler/src/test/java/android/databinding/ |
D | BindingExpressionParserTest.java | 214 assertEquals(5, expression.getChildCount()); in testTernaryOperator() 227 assertEquals(3, expression.getChildCount()); in testDot() 239 assertEquals(3, expression.getChildCount()); in testQuestionQuestion() 277 assertEquals(2, expression.getChildCount()); in compareUnaryOperators() 286 assertEquals(3, expression.getChildCount()); in compareBinaryOperators() 298 assertEquals(3, expression.getChildCount()); in compareMathOperators() 310 assertEquals(3, expression.getChildCount()); in compareBitShiftOperators() 322 assertEquals(3, expression.getChildCount()); in compareComparisonOperators() 334 assertEquals(3, expression.getChildCount()); in compareAndOrOperators()
|