/frameworks/base/core/java/android/view/ |
D | GhostView.java | 175 final int numChildren = viewGroup.getChildCount(); in moveGhostViewsToTop() local 176 if (numChildren == 0) { in moveGhostViewsToTop() 178 } else if (isGhostWrapper(viewGroup.getChildAt(numChildren - 1))) { in moveGhostViewsToTop() 180 int firstGhost = numChildren - 1; in moveGhostViewsToTop() 181 for (int i = numChildren - 2; i >= 0; i--) { in moveGhostViewsToTop() 191 for (int i = numChildren - 2; i >= 0; i--) { in moveGhostViewsToTop()
|
/frameworks/base/core/java/android/content/ |
D | UriMatcher.java | 182 int numChildren = children.size(); in addURI() 185 for (j = 0; j < numChildren; j++) { in addURI() 192 if (j == numChildren) { in addURI()
|
/frameworks/base/core/java/android/widget/ |
D | Gallery.java | 506 int numChildren = getChildCount(); in detachOffScreenChildren() local 513 for (int i = 0; i < numChildren; i++) { in detachOffScreenChildren() 514 int n = mIsRtl ? (numChildren - 1 - i) : i; in detachOffScreenChildren() 529 for (int i = numChildren - 1; i >= 0; i--) { in detachOffScreenChildren() 530 int n = mIsRtl ? numChildren - 1 - i : i; in detachOffScreenChildren() 724 int numChildren = getChildCount(); in fillToGalleryLeftRtl() local 728 View prevIterationView = getChildAt(numChildren - 1); in fillToGalleryLeftRtl() 733 curPosition = mFirstPosition + numChildren; in fillToGalleryLeftRtl() 827 int numChildren = getChildCount(); in fillToGalleryRightLtr() local 831 View prevIterationView = getChildAt(numChildren - 1); in fillToGalleryRightLtr() [all …]
|
D | ListView.java | 2612 final int numChildren = getChildCount(); in handleHorizontalFocusWithinListItem() local 2613 if (mItemsCanFocus && numChildren > 0 && mSelectedPosition != INVALID_POSITION) { in handleHorizontalFocusWithinListItem() 2840 final int numChildren = getChildCount(); in handleNewSelectionChange() local 2845 measureAndAdjustDown(topView, topViewIndex, numChildren); in handleNewSelectionChange() 2851 measureAndAdjustDown(bottomView, bottomViewIndex, numChildren); in handleNewSelectionChange() 2862 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { in measureAndAdjustDown() argument 2871 for (int i = childIndex + 1; i < numChildren; i++) { in measureAndAdjustDown() 2941 int numChildren = getChildCount(); in amountToScroll() local 2944 int indexToMakeVisible = numChildren - 1; in amountToScroll() 2948 while (numChildren <= indexToMakeVisible) { in amountToScroll() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | NotificationGroupAlertTransferHelper.java | 340 int numChildren = children.size(); in checkShouldTransferBack() local 342 numChildren += numPendingChildren; in checkShouldTransferBack() 343 if (numChildren <= 1) { in checkShouldTransferBack() 361 boolean notifyImmediately = (numChildren - numPendingChildren) > 1; in checkShouldTransferBack()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/ |
D | ShadeListBuilderLogger.kt | 41 fun logEndBuildList(iterationCount: Int, topLevelEntries: Int, numChildren: Int) { in logEndBuildList() 45 int2 = numChildren in logEndBuildList()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationBlockingHelperManagerTest.java | 296 private ExpandableNotificationRow createBlockableGroupRowSpy(int numChildren) throws Exception { in createBlockableGroupRowSpy() argument 297 ExpandableNotificationRow row = spy(mHelper.createGroup(numChildren)); in createBlockableGroupRowSpy()
|
D | NotificationTestHelper.java | 208 public ExpandableNotificationRow createGroup(int numChildren) throws Exception { in createGroup() argument 210 for (int i = 0; i < numChildren; i++) { in createGroup()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceRefcountedResourceTest.java | 330 int numChildren = ThreadLocalRandom.current().nextInt(0, resources.size() + 1); in fuzzTest() local 334 for (int j = 0; j < numChildren; j++) { in fuzzTest()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthBiometricView.java | 701 final int numChildren = getChildCount(); in onMeasure() local 702 for (int i = 0; i < numChildren; i++) { in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | StackScrollAlgorithm.java | 119 int numChildren = mHostView.getChildCount(); in resetChildViewStates() local 120 for (int i = 0; i < numChildren; i++) { in resetChildViewStates()
|
D | NotificationStackScrollLayout.java | 4824 int numChildren = getChildCount(); 4825 for (int i = 0; i < numChildren; i++) { 5652 int numChildren = getChildCount(); 5654 final ArrayList<View> viewsToHide = new ArrayList<>(numChildren); 5655 final ArrayList<ExpandableNotificationRow> viewsToRemove = new ArrayList<>(numChildren); 5656 for (int i = 0; i < numChildren; i++) {
|
/frameworks/base/core/java/android/animation/ |
D | LayoutTransition.java | 772 int numChildren = parent.getChildCount(); in runChangeTransition() local 774 for (int i = 0; i < numChildren; ++i) { in runChangeTransition()
|
/frameworks/base/core/java/android/app/assist/ |
D | AssistStructure.java | 186 int numChildren; field in AssistStructure.ViewStackEntry 266 entry.numChildren = node.getChildCount(); in pushViewStackEntry() 294 if (mCurViewStackEntry.curChild < mCurViewStackEntry.numChildren) { in writeNextEntryToParcel() 316 } while (mCurViewStackEntry.curChild >= mCurViewStackEntry.numChildren); in writeNextEntryToParcel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSPanel.java | 314 int numChildren = getChildCount(); in onMeasure() local 315 for (int i = 0; i < numChildren; i++) { in onMeasure()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ExpandableNotificationRow.java | 2394 final int numChildren = childrenRows.size(); 2395 for (int i = 0; i < numChildren; i++) {
|