Searched refs:childHeight (Results 1 – 9 of 9) sorted by relevance
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | LineWrapLayout.java | 117 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/ |
D | MatchParentShrinkingLinearLayout.java | 716 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/ |
D | MatchParentShrinkingLinearLayout.java | 716 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/ |
D | ConstraintViewPager.java | 63 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/ |
D | ConstraintViewPager.java | 51 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/ |
D | PortraitPagedViewHandler.java | 253 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()
|
D | LandscapePagedViewHandler.java | 254 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/ |
D | ProportionalLayout.java | 100 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/ |
D | ScaleBehavior.java | 77 int childHeight = availableHeight - contentContainerMinimumHeight - getToolbarHeight(); in onMeasureChild() local 81 View.MeasureSpec.makeMeasureSpec(childHeight, View.MeasureSpec.EXACTLY); in onMeasureChild()
|