Home
last modified time | relevance | path

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

12

/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()
DPagedViewGridLayout.java53 int childCount = getChildCount(); in resetChildrenOnKeyListeners() local
54 for (int j = 0; j < childCount; ++j) { in resetChildrenOnKeyListeners()
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java1289 final int childCount = getChildCount(); in recycleOffscreenViews() local
1290 if (childCount > 0) { in recycleOffscreenViews()
1294 for (int i = 0; i < childCount; i++){ in recycleOffscreenViews()
1668 final int childCount = getChildCount();
1669 for (int i = 0; i < childCount; i++) {
1867 final int childCount = getChildCount();
1868 if (childCount == 0) {
1876 for (int i = 0; i < childCount; i++) {
1906 final int childCount = getChildCount();
1907 if (childCount == 0) {
[all …]
/packages/apps/Dialer/src/com/android/dialer/widget/
DOverlappingPaneLayout.java294 for (int i = 0, childCount = getChildCount(); i < childCount; i++) { in updateObscuredViewsVisibility()
319 for (int i = 0, childCount = getChildCount(); i < childCount; i++) { in setAllChildrenVisible()
401 final int childCount = getChildCount(); in onMeasure() local
403 if (childCount > 2) { in onMeasure()
412 for (int i = 0; i < childCount; i++) { in onMeasure()
468 for (int i = 0; i < childCount; i++) { in onMeasure()
570 final int childCount = getChildCount(); in onLayout() local
578 for (int i = 0; i < childCount; i++) { in onLayout()
1306 final int childCount = getChildCount(); in onInitializeAccessibilityNodeInfo() local
1307 for (int i = 0; i < childCount; i++) { in onInitializeAccessibilityNodeInfo()
/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/WallpaperPicker/src/com/android/launcher3/
DWallpaperPickerActivity.java451 int childCount = mWallpapersView.getChildCount(); in init()
452 for (int i = 0; i < childCount; i++) { in init()
575 int childCount = mWallpapersView.getChildCount(); in init()
577 for (int i = 0; i < childCount; i++) { in init()
606 int childCount = mWallpapersView.getChildCount(); in init()
609 for (int i = 0; i < childCount; i++) { in init()
640 int childCount = mWallpapersView.getChildCount(); in init()
641 for (int i = 0; i < childCount; i++) { in init()
742 final int childCount = masterWallpaperList.getChildCount(); in updateTileIndices() local
749 for (int i = 0; i < childCount; i++) { in updateTileIndices()
/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/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/Launcher3/src/com/android/launcher3/
DAppsCustomizePagedView.java285 int childCount = childrenLayout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() local
286 if (childCount > 0) { in getMiddleComponentIndexOnCurrentPage()
287 i = (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()
293 int childCount = layout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() local
294 if (childCount > 0) { in getMiddleComponentIndexOnCurrentPage()
296 (currentPage * numItemsPerPage) + (childCount / 2); in getMiddleComponentIndexOnCurrentPage()
913 int childCount = layout.getChildCount(); in setVisibilityOnChildren() local
914 for (int i = 0; i < childCount; ++i) { in setVisibilityOnChildren()
941 int childCount = getChildCount(); in setPageBackgroundsVisible() local
942 for (int i = 0; i < childCount; ++i) { in setPageBackgroundsVisible()
DDragLayer.java836 int childCount = getChildCount(); in updateChildIndices() local
837 for (int i = 0; i < childCount; i++) { in updateChildIndices()
842 mChildCountOnLastUpdate = childCount; in updateChildIndices()
846 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument
847 if (mChildCountOnLastUpdate != childCount) { in getChildDrawingOrder()
859 } else if (i == childCount - 1) { in getChildDrawingOrder()
DCellLayout.java2073 int childCount = mShortcutsAndWidgets.getChildCount(); in copyCurrentStateToSolution() local
2074 for (int i = 0; i < childCount; i++) { in copyCurrentStateToSolution()
2094 int childCount = mShortcutsAndWidgets.getChildCount(); in copySolutionToTempState() local
2095 for (int i = 0; i < childCount; i++) { in copySolutionToTempState()
2122 int childCount = mShortcutsAndWidgets.getChildCount(); in animateItemsToSolution() local
2123 for (int i = 0; i < childCount; i++) { in animateItemsToSolution()
2143 int childCount = mShortcutsAndWidgets.getChildCount(); in beginOrAdjustReorderPreviewAnimations() local
2144 for (int i = 0; i < childCount; i++) { in beginOrAdjustReorderPreviewAnimations()
2299 int childCount = mShortcutsAndWidgets.getChildCount(); in commitTempPlacement() local
2300 for (int i = 0; i < childCount; i++) { in commitTempPlacement()
[all …]
DPagedView.java869 final int childCount = getChildCount(); in onMeasure() local
870 for (int i = 0; i < childCount; i++) { in onMeasure()
942 final int childCount = getChildCount(); in onLayout() local
952 final int startIndex = isRtl ? childCount - 1 : 0; in onLayout()
953 final int endIndex = isRtl ? -1 : childCount; in onLayout()
1015 if (childCount > 0) { in onLayout()
1016 final int index = isLayoutRtl() ? 0 : childCount - 1; in onLayout()
2147 final int childCount = getChildCount(); in getPageNearestToCenterOfScreen() local
2148 for (int i = 0; i < childCount; ++i) { in getPageNearestToCenterOfScreen()
DWorkspace.java1950 final int childCount = getChildCount();
1951 for (int i = 0; i < childCount; i++) {
2096 final int childCount = getChildCount(); in initAnimationArrays() local
2097 if (mLastChildCount == childCount) return; in initAnimationArrays()
2099 mOldBackgroundAlphas = new float[childCount]; in initAnimationArrays()
2100 mOldAlphas = new float[childCount]; in initAnimationArrays()
2101 mNewBackgroundAlphas = new float[childCount]; in initAnimationArrays()
2102 mNewAlphas = new float[childCount]; in initAnimationArrays()
4735 int childCount = layout.getChildCount();
4736 for (int i = 0; i < childCount; ++i) {
[all …]
DAppsCustomizeCellLayout.java66 int childCount = children.getChildCount(); in resetChildrenOnKeyListeners() local
67 for (int j = 0; j < childCount; ++j) { in resetChildrenOnKeyListeners()
DPagedViewGridLayout.java53 int childCount = getChildCount(); in resetChildrenOnKeyListeners() local
54 for (int j = 0; j < childCount; ++j) { in resetChildrenOnKeyListeners()
/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.java247 int childCount = mActiveBar.getChildCount(); in setupAnimators() local
249 for (int i = 0; i < childCount; i++) { in setupAnimators()
254 button = mActiveBar.getChildAt(childCount-1-i); in setupAnimators()
258 ValueAnimator.ofFloat(deltaX*(childCount-i), 0.0f); in setupAnimators()
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
Dpatricia_trie_policy.cpp46 const int childCount = PatriciaTrieReadingUtils::getPtNodeArraySizeAndAdvancePosition( in createAndGetAllChildDicNodes() local
48 for (int i = 0; i < childCount; i++) { in createAndGetAllChildDicNodes()
51 nextPos, mDictBufferSize, i, childCount); in createAndGetAllChildDicNodes()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactTileAdapter.java590 final int childCount = getChildCount();
591 if (childCount == 0) {
615 for (int i = 0; i < childCount; i++) {
DViewPagerTabStrip.java70 int childCount = getChildCount(); in onDraw() local
73 if (childCount > 0) { in onDraw()
/packages/apps/Browser/src/com/android/browser/view/
DCustomScreenLinearLayout.java44 protected int getChildDrawingOrder(int childCount, int i) { in getChildDrawingOrder() argument
45 return childCount - i - 1; in getChildDrawingOrder()

12