Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DLinearLayout.java394 final int childHeight = child.getMeasuredHeight(); in measureVertical() local
396 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
400 largestChildHeight = Math.max(childHeight, largestChildHeight); in measureVertical()
521 int childHeight = child.getMeasuredHeight() + share; in measureVertical() local
522 if (childHeight < 0) { in measureVertical()
523 childHeight = 0; in measureVertical()
527 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureVertical()
734 final int childHeight = child.getMeasuredHeight() + margin; in measureHorizontal() local
747 maxDescent[index] = Math.max(maxDescent[index], childHeight - childBaseline); in measureHorizontal()
751 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
[all …]
DSlidingDrawer.java320 int childHeight = handle.getMeasuredHeight(); in onLayout() local
329 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout()
331 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in onLayout()
332 mTopOffset + childHeight + content.getMeasuredHeight()); in onLayout()
335 childTop = (height - childHeight) / 2; in onLayout()
342 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
636 final int childHeight = mHandleHeight; in prepareContent() local
637 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent()
640 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in prepareContent()
641 mTopOffset + childHeight + content.getMeasuredHeight()); in prepareContent()
DRelativeLayout.java477 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
478 params.mTop = height - mPaddingBottom - childHeight; in onMeasure()
479 params.mBottom = params.mTop + childHeight; in onMeasure()
894 int childHeight = child.getMeasuredHeight(); in centerVertical() local
895 int top = (myHeight - childHeight) / 2; in centerVertical()
898 params.mBottom = top + childHeight; in centerVertical()
DGallery.java818 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight(); in calculateTop() local
828 - mSpinnerPadding.top - childHeight; in calculateTop()
832 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
DGridView.java930 int childHeight = 0; in onMeasure() local
952 childHeight = child.getMeasuredHeight(); in onMeasure()
960 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
969 ourSize += childHeight; in onMeasure()
DScrollView.java250 int childHeight = child.getHeight(); in canScroll() local
251 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll()
DListView.java1097 int childHeight = 0; in onMeasure() local
1107 childHeight = child.getMeasuredHeight(); in onMeasure()
1121 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
DLinearLayoutEditTextsTest.java52 final int childHeight = mChild.getHeight(); in testLayout() local
55 assertEquals(containerHeight, childHeight); in testLayout()