/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiSnapHelper.java | 106 int childCount = layoutManager.getChildCount(); in findSnapView() local 107 if (childCount == 0) { in findSnapView() 114 if (childCount == 1) { in findSnapView() 138 layoutManager.getChildAt(childCount - 1)); in findSnapView() 153 for (int i = 0; i < childCount; i++) { in findSnapView() 348 int childCount = layoutManager.getChildCount(); in computeDistancePerChild() local 349 if (childCount == 0) { in computeDistancePerChild() 353 for (int i = 0; i < childCount; i++) { in computeDistancePerChild() 409 int childCount = layoutManager.getChildCount(); in isAtEnd() local 415 layoutManager.getChildAt(childCount - 1)); in isAtEnd()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/grid/ |
D | GridOffsetItemDecoration.java | 111 int childCount = state.getItemCount(); in getItemOffsets() local 112 int lastRowChildCount = getLastRowChildCount(childCount); in getItemOffsets() 115 parent.getChildAdapterPosition(view) >= childCount - lastRowChildCount; in getItemOffsets() 146 int childCount = state.getItemCount(); in onDraw() local 147 int lastRowChildCount = getLastRowChildCount(childCount); in onDraw() 152 for (int i = childCount - lastRowChildCount; i < childCount; i++) { in onDraw()
|
D | GridDividerItemDecoration.java | 96 int childCount = layoutManager.getChildCount(); in drawHorizontalDividers() local 97 int rowCount = childCount / mNumColumns; in drawHorizontalDividers() 98 int lastRowChildCount = childCount % mNumColumns; in drawHorizontalDividers() 99 int lastColumn = Math.min(childCount, mNumColumns); in drawHorizontalDividers() 140 double childCount = layoutManager.getChildCount(); in drawVerticalDividers() local 141 double rowCount = Math.ceil(childCount / mNumColumns); in drawVerticalDividers()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | ProgramGrid.java | 260 int childCount = getChildCount(); in focusFind() local 265 if (itemCount > 2 * (childCount + 1) || itemCount <= childCount) { in focusFind() 346 int childCount = getChildCount(); in getFirstVisibleChildIndex() local 347 for (int i = 0; i < childCount; i++) { in getFirstVisibleChildIndex() 359 int childCount = getChildCount(); in updateInputLogo() local 360 if (childCount == 0) { in updateInputLogo() 371 for (int i = firstVisibleChildIndex + 1; i < childCount; i++) { in updateInputLogo()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | WallpaperPickerActivity.java | 256 int childCount = mWallpapersView.getChildCount(); in onLongClick() local 257 for (int i = 0; i < childCount; i++) { in onLongClick() 324 final int childCount = masterWallpaperList.getChildCount(); in updateTileIndices() local 331 for (int i = 0; i < childCount; i++) { in updateTileIndices() 497 int childCount = mWallpapersView.getChildCount(); in onPrepareActionMode() local 499 for (int i = 0; i < childCount; i++) { in onPrepareActionMode() 523 int childCount = mWallpapersView.getChildCount(); in onActionItemClicked() local 526 for (int i = 0; i < childCount; i++) { in onActionItemClicked() 559 int childCount = mWallpapersView.getChildCount(); in onDestroyActionMode() local 560 for (int i = 0; i < childCount; i++) { in onDestroyActionMode()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 610 final int childCount = getChildCount(); in onLayout() local 612 if (mPageScrolls == null || childCount != mPageScrolls.length) { in onLayout() 613 mPageScrolls = new int[childCount]; in onLayout() 617 if (childCount == 0) { in onLayout() 652 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < childCount) { in onLayout() 668 final int childCount = getChildCount(); in getPageScrolls() local 670 final int startIndex = mIsRtl ? childCount - 1 : 0; in getPageScrolls() 671 final int endIndex = mIsRtl ? -1 : childCount; in getPageScrolls() 702 for (int i = 0; i < childCount; i++) { in getPageScrolls() 729 int childCount = getChildCount(); in computeMaxScroll() local [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 54 int childCount = getChildCount(); in onMeasure() local 62 for (int i = 0; i < childCount; i++) { in onMeasure() 104 int childCount = getChildCount(); in onLayout() local 110 for (int i = 0; i < childCount; i++) { in onLayout() 139 for (int i = 0; i < childCount; i++) { in onLayout()
|
D | ViewPagerTabStrip.java | 71 int childCount = getChildCount(); in onDraw() local 74 if (childCount > 0) { in onDraw()
|
D | AttachmentPreview.java | 93 final int childCount = getChildCount(); in onFinishInflate() 94 if (childCount > 0) { in onFinishInflate() 95 final View lastChild = getChildAt(childCount - 1); in onFinishInflate()
|
D | CustomHeaderPagerListViewHolder.java | 116 final int childCount = mListView.getChildCount(); in toggleVisibilityForPendingTransition() local 117 for (int i = 0; i < childCount; i++) { in toggleVisibilityForPendingTransition()
|
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/widget/ |
D | PagedSnapHelper.java | 109 int childCount = layoutManager.getChildCount(); in findTopView() local 110 if (childCount == 0) { in findTopView() 117 for (int i = 0; i < childCount; i++) { in findTopView() 258 int childCount = layoutManager.getChildCount(); in isAtEnd() local 263 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in isAtEnd()
|
/packages/apps/Gallery2/src/com/android/photos/views/ |
D | GalleryThumbnailView.java | 478 final int childCount = getChildCount(); in offsetChildren() local 479 for (int i = 0; i < childCount; i++) { in offsetChildren() 487 final int childCount = getChildCount(); in contentFits() local 488 if (childCount == 0) return true; in contentFits() 489 if (childCount != mItemCount) return false; in contentFits() 492 getChildAt(childCount - 1).getRight() <= getWidth() - getPaddingRight(); in contentFits() 824 final int childCount = getChildCount(); in addScrap() local 825 if (childCount > mMaxScrap) { in addScrap() 826 mMaxScrap = childCount; in addScrap()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/linear/ |
D | LinearDividerItemDecoration.java | 108 int childCount = layoutManager.getChildCount(); in drawHorizontalDividers() local 109 for (int i = 0; i < childCount - 1; i++) { in drawHorizontalDividers() 138 int childCount = layoutManager.getChildCount(); in drawVerticalDividers() local 139 for (int i = 0; i < childCount - 1; i++) { in drawVerticalDividers()
|
/packages/apps/Car/Notification/src/com/android/car/notification/headsup/ |
D | HeadsUpContainerView.java | 100 int childCount = getChildCount(); in focusTopmostChild() local 101 if (childCount <= 0) { in focusTopmostChild() 105 View topmostChild = getChildAt(childCount - 1); in focusTopmostChild()
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 477 int childCount = getChildCount(); in updateChildIndices() local 478 for (int i = 0; i < childCount; i++) { in updateChildIndices() 483 mChildCountOnLastUpdate = childCount; in updateChildIndices() 487 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 488 if (mChildCountOnLastUpdate != childCount) { in getChildDrawingOrder() 500 } else if (i == childCount - 1) { in getChildDrawingOrder()
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/secondarydisplay/ |
D | SDWorkModeTest.java | 121 int childCount = rv.getChildCount(); in verifyRecyclerViewCount() local 122 assertTrue(childCount > 0); in verifyRecyclerViewCount() 123 assertTrue(childCount < 100); in verifyRecyclerViewCount()
|
/packages/apps/Camera2/src/com/android/camera/widget/ |
D | ModeOptions.java | 284 int childCount = mActiveBar.getChildCount(); in setupAnimators() local 286 for (int i = 0; i < childCount; i++) { in setupAnimators() 291 button = mActiveBar.getChildAt(childCount-1-i); in setupAnimators() 295 ValueAnimator.ofFloat(deltaX*(childCount-i), 0.0f); in setupAnimators()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | Item.java | 90 int childCount = parent.getChildCount(); in setEnabledInternal() local 91 for (int i = 0; i < childCount; ++i) { in setEnabledInternal()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | GroupNotificationViewHolder.java | 173 private void updateExpansionIcon(int childCount, boolean isExpanded) { in updateExpansionIcon() argument 175 if (childCount == 0) { in updateExpansionIcon() 196 int unshownCount = childCount - 2; in updateExpansionIcon()
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | CheckableRelativeLayout.java | 73 final int childCount = viewGroup.getChildCount(); in findFirstCheckableView() local 74 for (int i = 0; i < childCount; i++) { in findFirstCheckableView()
|
/packages/apps/Dialer/java/com/android/contacts/common/list/ |
D | ViewPagerTabStrip.java | 68 int childCount = getChildCount(); in onDraw() local 71 if (childCount > 0) { in onDraw()
|
/packages/apps/Car/Settings/src/com/android/car/settings/system/ |
D | FactoryResetFragment.java | 113 int childCount = layoutManager.getChildCount(); in isAtEnd() local 114 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in isAtEnd()
|
/packages/apps/Car/RotaryController/tests/unit/src/com/android/car/rotary/ |
D | NodeBuilder.java | 145 int childCount = 0; in build() 148 childCount++; in build() 151 return childCount; in build()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | OptionsPopupView.java | 166 int childCount = getChildCount(); in getChildrenForColorExtraction() local 167 ArrayList<View> children = new ArrayList<>(childCount); in getChildrenForColorExtraction() 168 for (int i = 0; i < childCount; ++i) { in getChildrenForColorExtraction()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsStore.java | 179 int childCount = parent.getChildCount(); in updateAllIcons() local 181 for (int j = 0; j < childCount; j++) { in updateAllIcons()
|