Home
last modified time | relevance | path

Searched refs:childHeight (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/
DLineWrapLayout.java117 int childHeight = currChild.getMeasuredHeight(); in onLayout() local
128 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + in onLayout()
146 int childHeight = currChild.getMeasuredHeight(); in onLayout() local
165 startPositionY = y + lineHeight - childHeight - layoutParams.bottomMargin; in onLayout()
169 startPositionY = y + (lineHeight - childHeight) / 2; in onLayout()
177 width - startPositionX, startPositionY + childHeight); in onLayout()
180 startPositionY + childHeight); in onLayout()
182 currLineHeight = Math.max(currLineHeight, childHeight + layoutParams.topMargin + in onLayout()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DMatchParentShrinkingLinearLayout.java716 final int childHeight = child.getMeasuredHeight(); in measureVertical() local
718 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
722 largestChildHeight = Math.max(childHeight, largestChildHeight); in measureVertical()
853 int childHeight = child.getMeasuredHeight() + share; in measureVertical() local
854 if (childHeight < 0) { in measureVertical()
855 childHeight = 0; in measureVertical()
859 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical()
876 int childHeight = child.getMeasuredHeight() + delta; in measureVertical() local
877 if (childHeight < 0) { in measureVertical()
878 childHeight = 0; in measureVertical()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DMatchParentShrinkingLinearLayout.java716 final int childHeight = child.getMeasuredHeight(); in measureVertical() local
718 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
722 largestChildHeight = Math.max(childHeight, largestChildHeight); in measureVertical()
853 int childHeight = child.getMeasuredHeight() + share; in measureVertical() local
854 if (childHeight < 0) { in measureVertical()
855 childHeight = 0; in measureVertical()
859 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical()
876 int childHeight = child.getMeasuredHeight() + delta; in measureVertical() local
877 if (childHeight < 0) { in measureVertical()
878 childHeight = 0; in measureVertical()
[all …]
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/widget/
DConstraintViewPager.java63 int childHeight = view.getMeasuredHeight(); in onMeasure() local
67 infoChildHeight = childHeight; in onMeasure()
70 if (childHeight > maxChildHeight) { in onMeasure()
71 maxChildHeight = childHeight; in onMeasure()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DConstraintViewPager.java51 int childHeight = view.getMeasuredHeight(); in onMeasure() local
52 if (childHeight > maxChildHeight) { in onMeasure()
53 maxChildHeight = childHeight; in onMeasure()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPortraitPagedViewHandler.java253 final int childHeight = child.getMeasuredHeight(); in getChildBounds() local
254 final int childTop = pageCenter - childHeight / 2; in getChildBounds()
256 child.layout(childStart, childTop, childRight, childTop + childHeight); in getChildBounds()
258 return new ChildBounds(childWidth, childHeight, childRight, childTop); in getChildBounds()
DLandscapePagedViewHandler.java254 final int childHeight = child.getMeasuredHeight(); in getChildBounds() local
255 final int childBottom = childStart + childHeight; in getChildBounds()
261 return new ChildBounds(childHeight, childWidth, childBottom, childLeft); in getChildBounds()
/packages/apps/Contacts/src/com/android/contacts/widget/
DProportionalLayout.java100 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
105 width = Math.round(childHeight * mRatio); in onMeasure()
106 height = childHeight; in onMeasure()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DScaleBehavior.java77 int childHeight = availableHeight - contentContainerMinimumHeight - getToolbarHeight(); in onMeasureChild() local
81 View.MeasureSpec.makeMeasureSpec(childHeight, View.MeasureSpec.EXACTLY); in onMeasureChild()