Home
last modified time | relevance | path

Searched refs:numChildren (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/view/
DGhostView.java175 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/
DUriMatcher.java182 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/
DGallery.java506 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 …]
DListView.java2616 final int numChildren = getChildCount(); in handleHorizontalFocusWithinListItem() local
2617 if (mItemsCanFocus && numChildren > 0 && mSelectedPosition != INVALID_POSITION) { in handleHorizontalFocusWithinListItem()
2844 final int numChildren = getChildCount(); in handleNewSelectionChange() local
2849 measureAndAdjustDown(topView, topViewIndex, numChildren); in handleNewSelectionChange()
2855 measureAndAdjustDown(bottomView, bottomViewIndex, numChildren); in handleNewSelectionChange()
2866 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { in measureAndAdjustDown() argument
2875 for (int i = childIndex + 1; i < numChildren; i++) { in measureAndAdjustDown()
2945 int numChildren = getChildCount(); in amountToScroll() local
2948 int indexToMakeVisible = numChildren - 1; in amountToScroll()
2952 while (numChildren <= indexToMakeVisible) { in amountToScroll()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelper.java363 int numChildren = children.size(); in checkShouldTransferBack() local
365 numChildren += numPendingChildren; in checkShouldTransferBack()
366 if (numChildren <= 1) { in checkShouldTransferBack()
383 boolean notifyImmediately = (numChildren - numPendingChildren) > 1; in checkShouldTransferBack()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java131 public ExpandableNotificationRow createGroup(int numChildren) throws Exception { in createGroup() argument
133 for (int i = 0; i < numChildren; i++) { in createGroup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationBlockingHelperManagerTest.java269 private ExpandableNotificationRow createBlockableGroupRowSpy(int numChildren) throws Exception { in createBlockableGroupRowSpy() argument
270 ExpandableNotificationRow row = spy(mHelper.createGroup(numChildren)); in createBlockableGroupRowSpy()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java328 int numChildren = ThreadLocalRandom.current().nextInt(0, resources.size() + 1); in fuzzTest() local
332 for (int j = 0; j < numChildren; j++) { in fuzzTest()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java158 int numChildren = getChildCount(); in onMeasure() local
159 for (int i = 0; i < numChildren; i++) { in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java116 int numChildren = mHostView.getChildCount(); in resetChildViewStates() local
117 for (int i = 0; i < numChildren; i++) { in resetChildViewStates()
DNotificationStackScrollLayout.java4607 int numChildren = getChildCount();
4608 for (int i = 0; i < numChildren; i++) {
5483 int numChildren = getChildCount();
5485 final ArrayList<View> viewsToHide = new ArrayList<>(numChildren);
5486 final ArrayList<ExpandableNotificationRow> viewsToRemove = new ArrayList<>(numChildren);
5487 for (int i = 0; i < numChildren; i++) {
/frameworks/base/core/java/android/animation/
DLayoutTransition.java772 int numChildren = parent.getChildCount(); in runChangeTransition() local
774 for (int i = 0; i < numChildren; ++i) { in runChangeTransition()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java185 int numChildren; field in AssistStructure.ViewStackEntry
265 entry.numChildren = node.getChildCount(); in pushViewStackEntry()
293 if (mCurViewStackEntry.curChild < mCurViewStackEntry.numChildren) { in writeNextEntryToParcel()
315 } while (mCurViewStackEntry.curChild >= mCurViewStackEntry.numChildren); in writeNextEntryToParcel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRow.java2422 final int numChildren = childrenRows.size();
2423 for (int i = 0; i < numChildren; i++) {
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4305 Landroid/app/assist/AssistStructure$ViewStackEntry;->numChildren:I