Searched refs:childHeight (Results 1 – 7 of 7) 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/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/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/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/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/Launcher3/src/com/android/launcher3/ |
D | PagedView.java | 641 final int childHeight = child.getMeasuredHeight(); in getPageScrolls() local 642 final int childTop = verticalCenter - childHeight / 2; in getPageScrolls() 643 child.layout(childLeft, childTop, childRight, childTop + childHeight); in getPageScrolls()
|