Home
last modified time | relevance | path

Searched refs:childCount (Results 1 – 25 of 52) sorted by relevance

123

/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperPickerActivity.java256 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/Launcher2/src/com/android/launcher2/
DPagedView.java525 final int childCount = getChildCount(); in onMeasure() local
526 for (int i = 0; i < childCount; i++) { in onMeasure()
567 if (childCount > 0) { in onMeasure()
586 if (childCount > 0) { in onMeasure()
587 final int index = isLayoutRtl() ? 0 : childCount - 1; in onMeasure()
614 int childCount = getChildCount(); in setLayoutScale() local
615 float childrenX[] = new float[childCount]; in setLayoutScale()
616 float childrenY[] = new float[childCount]; in setLayoutScale()
617 for (int i = 0; i < childCount; i++) { in setLayoutScale()
628 for (int i = 0; i < childCount; i++) { in setLayoutScale()
[all …]
DWorkspace.java1433 final int childCount = getChildCount();
1434 for (int i = 0; i < childCount; i++) {
1546 final int childCount = getChildCount();
1548 mOldTranslationXs = new float[childCount];
1549 mOldTranslationYs = new float[childCount];
1550 mOldScaleXs = new float[childCount];
1551 mOldScaleYs = new float[childCount];
1552 mOldBackgroundAlphas = new float[childCount];
1553 mOldAlphas = new float[childCount];
1554 mNewTranslationXs = new float[childCount];
[all …]
DCellLayout.java1078 final int childCount = getChildCount(); in setShortcutAndWidgetAlpha() local
1079 for (int i = 0; i < childCount; i++) { in setShortcutAndWidgetAlpha()
2196 int childCount = mShortcutsAndWidgets.getChildCount(); in copyCurrentStateToSolution() local
2197 for (int i = 0; i < childCount; i++) { in copyCurrentStateToSolution()
2217 int childCount = mShortcutsAndWidgets.getChildCount(); in copySolutionToTempState() local
2218 for (int i = 0; i < childCount; i++) { in copySolutionToTempState()
2245 int childCount = mShortcutsAndWidgets.getChildCount(); in animateItemsToSolution() local
2246 for (int i = 0; i < childCount; i++) { in animateItemsToSolution()
2264 int childCount = mShortcutsAndWidgets.getChildCount(); in beginOrAdjustHintAnimations() local
2265 for (int i = 0; i < childCount; i++) { in beginOrAdjustHintAnimations()
[all …]
DAppsCustomizePagedView.java304 int childCount = childrenLayout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() local
305 if (childCount > 0) { in getMiddleComponentIndexOnCurrentPage()
306 i = (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()
312 int childCount = layout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() local
313 if (childCount > 0) { in getMiddleComponentIndexOnCurrentPage()
315 ((currentPage - mNumAppsPages) * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()
994 int childCount = layout.getChildCount(); in setVisibilityOnChildren() local
995 for (int i = 0; i < childCount; ++i) { in setVisibilityOnChildren()
/packages/apps/Gallery2/src/com/android/photos/views/
DGalleryThumbnailView.java478 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/
DPagedView.java717 final int childCount = getChildCount(); in onMeasure() local
718 for (int i = 0; i < childCount; i++) { in onMeasure()
776 final int childCount = getChildCount(); in onLayout() local
784 final int startIndex = mIsRtl ? childCount - 1 : 0; in onLayout()
785 final int endIndex = mIsRtl ? -1 : childCount; in onLayout()
794 if (mPageScrolls == null || childCount != mChildCountOnLastLayout) { in onLayout()
795 mPageScrolls = new int[childCount]; in onLayout()
864 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < childCount) { in onLayout()
869 if (mScroller.isFinished() && mChildCountOnLastLayout != childCount) { in onLayout()
872 mChildCountOnLastLayout = childCount; in onLayout()
[all …]
DCellLayout.java1883 int childCount = mShortcutsAndWidgets.getChildCount(); in copyCurrentStateToSolution() local
1884 for (int i = 0; i < childCount; i++) { in copyCurrentStateToSolution()
1900 int childCount = mShortcutsAndWidgets.getChildCount(); in copySolutionToTempState() local
1901 for (int i = 0; i < childCount; i++) { in copySolutionToTempState()
1923 int childCount = mShortcutsAndWidgets.getChildCount(); in animateItemsToSolution() local
1924 for (int i = 0; i < childCount; i++) { in animateItemsToSolution()
1943 int childCount = mShortcutsAndWidgets.getChildCount(); in beginOrAdjustReorderPreviewAnimations() local
1944 for (int i = 0; i < childCount; i++) { in beginOrAdjustReorderPreviewAnimations()
2130 int childCount = mShortcutsAndWidgets.getChildCount(); in commitTempPlacement() local
2131 for (int i = 0; i < childCount; i++) { in commitTempPlacement()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentTile.java137 int childCount = tileGrid.getChildCount(); in showAndDownloadAttachments() local
140 childCount, new ViewIndexDistanceComparator(mPhotoIndex)); in showAndDownloadAttachments()
141 for (int i = 0; i < childCount; i++) { in showAndDownloadAttachments()
147 int maxAdditionalPriority = childCount; in showAndDownloadAttachments()
148 for (int i = 0; i < childCount; i++) { in showAndDownloadAttachments()
/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java54 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()
DAttachmentPreview.java91 final int childCount = getChildCount(); in onFinishInflate()
92 if (childCount > 0) { in onFinishInflate()
93 final View lastChild = getChildAt(childCount - 1); in onFinishInflate()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DWidgetsListAdapter.java138 int childCount = row.getChildCount(); in onBindViewHolder() local
140 if (expectedChildCount > childCount) { in onBindViewHolder()
141 for (int i = childCount ; i < expectedChildCount; i++) { in onBindViewHolder()
156 } else if (expectedChildCount < childCount) { in onBindViewHolder()
157 for (int i = expectedChildCount ; i < childCount; i++) { in onBindViewHolder()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java687 int childCount = getChildCount(); in setOffsetRows() local
688 for (int i = 0; i < childCount; i++) { in setOffsetRows()
923 int childCount = getChildCount(); in recycleChildrenFromStart() local
924 for (int i = 0; i < childCount; i++) { in recycleChildrenFromStart()
959 int childCount = getChildCount(); in recycleChildrenFromEnd() local
960 for (int i = childCount - 1; i >= 0; i--) { in recycleChildrenFromEnd()
1034 int childCount = getChildCount(); in offsetRowsIndividually() local
1035 for (int i = 0; i < childCount; i++) { in offsetRowsIndividually()
1107 int childCount = getChildCount(); in offsetRowsByPage() local
1108 for (int i = 0; i < childCount; i++) { in offsetRowsByPage()
DPagedListView.java484 final int childCount = parent.getChildCount(); in onDrawOver() local
485 for (int i = 0; i < childCount; i++) { in onDrawOver()
533 final int childCount = parent.getChildCount(); in findTextView() local
534 for(int i = 0; i < childCount; i++) { in findTextView()
/packages/apps/Calendar/src/com/android/calendar/agenda/
DAgendaListView.java132 int childCount = getChildCount(); in updatePastEvents() local
140 for (int i = 0; i < childCount; ++i) { in updatePastEvents()
241 int childCount = getChildCount(); in getFirstVisibleView() local
242 for (int i = 0; i < childCount; ++i) { in getFirstVisibleView()
339 int childCount = getChildCount(); in isAgendaItemVisible() local
342 for (int i = 0; i < childCount; i++) { in isAgendaItemVisible()
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/
DCarDrawerLayout.java613 final int childCount = getChildCount(); in findDrawerView() local
614 for (int i = 0; i < childCount; i++) { in findDrawerView()
633 final int childCount = getChildCount(); in findContentView() local
634 for (int i = childCount - 1; i >= 0; --i) { in findContentView()
828 final int childCount = getChildCount(); in drawChild() local
829 for (int i = 0; i < childCount; i++) { in drawChild()
1191 final int childCount = getChildCount(); in findVisibleDrawer() local
1192 for (int i = 0; i < childCount; i++) { in findVisibleDrawer()
1228 final int childCount = getChildCount(); in onSaveInstanceState() local
1229 for (int i = 0; i < childCount; i++) { in onSaveInstanceState()
/packages/apps/TV/src/com/android/tv/guide/
DProgramGrid.java389 int childCount = getChildCount(); in getFirstVisibleChildIndex() local
390 for (int i = 0; i < childCount; i++) { in getFirstVisibleChildIndex()
402 int childCount = getChildCount(); in updateInputLogo() local
403 if (childCount == 0) { in updateInputLogo()
414 for (int i = firstVisibleChildIndex + 1; i < childCount; i++) { in updateInputLogo()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java202 final int childCount = getChildCount(); in onInterceptTouchEvent() local
203 for (int childIndex = childCount - 1; childIndex >= 0; --childIndex) { in onInterceptTouchEvent()
218 for (int i = childCount - 1; i >= 0; --i) { in onInterceptTouchEvent()
219 final int childIndex = getChildDrawingOrder(childCount, i); in onInterceptTouchEvent()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java180 final int childCount = getChildCount(); in onMeasure() local
181 for (int i = 0; i < childCount; i++) { in onMeasure()
196 final int childCount = getChildCount(); in onLayout() local
197 for (int i = 0; i < childCount; i++) { in onLayout()
DAttachmentTileGrid.java128 final int childCount = getChildCount(); in onMeasureForTiles() local
129 if (childCount == 0) { in onMeasureForTiles()
161 for (int i = 0; i < childCount; i++) { in onMeasureForTiles()
173 final int numRows = ((childCount - 1) / mColumnCount) + 1; in onMeasureForTiles()
/packages/apps/Camera2/src/com/android/camera/widget/
DModeOptions.java284 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/experimental/TestBack/src/foo/bar/testback/
DTestBackService.java115 final int childCount = root.getChildCount(); in dumpTree() local
116 for (int i = 0; i < childCount; i++) { in dumpTree()
129 for (int i = 0; i < childCount; i++) { in dumpTree()
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/
DDragLayer.java823 int childCount = getChildCount(); in updateChildIndices() local
824 for (int i = 0; i < childCount; i++) { in updateChildIndices()
829 mChildCountOnLastUpdate = childCount; in updateChildIndices()
833 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument
834 if (mChildCountOnLastUpdate != childCount) { in getChildDrawingOrder()
846 } else if (i == childCount - 1) { in getChildDrawingOrder()
/packages/experimental/FilledApp/src/foo/bar/filled/
DCustomLinearLayout.java81 final int childCount = viewGroup.getChildCount(); in onProvideAutofillVirtualStructureRecursive() local
82 node.setChildCount(childCount); in onProvideAutofillVirtualStructureRecursive()
83 for (int i = 0; i < childCount; i++) { in onProvideAutofillVirtualStructureRecursive()
/packages/apps/Car/Radio/src/com/android/car/radio/
DRadioPresetsFragment.java301 int childCount = parent.getChildCount(); in onDrawOver() local
303 for (int i = 0; i < childCount; i++) { in onDrawOver()
310 if (i != childCount - 1) { in onDrawOver()

123