Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMiniDrawerView.java195 int childHeight = 0; in onLayout() local
203 childHeight += params.topMargin + params.bottomMargin + child.getMeasuredHeight(); in onLayout()
206 if (childHeight <= availableHeight) { in onLayout()
213 if (childHeight <= availableHeight) { in onLayout()
215 measureSpacer(availableHeight - childHeight); in onLayout()
231 childHeight -= childToHideParams.topMargin + childToHideParams.bottomMargin + in onLayout()
235 if (childHeight <= availableHeight) { in onLayout()
237 measureSpacer(availableHeight - childHeight); in onLayout()
DAttachmentTileGrid.java202 final int childHeight = child.getMeasuredHeight(); in onLayoutForTiles() local
209 childTop += childHeight + mTilePadding; in onLayoutForTiles()
215 childLeft + childWidth, childTop + childHeight); in onLayoutForTiles()
/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/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/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/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/widget/
DConstraintViewPager.java61 int childHeight = view.getMeasuredHeight(); in onMeasure() local
65 infoChildHeight = childHeight; in onMeasure()
68 if (childHeight > maxChildHeight) { in onMeasure()
69 maxChildHeight = childHeight; in onMeasure()
/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/Launcher3/src/com/android/launcher3/
DPagedView.java640 final int childHeight = child.getMeasuredHeight(); in getPageScrolls() local
641 final int childTop = verticalCenter - childHeight / 2; in getPageScrolls()
642 child.layout(childLeft, childTop, childRight, childTop + childHeight); in getPageScrolls()