/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/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/com/android/internal/view/menu/ |
D | ActionMenuView.java | 114 final int childCount = getChildCount(); in onMeasure() local 115 for (int i = 0; i < childCount; i++) { in onMeasure() 162 final int childCount = getChildCount(); in onMeasureExactFormat() local 163 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 212 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 238 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 273 if ((smallestItemsAt & (1 << (childCount - 1))) != 0) { in onMeasureExactFormat() 274 LayoutParams lp = ((LayoutParams) getChildAt(childCount - 1).getLayoutParams()); in onMeasureExactFormat() 282 for (int i = 0; i < childCount; i++) { in onMeasureExactFormat() 309 if (i != childCount - 1) { in onMeasureExactFormat() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | GridView.java | 497 final int childCount = getChildCount(); in findMotionRow() local 498 if (childCount > 0) { in findMotionRow() 502 for (int i = 0; i < childCount; i += numColumns) { in findMotionRow() 508 for (int i = childCount - 1; i >= 0; i -= numColumns) { in findMotionRow() 564 final int childCount = getChildCount(); in fillSpecific() local 565 if (childCount > 0) { in fillSpecific() 566 correctTooHigh(numColumns, verticalSpacing, childCount); in fillSpecific() 573 final int childCount = getChildCount(); in fillSpecific() local 574 if (childCount > 0) { in fillSpecific() 575 correctTooLow(numColumns, verticalSpacing, childCount); in fillSpecific() [all …]
|
D | AbsListView.java | 1187 final int childCount = getChildCount(); in contentFits() local 1188 if (childCount == 0) return true; in contentFits() 1189 if (childCount != mItemCount) return false; in contentFits() 1192 getChildAt(childCount - 1).getBottom() <= getHeight() - mListPadding.bottom; in contentFits() 1875 final int childCount = getChildCount(); in computeVerticalScrollOffset() local 1876 if (firstPosition >= 0 && childCount > 0) { in computeVerticalScrollOffset() 1890 } else if (firstPosition + childCount == count) { in computeVerticalScrollOffset() 1893 index = firstPosition + childCount / 2; in computeVerticalScrollOffset() 1895 return (int) (firstPosition + childCount * (index / (float) count)); in computeVerticalScrollOffset() 1965 final int childCount = getChildCount(); in onMeasure() local [all …]
|
D | TabWidget.java | 99 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 105 if (i == childCount - 1) { in getChildDrawingOrder() 182 int childCount = 0; in measureHorizontal() local 186 childCount++; in measureHorizontal() 189 if (childCount > 0) { in measureHorizontal() 197 final int delta = extraWidth / childCount; in measureHorizontal() 202 childCount--; in measureHorizontal()
|
D | ListView.java | 199 final int childCount = getChildCount(); in adjustViewsUpOrDown() local 202 if (childCount > 0) { in adjustViewsUpOrDown() 221 child = getChildAt(childCount - 1); in adjustViewsUpOrDown() 224 if (mFirstPosition + childCount < mItemCount) { in adjustViewsUpOrDown() 535 final int childCount = getChildCount(); in showingBottomFadingEdge() local 536 final int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in showingBottomFadingEdge() 537 final int lastVisiblePosition = mFirstPosition + childCount - 1; in showingBottomFadingEdge() 567 int childCount = getChildCount(); in requestChildRectangleOnScreen() local 568 int bottomOfBottomChild = getChildAt(childCount - 1).getBottom(); in requestChildRectangleOnScreen() 1286 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()
|
D | CalendarView.java | 455 final int childCount = mListView.getChildCount(); in setSelectedWeekBackgroundColor() local 456 for (int i = 0; i < childCount; i++) { in setSelectedWeekBackgroundColor() 486 final int childCount = mListView.getChildCount(); in setFocusedMonthDateColor() local 487 for (int i = 0; i < childCount; i++) { in setFocusedMonthDateColor() 517 final int childCount = mListView.getChildCount(); in setUnfocusedMonthDateColor() local 518 for (int i = 0; i < childCount; i++) { in setUnfocusedMonthDateColor() 614 final int childCount = mListView.getChildCount(); in setSelectedDateVerticalBar() local 615 for (int i = 0; i < childCount; i++) { in setSelectedDateVerticalBar() 951 final int childCount = mListView.getChildCount(); in invalidateAllWeekViews() local 952 for (int i = 0; i < childCount; i++) { in invalidateAllWeekViews()
|
/frameworks/testing/uiautomator/library/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()
|
D | AccessibilityNodeInfoDumper.java | 190 int childCount = node.getChildCount(); in childNafCheck() local 191 for (int x = 0; x < childCount; x++) { in childNafCheck()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PanelHolder.java | 54 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 58 if (i == childCount - 1) { in getChildDrawingOrder()
|
/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/android/view/accessibility/ |
D | AccessibilityNodeInfoCache.java | 220 final int childCount = childNodeIds.size(); in clearSubTreeLocked() local 221 for (int i = 0; i < childCount; i++) { in clearSubTreeLocked() 318 final int childCount = childIds.size(); in checkIntegrity() local 319 for (int i = 0; i < childCount; i++) { in checkIntegrity()
|
/frameworks/ex/common/java/com/android/common/widget/ |
D | GroupingListAdapter.java | 54 int childCount; field in GroupingListAdapter.PositionMetadata 354 metadata.childCount = size; in obtainPositionMetadata() 399 return mPositionMetadata.childCount; in getGroupSize() 477 bindGroupView(view, mContext, mCursor, mPositionMetadata.childCount, in getView()
|
/frameworks/ex/widget/java/com/android/ex/widget/ |
D | StaggeredGridView.java | 506 final int childCount = getChildCount(); in recycleOffscreenViews() local 507 if (childCount > 0) { in recycleOffscreenViews() 512 for (int i = 0; i < childCount; i++){ in recycleOffscreenViews() 693 final int childCount = getChildCount(); in dumpItemPositions() local 699 for (int j = 0; j < childCount; j++) { in dumpItemPositions() 713 for (int j = 0; j < childCount; j++) { in dumpItemPositions() 726 final int childCount = getChildCount(); in offsetChildren() local 727 for (int i = 0; i < childCount; i++) { in offsetChildren() 756 final int childCount = getChildCount(); in layoutChildren() local 757 for (int i = 0; i < childCount; i++) { in layoutChildren() [all …]
|
/frameworks/base/cmds/installd/ |
D | utils.c | 448 dir->childCount = 0; in _add_cache_dir_t() 466 parent->childCount++; in _add_cache_dir_t() 499 dir->childCount++; in _add_cache_file_t() 705 dir->parent->childCount--; in delete_cache_dir() 707 if (dir->parent->childCount <= 0) { in delete_cache_dir() 742 if (dir->childCount <= 0 && !dir->deleted) { in clear_cache_files() 762 file->dir->childCount--; in clear_cache_files() 763 if (file->dir->childCount <= 0) { in clear_cache_files()
|
/frameworks/base/core/java/android/view/ |
D | AccessibilityInteractionController.java | 676 final int childCount = children.size(); in prefetchSiblingsOfRealNode() local 677 for (int i = 0; i < childCount; i++) { in prefetchSiblingsOfRealNode() 715 final int childCount = children.size(); in prefetchDescendantsOfRealNode() local 716 for (int i = 0; i < childCount; i++) { in prefetchDescendantsOfRealNode() 798 final int childCount = childNodeIds.size(); in prefetchSiblingsOfVirtualNode() local 799 for (int i = 0; i < childCount; i++) { in prefetchSiblingsOfVirtualNode() 824 final int childCount = childNodeIds.size(); in prefetchDescendantsOfVirtualNode() local 825 for (int i = 0; i < childCount; i++) { in prefetchDescendantsOfVirtualNode()
|
/frameworks/base/core/tests/coretests/src/android/accessibilityservice/ |
D | InterrogationActivityTest.java | 217 final int childCount = current.getChildCount(); in testTraverseAllViews() local 218 for (int i = 0; i < childCount; i++) { in testTraverseAllViews() 423 final int childCount = parent.getChildCount(); in testObjectContract() local 424 for (int i = 0; i < childCount; i++) { in testObjectContract()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | ViewPager.java | 609 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 610 final int index = mDrawingOrder == DRAW_ORDER_REVERSE ? childCount - 1 - i : i; in getChildDrawingOrder() 865 final int childCount = getChildCount(); in dataSetChanged() 866 for (int i = 0; i < childCount; i++) { in dataSetChanged() 1023 final int childCount = getChildCount(); 1024 for (int i = 0; i < childCount; i++) { 1612 final int childCount = getChildCount(); 1613 for (int i = 0; i < childCount; i++) { 1655 final int childCount = getChildCount(); 1656 for (int i = 0; i < childCount; i++) { [all …]
|
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/ |
D | KeyguardHostView.java | 850 final int childCount = mSecurityViewContainer.getChildCount(); in showSecurityScreen() local 857 for (int i = 0; i < childCount; i++) { in showSecurityScreen() 1065 final int childCount = mAppWidgetContainer.getChildCount(); in numWidgets() local 1067 for (int i = 0; i < childCount; i++) { in numWidgets() 1237 final int childCount = mAppWidgetContainer.getChildCount(); in checkAppWidgetConsistency() local 1239 for (int i = 0; i < childCount; i++) { in checkAppWidgetConsistency() 1400 final int childCount = mAppWidgetContainer.getChildCount(); in getAppropriateWidgetPage() local 1401 for (int i = 0; i < childCount; i++) { in getAppropriateWidgetPage()
|
D | PagedView.java | 636 final int childCount = getChildCount(); in onMeasure() local 637 for (int i = 0; i < childCount; i++) { in onMeasure() 675 if (childCount > 0) { in onMeasure() 694 if (childCount > 0) { in onMeasure() 695 mMaxScrollX = getChildOffset(childCount - 1) - getRelativeChildOffset(childCount - 1); in onMeasure() 713 final int childCount = getChildCount(); in onLayout() local 722 for (int i = 0; i < childCount; i++) { in onLayout() 1683 final int childCount = getChildCount(); in getChildIndexForRelativeOffset() local 1686 for (int i = 0; i < childCount; ++i) { in getChildIndexForRelativeOffset() 1720 final int childCount = getChildCount(); in getPageNearestToCenterOfScreen() local [all …]
|
/frameworks/base/core/java/android/app/ |
D | FragmentBreadCrumbs.java | 178 final int childCount = getChildCount(); in onLayout() local 179 if (childCount == 0) { in onLayout()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ScrollingTabContainerView.java | 90 final int childCount = mTabLayout.getChildCount(); in onMeasure() local 91 if (childCount > 1 && in onMeasure() 93 if (childCount > 2) { in onMeasure()
|