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.java2612 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/
DNotificationGroupAlertTransferHelper.java351 int numChildren = children.size(); in checkShouldTransferBack() local
353 numChildren += numPendingChildren; in checkShouldTransferBack()
354 if (numChildren <= 1) { in checkShouldTransferBack()
371 boolean notifyImmediately = (numChildren - numPendingChildren) > 1; in checkShouldTransferBack()
/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/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationTestHelper.java138 public ExpandableNotificationRow createGroup(int numChildren) throws Exception { in createGroup() argument
140 for (int i = 0; i < numChildren; i++) { in createGroup()
/frameworks/base/tests/net/java/com/android/server/
DIpSecServiceRefcountedResourceTest.java330 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/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.java4652 int numChildren = getChildCount();
4653 for (int i = 0; i < numChildren; i++) {
5468 int numChildren = getChildCount();
5470 final ArrayList<View> viewsToHide = new ArrayList<>(numChildren);
5471 final ArrayList<ExpandableNotificationRow> viewsToRemove = new ArrayList<>(numChildren);
5472 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.java2398 final int numChildren = childrenRows.size();
2399 for (int i = 0; i < numChildren; i++) {
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt4006 Landroid/app/assist/AssistStructure$ViewStackEntry;->numChildren:I