/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListGetCheckItemIdsTest.java | 73 int childCount = mListView.getChildCount(); in testSimpleCheck() local 74 for (int i=0; i<childCount; i++) { in testSimpleCheck() 80 for (int i = 0; i < childCount; i++) { in testSimpleCheck() 82 mListView.setItemChecked((i - 3 + childCount) % childCount, false); in testSimpleCheck() 83 mListView.setItemChecked((i + 1) % childCount, false); in testSimpleCheck() 94 int childCount = mListView.getChildCount(); in testMultipleCheck() local 95 assertTrue("Tests requires at least 4 items", childCount >= 4); in testMultipleCheck() 134 int childCount = mListView.getChildCount(); in testClearChoices() local 135 for (int i = 0; i < childCount; i++) { in testClearChoices()
|
D | ListSetSelectionTest.java | 54 int childCount = mListView.getChildCount(); in testSetSelection() local 55 for (int i=0; i<childCount; i++) { in testSetSelection()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | TaskStackView.java | 119 int childCount = getChildCount(); in TaskStackView() 120 for (int i = 0; i < childCount; i++) { in TaskStackView() 155 int childCount = getChildCount(); in reset() local 156 for (int i = childCount - 1; i >= 0; i--) { in reset() 212 int childCount = getChildCount(); in getChildViewForTask() local 213 for (int i = 0; i < childCount; i++) { in getChildViewForTask() 304 int childCount = getChildCount(); in synchronizeStackViewsWithModel() local 305 for (int i = childCount - 1; i >= 0; i--) { in synchronizeStackViewsWithModel() 344 childCount = getChildCount(); in synchronizeStackViewsWithModel() 345 if (childCount > 0 && ssp.isTouchExplorationEnabled()) { in synchronizeStackViewsWithModel() [all …]
|
D | RecentsView.java | 103 int childCount = getChildCount(); in setTaskStacks() local 104 for (int i = 0; i < childCount; i++) { in setTaskStacks() 114 numTaskStacksToKeep = Math.min(childCount, numStacks); in setTaskStacks() 140 for (int i = childCount - 1; i >= 0; i--) { in setTaskStacks() 156 int childCount = getChildCount(); in launchFocusedTask() local 157 for (int i = 0; i < childCount; i++) { in launchFocusedTask() 180 int childCount = getChildCount(); in launchPreviousTask() local 181 for (int i = 0; i < childCount; i++) { in launchPreviousTask() 211 int childCount = getChildCount(); in startEnterRecentsAnimation() local 212 for (int i = 0; i < childCount; i++) { in startEnterRecentsAnimation() [all …]
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/ |
D | PrintOptionsLayout.java | 64 final int childCount = getChildCount(); in onMeasure() local 65 final int rowCount = childCount / mColumnCount + childCount % mColumnCount; in onMeasure() 74 if (childIndex >= childCount) { in onMeasure() 127 final int childCount = getChildCount(); in onLayout() local 128 final int rowCount = childCount / mColumnCount + childCount % mColumnCount; in onLayout() 139 if (childIndex >= childCount) { in onLayout()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListSetSelectionTest.java | 72 int childCount = mListView.getChildCount(); in testSetSelection() local 73 for (int i=0; i<childCount; i++) { in testSetSelection() 103 int childCount = mListView.getChildCount(); in testSetSelectionFromTop() local 104 for (int i=0; i<childCount; i++) { in testSetSelectionFromTop() 138 int childCount = mListView.getChildCount(); in testSetSelection0() local 139 for (int i=0; i<childCount; i++) { in testSetSelection0()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityWindowInfo.java | 412 final int childCount = childIds.size(); in writeToParcel() local 413 parcel.writeInt(childCount); in writeToParcel() 414 for (int i = 0; i < childCount; i++) { in writeToParcel() 430 final int childCount = parcel.readInt(); in initFromParcel() local 431 if (childCount > 0) { in initFromParcel() 433 mChildIds = new LongArray(childCount); in initFromParcel() 435 for (int i = 0; i < childCount; i++) { in initFromParcel() 478 final int childCount = mChildIds.size(); in toString() local 479 for (int i = 0; i < childCount; i++) { in toString() 481 if (i < childCount - 1) { in toString()
|
D | AccessibilityCache.java | 349 final int childCount = current.getChildCount(); in clearSubTreeRecursiveLocked() local 350 for (int i = 0; i < childCount; i++) { in clearSubTreeRecursiveLocked() 446 final int childCount = nodeParent.getChildCount(); in checkIntegrity() local 447 for (int k = 0; k < childCount; k++) { in checkIntegrity() 461 final int childCount = node.getChildCount(); in checkIntegrity() local 462 for (int k = 0; k < childCount; k++) { in checkIntegrity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/ |
D | StackScrollAlgorithm.java | 178 int childCount = algorithmState.visibleChildren.size(); in updateSpeedBumpState() local 179 for (int i = 0; i < childCount; i++) { in updateSpeedBumpState() 194 int childCount = algorithmState.visibleChildren.size(); in updateClipping() local 195 for (int i = 0; i < childCount; i++) { in updateClipping() 270 int childCount = algorithmState.visibleChildren.size(); in updateDimmedActivatedHideSensitive() local 271 for (int i = 0; i < childCount; i++) { in updateDimmedActivatedHideSensitive() 320 int childCount = hostView.getChildCount(); in updateVisibleChildren() local 322 state.visibleChildren.ensureCapacity(childCount); in updateVisibleChildren() 323 for (int i = 0; i < childCount; i++) { in updateVisibleChildren() 354 int childCount = algorithmState.visibleChildren.size(); in updatePositionsForState() local [all …]
|
/frameworks/base/core/java/android/widget/ |
D | ActionMenuView.java | 149 final int childCount = getChildCount(); in onMeasure() local 150 if (mFormatItems && childCount > 0) { in onMeasure() 154 for (int i = 0; i < childCount; i++) { in onMeasure() 199 final int childCount = getChildCount(); in onMeasureExactFormat() local 200 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 249 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 275 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 310 if ((smallestItemsAt & (1 << (childCount - 1))) != 0) { in onMeasureExactFormat() 311 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() 319 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() [all …]
|
D | GridView.java | 517 final int childCount = getChildCount(); in findMotionRow() local 518 if (childCount > 0) { in findMotionRow() 522 for (int i = 0; i < childCount; i += numColumns) { in findMotionRow() 528 for (int i = childCount - 1; i >= 0; i -= numColumns) { in findMotionRow() 584 final int childCount = getChildCount(); in fillSpecific() local 585 if (childCount > 0) { in fillSpecific() 586 correctTooHigh(numColumns, verticalSpacing, childCount); in fillSpecific() 593 final int childCount = getChildCount(); in fillSpecific() local 594 if (childCount > 0) { in fillSpecific() 595 correctTooLow(numColumns, verticalSpacing, childCount); in fillSpecific() [all …]
|
D | AbsListView.java | 1233 final int childCount = getChildCount(); in contentFits() local 1234 if (childCount == 0) return true; in contentFits() 1235 if (childCount != mItemCount) return false; in contentFits() 1238 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom; in contentFits() 2034 final int childCount = getChildCount(); in computeVerticalScrollOffset() local 2035 if (firstPosition >= 0 && childCount > 0) { in computeVerticalScrollOffset() 2049 } else if (firstPosition + childCount == count) { in computeVerticalScrollOffset() 2052 index = firstPosition + childCount / 2; in computeVerticalScrollOffset() 2054 return (int) (firstPosition + childCount * (index / (float) count)); in computeVerticalScrollOffset() 2124 final int childCount = getChildCount(); in onMeasure() local [all …]
|
D | TabWidget.java | 103 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 109 if (i == childCount - 1) { in getChildDrawingOrder() 185 int childCount = 0; in measureHorizontal() local 189 childCount++; in measureHorizontal() 192 if (childCount > 0) { in measureHorizontal() 200 final int delta = extraWidth / childCount; in measureHorizontal() 205 childCount--; in measureHorizontal()
|
D | ListView.java | 207 final int childCount = getChildCount(); in adjustViewsUpOrDown() local 210 if (childCount > 0) { in adjustViewsUpOrDown() 229 child = getChildAt(childCount - 1); in adjustViewsUpOrDown() 232 if (mFirstPosition + childCount < mItemCount) { in adjustViewsUpOrDown() 559 final int childCount = getChildCount(); in showingBottomFadingEdge() local 560 final int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in showingBottomFadingEdge() 561 final int lastVisiblePosition = mFirstPosition + childCount - 1; in showingBottomFadingEdge() 591 int childCount = getChildCount(); in requestChildRectangleOnScreen() local 592 int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in requestChildRectangleOnScreen() 1310 int childCount = getChildCount(); in findMotionRow() local [all …]
|
D | ViewAnimator.java | 214 final int childCount = getChildCount(); in removeViewAt() local 215 if (childCount == 0) { in removeViewAt() 218 } else if (mWhichChild >= childCount) { in removeViewAt() 220 setDisplayedChild(childCount - 1); in removeViewAt()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | ActionMenuView.java | 159 final int childCount = getChildCount(); in onMeasure() local 160 if (mFormatItems && childCount > 0) { in onMeasure() 164 for (int i = 0; i < childCount; i++) { in onMeasure() 209 final int childCount = getChildCount(); in onMeasureExactFormat() local 210 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 259 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 285 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 320 if ((smallestItemsAt & (1 << (childCount - 1))) != 0) { in onMeasureExactFormat() 321 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() 329 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() [all …]
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ListViewAutoScrollHelper.java | 66 final int childCount = target.getChildCount(); in canTargetScrollVertically() local 68 final int lastPosition = firstPosition + childCount; in canTargetScrollVertically() 73 final View lastView = target.getChildAt(childCount - 1); in canTargetScrollVertically()
|
D | DrawerLayout.java | 683 final int childCount = getChildCount(); in updateChildrenImportantForAccessibility() local 684 for (int i = 0; i < childCount; i++) { in updateChildrenImportantForAccessibility() 734 final int childCount = getChildCount(); in findOpenDrawer() local 735 for (int i = 0; i < childCount; i++) { in findOpenDrawer() 765 final int childCount = getChildCount(); in findDrawerWithGravity() local 766 for (int i = 0; i < childCount; i++) { in findDrawerWithGravity() 843 final int childCount = getChildCount(); in onMeasure() local 844 for (int i = 0; i < childCount; i++) { in onMeasure() 896 final int childCount = getChildCount(); in onLayout() local 897 for (int i = 0; i < childCount; i++) { in onLayout() [all …]
|
D | SlidingPaneLayout.java | 373 for (int i = 0, childCount = getChildCount(); i < childCount; i++) { in updateObscuredViewsVisibility() 399 for (int i = 0, childCount = getChildCount(); i < childCount; i++) { in setAllChildrenVisible() 491 final int childCount = getChildCount(); in onMeasure() local 493 if (childCount > 2) { in onMeasure() 502 for (int i = 0; i < childCount; i++) { in onMeasure() 559 for (int i = 0; i < childCount; i++) { in onMeasure() 665 final int childCount = getChildCount(); in onLayout() local 673 for (int i = 0; i < childCount; i++) { in onLayout() 730 for (int i = 0; i < childCount; i++) { in onLayout() 1190 final int childCount = getChildCount(); in parallaxOtherViews() local [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | QueryController.java | 324 int childCount = fromNode.getChildCount(); in findNodeRegularRecursive() local 326 for (int i = 0; i < childCount; i++) { in findNodeRegularRecursive() 330 "AccessibilityNodeInfo returned a null child (%d of %d)", i, childCount)); in findNodeRegularRecursive() 454 int childCount = fromNode.getChildCount(); in findNodePatternRecursive() local 456 for (int i = 0; i < childCount; i++) { in findNodePatternRecursive() 460 "AccessibilityNodeInfo returned a null child (%d of %d)", i, childCount)); in findNodePatternRecursive()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/touch/ |
D | GridTouchSetSelectionTest.java | 72 int childCount = mGridView.getChildCount(); in testSetSelection() local 73 for (int i=0; i<childCount; i++) { in testSetSelection()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ResolverDrawerLayout.java | 365 final int childCount = getChildCount(); 366 for (int i = 0; i < childCount; i++) { 440 final int childCount = parent.getChildCount(); 441 for (int i = childCount - 1; i >= 0; i--) { 491 final int childCount = getChildCount(); 492 for (int i = indexOfChild(directChild) + 1; i < childCount; i++) { 644 final int childCount = getChildCount(); 645 for (int i = 0; i < childCount; i++) { 657 for (int i = 0; i < childCount; i++) { 696 final int childCount = getChildCount(); [all …]
|
D | BackgroundFallback.java | 55 final int childCount = root.getChildCount(); in draw() local 56 for (int i = 0; i < childCount; i++) { in draw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelHolder.java | 58 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 62 if (i == childCount - 1) { in getChildDrawingOrder()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerTest.java | 374 final AtomicInteger childCount = new AtomicInteger(0); in testRecycleDuringAnimations() local 379 final int cnt = childCount.incrementAndGet(); in testRecycleDuringAnimations() 394 int cnt = childCount.decrementAndGet(); in testRecycleDuringAnimations() 404 final int cnt = childCount.incrementAndGet(); in testRecycleDuringAnimations() 423 assertEquals("Children count should add up", childCount.get(), in testRecycleDuringAnimations() 434 assertEquals("Children count should add up", childCount.get(), in testRecycleDuringAnimations() 460 final int childCount = mLayoutManager.getChildCount(); in testRecycleChildrenOnDetach() local 466 mTestAdapter.getItemViewType(0), recyclerSize + childCount); in testRecycleChildrenOnDetach() 468 assertEquals("All children should be recycled", childCount + recyclerSize, in testRecycleChildrenOnDetach() 965 final int childCount = getChildCount(); in getBoundsLog() local [all …]
|