/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiSnapHelper.java | 198 int childCount = layoutManager.getChildCount(); in findSnapView() local 199 if (childCount == 0) { in findSnapView() 206 if (childCount == 1) { in findSnapView() 229 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in findSnapView() 244 for (int i = 0; i < childCount; i++) { in findSnapView() 302 int childCount = layoutManager.getChildCount(); in findTopView() local 303 if (childCount == 0) { in findTopView() 310 for (int i = 0; i < childCount; i++) { in findTopView() 469 int childCount = layoutManager.getChildCount(); in isAtEnd() local 474 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in isAtEnd() [all …]
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/grid/ |
D | GridOffsetItemDecoration.java | 108 int childCount = state.getItemCount(); in getItemOffsets() local 109 int lastRowChildCount = getLastRowChildCount(childCount); in getItemOffsets() 112 parent.getChildAdapterPosition(view) >= childCount - lastRowChildCount; in getItemOffsets() 142 int childCount = state.getItemCount(); in onDraw() local 143 int lastRowChildCount = getLastRowChildCount(childCount); in onDraw() 148 for (int i = childCount - lastRowChildCount; i < childCount; i++) { in onDraw()
|
D | GridDividerItemDecoration.java | 89 int childCount = parent.getChildCount(); in drawHorizontalDividers() local 90 int rowCount = childCount / mNumColumns; in drawHorizontalDividers() 91 int lastRowChildCount = childCount % mNumColumns; in drawHorizontalDividers() 92 int lastColumn = Math.min(childCount, mNumColumns); in drawHorizontalDividers() 130 double childCount = parent.getChildCount(); in drawVerticalDividers() local 131 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 | 563 final int childCount = getChildCount(); in onLayout() local 565 if (mPageScrolls == null || childCount != mPageScrolls.length) { in onLayout() 566 mPageScrolls = new int[childCount]; in onLayout() 570 if (childCount == 0) { in onLayout() 604 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < childCount) { in onLayout() 621 final int childCount = getChildCount(); in getPageScrolls() local 623 final int startIndex = mIsRtl ? childCount - 1 : 0; in getPageScrolls() 624 final int endIndex = mIsRtl ? -1 : childCount; in getPageScrolls() 676 int childCount = getChildCount(); in computeMaxScrollX() local 677 if (childCount > 0) { in computeMaxScrollX() [all …]
|
D | CellLayout.java | 1842 int childCount = mShortcutsAndWidgets.getChildCount(); in copyCurrentStateToSolution() local 1843 for (int i = 0; i < childCount; i++) { in copyCurrentStateToSolution() 1859 int childCount = mShortcutsAndWidgets.getChildCount(); in copySolutionToTempState() local 1860 for (int i = 0; i < childCount; i++) { in copySolutionToTempState() 1882 int childCount = mShortcutsAndWidgets.getChildCount(); in animateItemsToSolution() local 1883 for (int i = 0; i < childCount; i++) { in animateItemsToSolution() 1902 int childCount = mShortcutsAndWidgets.getChildCount(); in beginOrAdjustReorderPreviewAnimations() local 1903 for (int i = 0; i < childCount; i++) { in beginOrAdjustReorderPreviewAnimations() 2101 int childCount = mShortcutsAndWidgets.getChildCount(); in commitTempPlacement() local 2102 for (int i = 0; i < childCount; i++) { in commitTempPlacement() [all …]
|
/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/Launcher3/src/com/android/launcher3/widget/ |
D | WidgetsListAdapter.java | 128 int childCount = row.getChildCount(); in onBindViewHolder() local 130 if (expectedChildCount > childCount) { in onBindViewHolder() 131 for (int i = childCount ; i < expectedChildCount; i++) { in onBindViewHolder() 146 } else if (expectedChildCount < childCount) { in onBindViewHolder() 147 for (int i = expectedChildCount ; i < childCount; i++) { in onBindViewHolder()
|
/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 | 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 | ViewPagerTabStrip.java | 71 int childCount = getChildCount(); in onDraw() local 74 if (childCount > 0) { in onDraw()
|
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/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/decorations/linear/ |
D | LinearDividerItemDecoration.java | 101 int childCount = parent.getChildCount(); in drawHorizontalDividers() local 102 for (int i = 0; i < childCount - 1; i++) { in drawHorizontalDividers() 130 int childCount = parent.getChildCount(); in drawVerticalDividers() local 131 for (int i = 0; i < childCount - 1; i++) { in drawVerticalDividers()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/view/ |
D | VerticalListDividerDecoration.java | 96 final int childCount = parent.getChildCount(); in drawVertical() local 98 childCount - 1 : childCount; in drawVertical()
|
/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/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragLayer.java | 498 int childCount = getChildCount(); in updateChildIndices() local 499 for (int i = 0; i < childCount; i++) { in updateChildIndices() 504 mChildCountOnLastUpdate = childCount; in updateChildIndices() 508 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument 509 if (mChildCountOnLastUpdate != childCount) { in getChildDrawingOrder() 521 } else if (i == childCount - 1) { in getChildDrawingOrder()
|
/packages/apps/Car/Notification/src/com/android/car/notification/template/ |
D | GroupNotificationViewHolder.java | 166 private void updateExpansionIcon(int childCount, boolean isExpanded) { in updateExpansionIcon() argument 168 if (childCount == 0) { in updateExpansionIcon() 181 int unshownCount = childCount - 2; in updateExpansionIcon()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/ |
D | Condition.java | 40 static Condition minChildCount(final UiObject2 obj, final int childCount) { in minChildCount() argument 41 return () -> obj.getChildCount() >= childCount; in minChildCount()
|
/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/views/ |
D | IconRecentsView.java | 280 int childCount = mTaskRecyclerView.getChildCount(); in setEnabled() local 281 for (int i = 0; i < childCount; i++) { in setEnabled() 428 int childCount = mTaskRecyclerView.getChildCount(); in getBottomTaskView() local 429 for (int i = 0; i < childCount; i++) { in getBottomTaskView() 852 int childCount = mTaskRecyclerView.getChildCount(); in playRemoteTaskListFadeIn() local 853 for (int i = 0; i < childCount; i++) { in playRemoteTaskListFadeIn()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | OverviewScrim.java | 57 final int childCount = root.getChildCount(); in updateCurrentScrimmedView() local 58 while (mCurrentScrimmedView.getVisibility() != VISIBLE && currentIndex < childCount) { in updateCurrentScrimmedView()
|
/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/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 | MasterClearFragment.java | 122 int childCount = layoutManager.getChildCount(); in isAtEnd() local 123 View lastVisibleChild = layoutManager.getChildAt(childCount - 1); in isAtEnd()
|