/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 | 102 val childCount = childCount in onFinishInflate() constant 103 for (i in 0 until childCount) { in onFinishInflate() 127 val childCount = childCount in applyCurrentState() constant 130 for (i in 0 until childCount) { in applyCurrentState() 199 for (i in 0 until childCount) { in onMeasure() 216 val childCount = childCount in onLayout() constant 217 for (i in 0 until childCount) { in onLayout() 282 val childCount = childCount in applySetToFullLayout() constant 283 for (i in 0 until childCount) { in applySetToFullLayout() 300 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/policy/ |
D | KeyguardUserSwitcherListView.java | 62 int childCount = getChildCount(); in setDarkAmount() local 63 for (int i = 0; i < childCount; i++) { in setDarkAmount() 87 int childCount = getChildCount(); in updateVisibilities() local 88 KeyguardUserDetailItemView[] userItemViews = new KeyguardUserDetailItemView[childCount]; in updateVisibilities() 89 for (int i = 0; i < childCount; i++) { in updateVisibilities()
|
/frameworks/libs/systemui/viewcapturelib/src/com/android/app/viewcapture/ |
D | ViewCapture.java | 352 if (viewRefEnd.childCount < 0) { 354 viewRefEnd.childCount = (copy != null) ? copy.childCount : 0; 367 int pending = copy.childCount; 370 pending = pending - 1 + copy.childCount; 482 ref.childCount = -parent.getChildCount(); 486 int childCount = ref.childCount = parent.getChildCount(); 487 for (int i = 0; i < childCount; i++) { 492 ref.childCount = 0; 525 public int childCount = 0; 545 out.childCount = this.childCount; [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 160 final int childCount = getChildCount(); in onMeasure() local 161 if (mFormatItems && childCount > 0) { in onMeasure() 165 for (int i = 0; i < childCount; i++) { in onMeasure() 210 final int childCount = getChildCount(); in onMeasureExactFormat() local 211 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 260 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 286 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 321 if ((smallestItemsAt & (1 << (childCount - 1))) != 0) { in onMeasureExactFormat() 322 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() 330 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() [all …]
|
D | GridView.java | 542 final int childCount = getChildCount(); in findMotionRow() local 543 if (childCount > 0) { in findMotionRow() 547 for (int i = 0; i < childCount; i += numColumns) { in findMotionRow() 553 for (int i = childCount - 1; i >= 0; i -= numColumns) { in findMotionRow() 609 final int childCount = getChildCount(); in fillSpecific() local 610 if (childCount > 0) { in fillSpecific() 611 correctTooHigh(numColumns, verticalSpacing, childCount); in fillSpecific() 618 final int childCount = getChildCount(); in fillSpecific() local 619 if (childCount > 0) { in fillSpecific() 620 correctTooLow(numColumns, verticalSpacing, childCount); in fillSpecific() [all …]
|
D | AbsListView.java | 1366 final int childCount = getChildCount(); in contentFits() local 1367 if (childCount == 0) return true; in contentFits() 1368 if (childCount != mItemCount) return false; in contentFits() 1371 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom; in contentFits() 2154 final int childCount = getChildCount(); in computeVerticalScrollOffset() local 2155 if (firstPosition >= 0 && childCount > 0) { in computeVerticalScrollOffset() 2169 } else if (firstPosition + childCount == count) { in computeVerticalScrollOffset() 2172 index = firstPosition + childCount / 2; in computeVerticalScrollOffset() 2174 return (int) (firstPosition + childCount * (index / (float) count)); in computeVerticalScrollOffset() 2244 final int childCount = getChildCount(); in onMeasure() local [all …]
|
D | TabWidget.java | 157 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 163 if (i == childCount - 1) { in getChildDrawingOrder() 205 int childCount = 0; in measureHorizontal() local 209 childCount++; in measureHorizontal() 212 if (childCount > 0) { in measureHorizontal() 220 final int delta = extraWidth / childCount; in measureHorizontal() 225 childCount--; in measureHorizontal()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | PinShapeHintingViewTest.kt | 47 Truth.assertThat(underTest.childCount).isEqualTo(6) in testAppend() 53 Truth.assertThat(underTest.childCount).isEqualTo(6) in testDelete() 62 Truth.assertThat(underTest.childCount).isEqualTo(6) in testReset()
|
D | PinShapeNonHintingViewTest.kt | 47 Truth.assertThat(underTest.childCount).isEqualTo(1) in testAppend() 58 { Truth.assertThat(underTest.childCount).isEqualTo(2) }, in testDelete() 70 { Truth.assertThat(underTest.childCount).isEqualTo(0) }, in testReset()
|
/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/notification/stack/ |
D | NotificationChildrenContainer.java | 206 int childCount = in onLayout() local 208 for (int i = 0; i < childCount; i++) { in onLayout() 250 int childCount = in onMeasure() local 253 int overflowIndex = childCount > collapsedChildren ? collapsedChildren - 1 : -1; in onMeasure() 254 for (int i = 0; i < childCount; i++) { in onMeasure() 302 public void setUntruncatedChildCount(int childCount) { in setUntruncatedChildCount() argument 303 mUntruncatedChildCount = childCount; in setUntruncatedChildCount() 701 int childCount = mAttachedChildren.size(); 708 for (int i = 0; i < childCount; i++) { 751 int childCount = mAttachedChildren.size(); [all …]
|
D | StackScrollAlgorithm.java | 297 int childCount = algorithmState.visibleChildren.size(); in getNotificationChildrenStates() local 298 for (int i = 0; i < childCount; i++) { in getNotificationChildrenStates() 308 int childCount = algorithmState.visibleChildren.size(); in updateSpeedBumpState() local 310 for (int i = 0; i < childCount; i++) { in updateSpeedBumpState() 338 int childCount = algorithmState.visibleChildren.size(); in updateClipping() local 341 for (int i = 0; i < childCount; i++) { in updateClipping() 424 int childCount = algorithmState.visibleChildren.size(); in updateDimmedAndHideSensitive() local 425 for (int i = 0; i < childCount; i++) { in updateDimmedAndHideSensitive() 441 int childCount = mHostView.getChildCount(); in initAlgorithmState() local 443 state.visibleChildren.ensureCapacity(childCount); in initAlgorithmState() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/ |
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()
|
/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
D | ReverseLinearLayout.java | 93 int childCount = getChildCount(); in updateOrder() local 94 ArrayList<View> childList = new ArrayList<>(childCount); in updateOrder() 95 for (int i = 0; i < childCount; i++) { in updateOrder() 99 for (int i = childCount - 1; i >= 0; i--) { in updateOrder()
|
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationIconContainer.java | 245 final int childCount = getChildCount(); in onMeasure() local 246 final int maxVisibleIcons = getMaxVisibleIcons(childCount); in onMeasure() 250 for (int i = 0; i < childCount; i++) { in onMeasure() 512 int childCount = getChildCount(); in calculateIconXTranslations() local 513 int maxVisibleIcons = getMaxVisibleIcons(childCount); in calculateIconXTranslations() 517 for (int i = 0; i < childCount; i++) { in calculateIconXTranslations() 536 /* isLastChild= */ i == childCount - 1, translationX, layoutEnd, mIconSize); in calculateIconXTranslations() 550 for (int i = firstOverflowIndex; i < childCount; i++) { in calculateIconXTranslations() 568 } else if (childCount > 0) { in calculateIconXTranslations() 569 View lastChild = getChildAt(childCount - 1); in calculateIconXTranslations() [all …]
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 701 final int childCount = childIds.size(); in writeToParcel() local 702 parcel.writeInt(childCount); in writeToParcel() 703 for (int i = 0; i < childCount; i++) { in writeToParcel() 756 final int childCount = parcel.readInt(); in initFromParcel() local 757 if (childCount > 0) { in initFromParcel() 759 mChildIds = new LongArray(childCount); in initFromParcel() 761 for (int i = 0; i < childCount; i++) { in initFromParcel() 811 final int childCount = mChildIds.size(); in toString() local 812 for (int i = 0; i < childCount; i++) { in toString() 814 if (i < childCount - 1) { in toString()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayArea.java | 515 int childCount = mChildren.size(); in forAllTaskDisplayAreas() local 516 int i = traverseTopToBottom ? childCount - 1 : 0; in forAllTaskDisplayAreas() 517 while (i >= 0 && i < childCount) { in forAllTaskDisplayAreas() 536 int childCount = mChildren.size(); in forAllTaskDisplayAreas() local 537 int i = traverseTopToBottom ? childCount - 1 : 0; in forAllTaskDisplayAreas() 538 while (i >= 0 && i < childCount) { in forAllTaskDisplayAreas() 557 int childCount = mChildren.size(); in reduceOnAllTaskDisplayAreas() local 558 int i = traverseTopToBottom ? childCount - 1 : 0; in reduceOnAllTaskDisplayAreas() 560 while (i >= 0 && i < childCount) { in reduceOnAllTaskDisplayAreas() 588 int childCount = mChildren.size(); in getItemFromTaskDisplayAreas() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
D | IgnorableChildLinearLayout.kt | 59 if (ignoreLastView && childCount > 0) { in onMeasure() 60 val lastView = getChildAt(childCount - 1) in onMeasure()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | NotificationVanishingFrameLayout.java | 61 final int childCount = getChildCount(); in allChildrenGone() local 62 for (int i = 0; i < childCount; i++) { in allChildrenGone()
|