/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/SystemUI/src/com/android/systemui/util/animation/ |
D | TransitionLayout.kt | 84 val childCount = childCount in onFinishInflate() constant 85 for (i in 0 until childCount) { in onFinishInflate() 101 val childCount = childCount in applyCurrentState() constant 104 for (i in 0 until childCount) { in applyCurrentState() 169 for (i in 0 until childCount) { in onMeasure() 186 val childCount = childCount in onLayout() constant 187 for (i in 0 until childCount) { in onLayout() 252 val childCount = childCount in applySetToFullLayout() constant 253 for (i in 0 until childCount) { in applySetToFullLayout() 270 val childCount = childCount in ensureViewsNotGone() constant [all …]
|
/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 | 128 int childCount = algorithmState.visibleChildren.size(); in getNotificationChildrenStates() local 129 for (int i = 0; i < childCount; i++) { in getNotificationChildrenStates() 140 int childCount = algorithmState.visibleChildren.size(); in updateSpeedBumpState() local 142 for (int i = 0; i < childCount; i++) { in updateSpeedBumpState() 166 int childCount = algorithmState.visibleChildren.size(); in updateClipping() local 168 for (int i = 0; i < childCount; i++) { in updateClipping() 207 int childCount = algorithmState.visibleChildren.size(); in updateDimmedActivatedHideSensitive() local 208 for (int i = 0; i < childCount; i++) { in updateDimmedActivatedHideSensitive() 239 int childCount = hostView.getChildCount(); in initAlgorithmState() local 241 state.visibleChildren.ensureCapacity(childCount); in initAlgorithmState() [all …]
|
D | NotificationChildrenContainer.java | 159 int childCount = in onLayout() local 161 for (int i = 0; i < childCount; i++) { in onLayout() 202 int childCount = in onMeasure() local 205 int overflowIndex = childCount > collapsedChildren ? collapsedChildren - 1 : -1; in onMeasure() 206 for (int i = 0; i < childCount; i++) { in onMeasure() 254 public void setUntruncatedChildCount(int childCount) { in setUntruncatedChildCount() argument 255 mUntruncatedChildCount = childCount; in setUntruncatedChildCount() 506 int childCount = mAttachedChildren.size(); 513 for (int i = 0; i < childCount; i++) { 556 int childCount = mAttachedChildren.size(); [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 | 1280 final int childCount = getChildCount(); in contentFits() local 1281 if (childCount == 0) return true; in contentFits() 1282 if (childCount != mItemCount) return false; in contentFits() 1285 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom; in contentFits() 2067 final int childCount = getChildCount(); in computeVerticalScrollOffset() local 2068 if (firstPosition >= 0 && childCount > 0) { in computeVerticalScrollOffset() 2082 } else if (firstPosition + childCount == count) { in computeVerticalScrollOffset() 2085 index = firstPosition + childCount / 2; in computeVerticalScrollOffset() 2087 return (int) (firstPosition + childCount * (index / (float) count)); in computeVerticalScrollOffset() 2157 final int childCount = getChildCount(); in onMeasure() local [all …]
|
D | TabWidget.java | 153 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 159 if (i == childCount - 1) { in getChildDrawingOrder() 201 int childCount = 0; in measureHorizontal() local 205 childCount++; in measureHorizontal() 208 if (childCount > 0) { in measureHorizontal() 216 final int delta = extraWidth / childCount; in measureHorizontal() 221 childCount--; in measureHorizontal()
|
D | ViewAnimator.java | 223 final int childCount = getChildCount(); in removeViewAt() local 224 if (childCount == 0) { in removeViewAt() 227 } else if (mWhichChild >= childCount) { in removeViewAt() 229 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/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 | 387 int childCount = getChildCount(); in calculateIconTranslations() local 389 mIsStaticLayout ? MAX_STATIC_ICONS : childCount; in calculateIconTranslations() 395 for (int i = 0; i < childCount; i++) { in calculateIconTranslations() 409 boolean noOverflowAfter = i == childCount - 1; in calculateIconTranslations() 433 for (int i = firstOverflowIndex; i < childCount; i++) { in calculateIconTranslations() 452 } else if (childCount > 0) { in calculateIconTranslations() 453 View lastChild = getChildAt(childCount - 1); in calculateIconTranslations() 477 for (int i = 0; i < childCount; i++) { in calculateIconTranslations() 485 for (int i = 0; i < childCount; i++) { in calculateIconTranslations()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 589 final int childCount = childIds.size(); in writeToParcel() local 590 parcel.writeInt(childCount); in writeToParcel() 591 for (int i = 0; i < childCount; i++) { in writeToParcel() 638 final int childCount = parcel.readInt(); in initFromParcel() local 639 if (childCount > 0) { in initFromParcel() 641 mChildIds = new LongArray(childCount); in initFromParcel() 643 for (int i = 0; i < childCount; i++) { in initFromParcel() 690 final int childCount = mChildIds.size(); in toString() local 691 for (int i = 0; i < childCount; i++) { in toString() 693 if (i < childCount - 1) { in toString()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | GroupEntry.java | 70 public void setUntruncatedChildCount(int childCount) { in setUntruncatedChildCount() argument 71 mUntruncatedChildCount = childCount; in setUntruncatedChildCount()
|
/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/packages/SystemUI/src/com/android/systemui/media/ |
D | MediaCarouselScrollHandler.kt | 461 mediaContent.childCount - relativeLocation - 1 in onMediaScrollingChanged() 479 val childCount = mediaContent.childCount in updateMediaPaddings() constant 480 for (i in 0 until childCount) { in updateMediaPaddings() 482 val desiredPaddingEnd = if (i == childCount - 1) 0 else padding in updateMediaPaddings() 493 for (i in 0 until mediaContent.childCount) { in updatePlayerVisibilities()
|
/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()
|