Home
last modified time | relevance | path

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

12

/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspaceStateTransitionAnimation.java241 final int childCount = mWorkspace.getChildCount(); in reinitializeAnimationArrays() local
242 if (mLastChildCount == childCount) return; in reinitializeAnimationArrays()
244 mOldBackgroundAlphas = new float[childCount]; in reinitializeAnimationArrays()
245 mOldAlphas = new float[childCount]; in reinitializeAnimationArrays()
246 mNewBackgroundAlphas = new float[childCount]; in reinitializeAnimationArrays()
247 mNewAlphas = new float[childCount]; in reinitializeAnimationArrays()
287 final int childCount = mWorkspace.getChildCount(); in animateWorkspace() local
311 for (int i = 0; i < childCount; i++) { in animateWorkspace()
359 for (int index = 0; index < childCount; index++) { in animateWorkspace()
DPagedView.java787 final int childCount = getChildCount(); in onMeasure() local
788 for (int i = 0; i < childCount; i++) { in onMeasure()
845 final int childCount = getChildCount(); in onLayout() local
853 final int startIndex = mIsRtl ? childCount - 1 : 0; in onLayout()
854 final int endIndex = mIsRtl ? -1 : childCount; in onLayout()
863 if (mPageScrolls == null || childCount != mChildCountOnLastLayout) { in onLayout()
864 mPageScrolls = new int[childCount]; in onLayout()
935 if (mFirstLayout && mCurrentPage >= 0 && mCurrentPage < childCount) { in onLayout()
940 if (mScroller.isFinished() && mChildCountOnLastLayout != childCount) { in onLayout()
948 mChildCountOnLastLayout = childCount; in onLayout()
[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()
DViewPagerTabStrip.java71 int childCount = getChildCount(); in onDraw() local
74 if (childCount > 0) { in onDraw()
DCustomHeaderPagerListViewHolder.java116 final int childCount = mListView.getChildCount(); in toggleVisibilityForPendingTransition() local
117 for (int i = 0; i < childCount; i++) { in toggleVisibilityForPendingTransition()
/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 …]
DPagedViewGridLayout.java53 int childCount = getChildCount(); in resetChildrenOnKeyListeners() local
54 for (int j = 0; j < childCount; ++j) { in resetChildrenOnKeyListeners()
/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/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/apps/ExactCalculator/src/com/android/calculator2/
DCalculatorPadViewPager.java121 final int childCount = getChildCount(); in onInterceptTouchEvent() local
122 for (int i = childCount - 1; i >= 0; --i) { in onInterceptTouchEvent()
123 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/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/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/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java677 int childCount = getChildCount(); in setOffsetRows() local
678 for (int i = 0; i < childCount; i++) { in setOffsetRows()
913 int childCount = getChildCount(); in recycleChildrenFromStart() local
914 for (int i = 0; i < childCount; i++) { in recycleChildrenFromStart()
949 int childCount = getChildCount(); in recycleChildrenFromEnd() local
950 for (int i = childCount - 1; i >= 0; i--) { in recycleChildrenFromEnd()
1024 int childCount = getChildCount(); in offsetRowsIndividually() local
1025 for (int i = 0; i < childCount; i++) { in offsetRowsIndividually()
1097 int childCount = getChildCount(); in offsetRowsByPage() local
1098 for (int i = 0; i < childCount; i++) { in offsetRowsByPage()
DPagedListView.java481 final int childCount = parent.getChildCount(); in onDrawOver() local
482 for (int i = 0; i < childCount; i++) { in onDrawOver()
530 final int childCount = parent.getChildCount(); in findTextView() local
531 for(int i = 0; i < childCount; i++) { in findTextView()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DItem.java85 int childCount = parent.getChildCount(); in setEnabledInternal() local
86 for (int i = 0; i < childCount; ++i) { in setEnabledInternal()
/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/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/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DButtonBarLayout.java108 final int childCount = getChildCount(); in setStacked() local
109 for (int i = childCount - 2; i >= 0; i--) { in setStacked()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java559 int childCount = mWallpapersView.getChildCount();
560 for (int i = 0; i < childCount; i++) {
688 int childCount = mWallpapersView.getChildCount();
690 for (int i = 0; i < childCount; i++) {
719 int childCount = mWallpapersView.getChildCount();
722 for (int i = 0; i < childCount; i++) {
753 int childCount = mWallpapersView.getChildCount();
754 for (int i = 0; i < childCount; i++) {
870 final int childCount = masterWallpaperList.getChildCount();
877 for (int i = 0; i < childCount; i++) {
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardDecorator.java42 final int childCount = parent.getChildCount(); in onDrawOver() local
43 for (int i = 1; i < childCount; i++) { in onDrawOver()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DViewPagerTabStrip.java70 int childCount = getChildCount(); in onDraw() local
73 if (childCount > 0) { in onDraw()

12