/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListGetCheckItemIdsTest.java | 74 int childCount = mListView.getChildCount(); in testSimpleCheck() local 75 for (int i=0; i<childCount; i++) { in testSimpleCheck() 81 for (int i = 0; i < childCount; i++) { in testSimpleCheck() 83 mListView.setItemChecked((i - 3 + childCount) % childCount, false); in testSimpleCheck() 84 mListView.setItemChecked((i + 1) % childCount, false); in testSimpleCheck() 95 int childCount = mListView.getChildCount(); in testMultipleCheck() local 96 assertTrue("Tests requires at least 4 items", childCount >= 4); in testMultipleCheck() 135 int childCount = mListView.getChildCount(); in testClearChoices() local 136 for (int i = 0; i < childCount; i++) { in testClearChoices()
|
D | ListSetSelectionTest.java | 55 int childCount = mListView.getChildCount(); in testSetSelection() local 56 for (int i=0; i<childCount; i++) { in testSetSelection()
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 65 final int childCount = getChildCount(); in onMeasure() local 66 final int rowCount = childCount / mColumnCount + childCount % mColumnCount; in onMeasure() 75 if (childIndex >= childCount) { in onMeasure() 128 final int childCount = getChildCount(); in onLayout() local 129 final int rowCount = childCount / mColumnCount + childCount % mColumnCount; in onLayout() 147 if (childIndex >= childCount) { in onLayout()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListSetSelectionTest.java | 74 int childCount = mListView.getChildCount(); in testSetSelection() local 75 for (int i=0; i<childCount; i++) { in testSetSelection() 105 int childCount = mListView.getChildCount(); in testSetSelectionFromTop() local 106 for (int i=0; i<childCount; i++) { in testSetSelectionFromTop() 140 int childCount = mListView.getChildCount(); in testSetSelection0() local 141 for (int i=0; i<childCount; i++) { in testSetSelection0()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithm.java | 125 int childCount = algorithmState.visibleChildren.size(); in getNotificationChildrenStates() local 126 for (int i = 0; i < childCount; i++) { in getNotificationChildrenStates() 137 int childCount = algorithmState.visibleChildren.size(); in updateSpeedBumpState() local 139 for (int i = 0; i < childCount; i++) { in updateSpeedBumpState() 163 int childCount = algorithmState.visibleChildren.size(); in updateClipping() local 165 for (int i = 0; i < childCount; i++) { in updateClipping() 218 int childCount = algorithmState.visibleChildren.size(); in updateDimmedActivatedHideSensitive() local 219 for (int i = 0; i < childCount; i++) { in updateDimmedActivatedHideSensitive() 250 int childCount = hostView.getChildCount(); in initAlgorithmState() local 252 state.visibleChildren.ensureCapacity(childCount); in initAlgorithmState() [all …]
|
D | NotificationChildrenContainer.java | 156 int childCount = Math.min(mChildren.size(), NUMBER_OF_CHILDREN_WHEN_CHILDREN_EXPANDED); in onLayout() local 157 for (int i = 0; i < childCount; i++) { in onLayout() 198 int childCount = Math.min(mChildren.size(), NUMBER_OF_CHILDREN_WHEN_CHILDREN_EXPANDED); in onMeasure() local 200 int overflowIndex = childCount > collapsedChildren ? collapsedChildren - 1 : -1; in onMeasure() 201 for (int i = 0; i < childCount; i++) { in onMeasure() 367 int childCount = mChildren.size(); 369 if (childCount > maxAllowedVisibleChildren) { 370 int number = childCount - maxAllowedVisibleChildren; 471 int childCount = mChildren.size(); 478 for (int i = 0; i < childCount; i++) { [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 159 final int childCount = getChildCount(); in onMeasure() local 160 if (mFormatItems && childCount > 0) { in onMeasure() 164 for (int i = 0; i < childCount; i++) { in onMeasure() 209 final int childCount = getChildCount(); in onMeasureExactFormat() local 210 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 259 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 285 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 320 if ((smallestItemsAt & (1 << (childCount - 1))) != 0) { in onMeasureExactFormat() 321 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() 329 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() [all …]
|
D | GridView.java | 541 final int childCount = getChildCount(); in findMotionRow() local 542 if (childCount > 0) { in findMotionRow() 546 for (int i = 0; i < childCount; i += numColumns) { in findMotionRow() 552 for (int i = childCount - 1; i >= 0; i -= numColumns) { in findMotionRow() 608 final int childCount = getChildCount(); in fillSpecific() local 609 if (childCount > 0) { in fillSpecific() 610 correctTooHigh(numColumns, verticalSpacing, childCount); in fillSpecific() 617 final int childCount = getChildCount(); in fillSpecific() local 618 if (childCount > 0) { in fillSpecific() 619 correctTooLow(numColumns, verticalSpacing, childCount); in fillSpecific() [all …]
|
D | AbsListView.java | 1283 final int childCount = getChildCount(); in contentFits() local 1284 if (childCount == 0) return true; in contentFits() 1285 if (childCount != mItemCount) return false; in contentFits() 1288 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom; in contentFits() 2085 final int childCount = getChildCount(); in computeVerticalScrollOffset() local 2086 if (firstPosition >= 0 && childCount > 0) { in computeVerticalScrollOffset() 2100 } else if (firstPosition + childCount == count) { in computeVerticalScrollOffset() 2103 index = firstPosition + childCount / 2; in computeVerticalScrollOffset() 2105 return (int) (firstPosition + childCount * (index / (float) count)); in computeVerticalScrollOffset() 2175 final int childCount = getChildCount(); in onMeasure() local [all …]
|
D | TabWidget.java | 140 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 146 if (i == childCount - 1) { in getChildDrawingOrder() 188 int childCount = 0; in measureHorizontal() local 192 childCount++; in measureHorizontal() 195 if (childCount > 0) { in measureHorizontal() 203 final int delta = extraWidth / childCount; in measureHorizontal() 208 childCount--; in measureHorizontal()
|
D | ViewAnimator.java | 218 final int childCount = getChildCount(); in removeViewAt() local 219 if (childCount == 0) { in removeViewAt() 222 } else if (mWhichChild >= childCount) { in removeViewAt() 224 setDisplayedChild(childCount - 1); in removeViewAt()
|
D | ListView.java | 288 final int childCount = getChildCount(); in adjustViewsUpOrDown() local 291 if (childCount > 0) { in adjustViewsUpOrDown() 310 child = getChildAt(childCount - 1); in adjustViewsUpOrDown() 313 if (mFirstPosition + childCount < mItemCount) { in adjustViewsUpOrDown() 653 final int childCount = getChildCount(); in showingBottomFadingEdge() local 654 final int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in showingBottomFadingEdge() 655 final int lastVisiblePosition = mFirstPosition + childCount - 1; in showingBottomFadingEdge() 685 int childCount = getChildCount(); in requestChildRectangleOnScreen() local 686 int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in requestChildRectangleOnScreen() 1457 int childCount = getChildCount(); in findMotionRow() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyboardShortcutKeysLayout.java | 47 int childCount = getChildCount(); in onMeasure() local 60 for (int i = 0; i < childCount; i++) { in onMeasure() 108 int childCount = getChildCount(); in onLayout() local 119 for (int i = 0; i < childCount; i++) { in onLayout() 149 if (rowStartIdx < childCount) { in onLayout() 150 layoutChildrenOnRow(rowStartIdx, childCount, fullRowWidth, xPos, yPos, in onLayout()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 509 final int childCount = childIds.size(); in writeToParcel() local 510 parcel.writeInt(childCount); in writeToParcel() 511 for (int i = 0; i < childCount; i++) { in writeToParcel() 555 final int childCount = parcel.readInt(); in initFromParcel() local 556 if (childCount > 0) { in initFromParcel() 558 mChildIds = new LongArray(childCount); in initFromParcel() 560 for (int i = 0; i < childCount; i++) { in initFromParcel() 605 final int childCount = mChildIds.size(); in toString() local 606 for (int i = 0; i < childCount; i++) { in toString() 608 if (i < childCount - 1) { in toString()
|
D | AccessibilityCache.java | 421 final int childCount = current.getChildCount(); in clearSubTreeRecursiveLocked() local 422 for (int i = 0; i < childCount; i++) { in clearSubTreeRecursiveLocked() 521 final int childCount = nodeParent.getChildCount(); in checkIntegrity() local 522 for (int k = 0; k < childCount; k++) { in checkIntegrity() 536 final int childCount = node.getChildCount(); in checkIntegrity() local 537 for (int k = 0; k < childCount; k++) { in checkIntegrity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | ReverseLinearLayout.java | 91 int childCount = getChildCount(); in updateOrder() local 92 ArrayList<View> childList = new ArrayList<>(childCount); in updateOrder() 93 for (int i = 0; i < childCount; i++) { in updateOrder() 97 for (int i = childCount - 1; i >= 0; i--) { in updateOrder()
|
D | NotificationIconContainer.java | 380 int childCount = getChildCount(); in calculateIconTranslations() local 382 mIsStaticLayout ? MAX_STATIC_ICONS : childCount; in calculateIconTranslations() 388 for (int i = 0; i < childCount; i++) { in calculateIconTranslations() 397 boolean noOverflowAfter = i == childCount - 1; in calculateIconTranslations() 421 for (int i = firstOverflowIndex; i < childCount; i++) { in calculateIconTranslations() 440 } else if (childCount > 0) { in calculateIconTranslations() 441 View lastChild = getChildAt(childCount - 1); in calculateIconTranslations() 465 for (int i = 0; i < childCount; i++) { in calculateIconTranslations() 473 for (int i = 0; i < childCount; i++) { in calculateIconTranslations()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | ItemGroup.java | 137 final int childCount = child.getCount(); in removeChild() local 140 if (childCount > 0) { in removeChild() 141 notifyItemRangeRemoved(childPosition, childCount); in removeChild() 199 int childCount = children.size(); in getChildPosition() local 200 for (int i = childIndex; childPos < 0 && i < childCount; i++) { in getChildPosition()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | ButtonBarLayout.java | 82 int childCount = getChildCount(); in setStacked() local 83 for (int i = 0; i < childCount; i++) { in setStacked() 101 for (int i = childCount - 1; i >= 0; i--) { in setStacked()
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | QueryController.java | 324 int childCount = fromNode.getChildCount(); in findNodeRegularRecursive() local 326 for (int i = 0; i < childCount; i++) { in findNodeRegularRecursive() 330 "AccessibilityNodeInfo returned a null child (%d of %d)", i, childCount)); in findNodeRegularRecursive() 454 int childCount = fromNode.getChildCount(); in findNodePatternRecursive() local 456 for (int i = 0; i < childCount; i++) { in findNodePatternRecursive() 460 "AccessibilityNodeInfo returned a null child (%d of %d)", i, childCount)); in findNodePatternRecursive()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchSetSelectionTest.java | 72 int childCount = mGridView.getChildCount(); in testSetSelection() local 73 for (int i=0; i<childCount; i++) { in testSetSelection()
|
/frameworks/base/core/java/com/android/internal/widget/helper/ |
D | ItemTouchUIUtilImpl.java | 49 final int childCount = recyclerView.getChildCount(); in findMaxElevation() local 51 for (int i = 0; i < childCount; i++) { in findMaxElevation()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 524 final int childCount = getChildCount(); 525 for (int i = 0; i < childCount; i++) { 615 final int childCount = parent.getChildCount(); 616 for (int i = childCount - 1; i >= 0; i--) { 666 final int childCount = getChildCount(); 667 for (int i = indexOfChild(directChild) + 1; i < childCount; i++) { 864 final int childCount = getChildCount(); 865 for (int i = 0; i < childCount; i++) { 884 for (int i = 0; i < childCount; i++) { 934 final int childCount = getChildCount(); [all …]
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 54 int childCount; field in GroupingListAdapter.PositionMetadata 354 metadata.childCount = size; in obtainPositionMetadata() 399 return mPositionMetadata.childCount; in getGroupSize() 477 bindGroupView(view, mContext, mCursor, mPositionMetadata.childCount, in getView()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 506 final int childCount = getChildCount(); in recycleOffscreenViews() local 507 if (childCount > 0) { in recycleOffscreenViews() 512 for (int i = 0; i < childCount; i++){ in recycleOffscreenViews() 693 final int childCount = getChildCount(); in dumpItemPositions() local 699 for (int j = 0; j < childCount; j++) { in dumpItemPositions() 713 for (int j = 0; j < childCount; j++) { in dumpItemPositions() 726 final int childCount = getChildCount(); in offsetChildren() local 727 for (int i = 0; i < childCount; i++) { in offsetChildren() 756 final int childCount = getChildCount(); in layoutChildren() local 757 for (int i = 0; i < childCount; i++) { in layoutChildren() [all …]
|