Searched refs:childHeight (Results 1 – 8 of 8) sorted by relevance
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | MiniDrawerView.java | 195 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()
|
D | AttachmentTileGrid.java | 202 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/ |
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 | 61 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/ |
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 | 640 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()
|