Home
last modified time | relevance | path

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

/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/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollState.java56 int numChildren = mHostView.getChildCount(); in resetViewStates() local
57 for (int i = 0; i < numChildren; i++) { in resetViewStates()
103 int numChildren = mHostView.getChildCount(); in apply() local
104 for (int i = 0; i < numChildren; i++) { in apply()
/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.java2513 final int numChildren = getChildCount(); in handleHorizontalFocusWithinListItem() local
2514 if (mItemsCanFocus && numChildren > 0 && mSelectedPosition != INVALID_POSITION) { in handleHorizontalFocusWithinListItem()
2740 final int numChildren = getChildCount(); in handleNewSelectionChange() local
2745 measureAndAdjustDown(topView, topViewIndex, numChildren); in handleNewSelectionChange()
2751 measureAndAdjustDown(bottomView, bottomViewIndex, numChildren); in handleNewSelectionChange()
2762 private void measureAndAdjustDown(View child, int childIndex, int numChildren) { in measureAndAdjustDown() argument
2771 for (int i = childIndex + 1; i < numChildren; i++) { in measureAndAdjustDown()
2841 int numChildren = getChildCount(); in amountToScroll() local
2844 int indexToMakeVisible = numChildren - 1; in amountToScroll()
2848 while (numChildren <= indexToMakeVisible) { in amountToScroll()
[all …]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
DMultiSelectManager_GridModelTest.java57 private void initData(final int numChildren, int numColumns) { in initData() argument
58 env = new TestEnvironment(numChildren, numColumns); in initData()
67 return numChildren; in initData()
293 public TestEnvironment(int numChildren, int numColumns) { in TestEnvironment() argument
294 mNumChildren = numChildren; in TestEnvironment()
/frameworks/support/transition/ics/android/support/transition/
DViewOverlay.java63 final int numChildren = contentView.getChildCount(); in createFrom() local
64 for (int i = 0; i < numChildren; ++i) { in createFrom()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
DBackgroundManager.java430 int numChildren = layerDrawable.getNumberOfLayers(); in createOptimizedTranslucentLayerDrawable() local
431 Drawable[] drawables = new Drawable[numChildren]; in createOptimizedTranslucentLayerDrawable()
432 for (int i = 0; i < numChildren; i++) { in createOptimizedTranslucentLayerDrawable()
436 for (int i = 0; i < numChildren; i++) { in createOptimizedTranslucentLayerDrawable()
/frameworks/base/core/java/android/app/assist/
DAssistStructure.java101 int numChildren; field in AssistStructure.ViewStackEntry
176 entry.numChildren = node.getChildCount(); in pushViewStackEntry()
204 if (mCurViewStackEntry.curChild < mCurViewStackEntry.numChildren) { in writeNextEntryToParcel()
226 } while (mCurViewStackEntry.curChild >= mCurViewStackEntry.numChildren); in writeNextEntryToParcel()
/frameworks/base/core/java/android/animation/
DLayoutTransition.java766 int numChildren = parent.getChildCount(); in runChangeTransition() local
768 for (int i = 0; i < numChildren; ++i) { in runChangeTransition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBar.java1140 int numChildren = mStackScroller.getChildCount(); in clearAllNotifications() local
1142 final ArrayList<View> viewsToHide = new ArrayList<View>(numChildren); in clearAllNotifications()
1143 for (int i = 0; i < numChildren; i++) { in clearAllNotifications()