Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java51 int numChildren = mHostView.getChildCount(); in resetViewStates() local
52 for (int i = 0; i < numChildren; i++) { in resetViewStates()
102 int numChildren = mHostView.getChildCount(); in apply() local
103 for (int i = 0; i < numChildren; i++) { in apply()
/frameworks/base/core/java/android/view/
DGhostView.java168 final int numChildren = viewGroup.getChildCount(); in moveGhostViewsToTop() local
169 if (numChildren == 0) { in moveGhostViewsToTop()
171 } else if (isGhostWrapper(viewGroup.getChildAt(numChildren - 1))) { in moveGhostViewsToTop()
173 int firstGhost = numChildren - 1; in moveGhostViewsToTop()
174 for (int i = numChildren - 2; i >= 0; i--) { in moveGhostViewsToTop()
184 for (int i = numChildren - 2; i >= 0; i--) { in moveGhostViewsToTop()
/frameworks/base/core/java/android/content/
DUriMatcher.java181 int numChildren = children.size(); in addURI()
184 for (j = 0; j < numChildren; j++) { in addURI()
191 if (j == numChildren) { in addURI()
/frameworks/base/core/java/android/widget/
DGallery.java493 int numChildren = getChildCount(); in detachOffScreenChildren() local
500 for (int i = 0; i < numChildren; i++) { in detachOffScreenChildren()
501 int n = mIsRtl ? (numChildren - 1 - i) : i; in detachOffScreenChildren()
516 for (int i = numChildren - 1; i >= 0; i--) { in detachOffScreenChildren()
517 int n = mIsRtl ? numChildren - 1 - i : i; in detachOffScreenChildren()
710 int numChildren = getChildCount(); in fillToGalleryLeftRtl() local
714 View prevIterationView = getChildAt(numChildren - 1); in fillToGalleryLeftRtl()
719 curPosition = mFirstPosition + numChildren; in fillToGalleryLeftRtl()
812 int numChildren = getChildCount(); in fillToGalleryRightLtr() local
816 View prevIterationView = getChildAt(numChildren - 1); in fillToGalleryRightLtr()
[all …]
DListView.java2595 final int numChildren = getChildCount(); in handleHorizontalFocusWithinListItem() local
2596 if (mItemsCanFocus && numChildren > 0 && mSelectedPosition != INVALID_POSITION) { in handleHorizontalFocusWithinListItem()
2822 final int numChildren = getChildCount(); in handleNewSelectionChange() local
2827 measureAndAdjustDown(topView, topViewIndex, numChildren); in handleNewSelectionChange()
2833 measureAndAdjustDown(bottomView, bottomViewIndex, numChildren); in handleNewSelectionChange()
2844 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { in measureAndAdjustDown() argument
2853 for (int i = childIndex + 1; i < numChildren; i++) { in measureAndAdjustDown()
2923 int numChildren = getChildCount(); in amountToScroll() local
2926 int indexToMakeVisible = numChildren - 1; in amountToScroll()
2930 while (numChildren <= indexToMakeVisible) { in amountToScroll()
[all …]
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DListRowPresenterTest.java99 static void assertChildrenHaveAlpha(ViewGroup group, int numChildren, float alpha) { in assertChildrenHaveAlpha() argument
100 assertEquals(numChildren, group.getChildCount()); in assertChildrenHaveAlpha()
101 for (int i = 0; i < numChildren; i++) { in assertChildrenHaveAlpha()
113 static void assertChildrenHaveColorOverlay(ViewGroup group, int numChildren, int overlayColor, in assertChildrenHaveColorOverlay() argument
115 assertEquals(numChildren, group.getChildCount()); in assertChildrenHaveColorOverlay()
116 for (int i = 0; i < numChildren; i++) { in assertChildrenHaveColorOverlay()
/frameworks/support/transition/api14/android/support/transition/
DViewOverlayApi14.java68 final int numChildren = contentView.getChildCount(); in createFrom() local
69 for (int i = 0; i < numChildren; ++i) { in createFrom()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java394 int numChildren = layerDrawable.getNumberOfLayers(); in createTranslucentLayerDrawable() local
395 Drawable[] drawables = new Drawable[numChildren]; in createTranslucentLayerDrawable()
396 for (int i = 0; i < numChildren; i++) { in createTranslucentLayerDrawable()
400 for (int i = 0; i < numChildren; i++) { in createTranslucentLayerDrawable()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java171 int numChildren; field in AssistStructure.ViewStackEntry
251 entry.numChildren = node.getChildCount(); in pushViewStackEntry()
279 if (mCurViewStackEntry.curChild < mCurViewStackEntry.numChildren) { in writeNextEntryToParcel()
301 } while (mCurViewStackEntry.curChild >= mCurViewStackEntry.numChildren); in writeNextEntryToParcel()
/frameworks/base/core/java/android/animation/
DLayoutTransition.java770 int numChildren = parent.getChildCount(); in runChangeTransition() local
772 for (int i = 0; i < numChildren; ++i) { in runChangeTransition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBar.java1372 int numChildren = mStackScroller.getChildCount(); in clearAllNotifications() local
1374 final ArrayList<View> viewsToHide = new ArrayList<View>(numChildren); in clearAllNotifications()
1375 final ArrayList<ExpandableNotificationRow> viewsToRemove = new ArrayList<>(numChildren); in clearAllNotifications()
1376 for (int i = 0; i < numChildren; i++) { in clearAllNotifications()
5939 final int numChildren = childrenRows.size(); in bindGuts() local
5940 for (int i = 0; i < numChildren; i++) { in bindGuts()