Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/view/
DNotificationTopLineView.java132 int childHeight = child.getMeasuredHeight(); in onMeasure() local
135 mMaxDescent = Math.max(mMaxDescent, childHeight - childBaseline); in onMeasure()
137 maxChildHeight = Math.max(maxChildHeight, childHeight); in onMeasure()
184 int childHeight = child.getMeasuredHeight(); in onLayout() local
200 if (childSpace - childHeight > 0) { in onLayout()
203 childTop = mPaddingTop + (childSpace - childHeight) / 2; in onLayout()
206 childTop = mPaddingTop + ((childSpace - childHeight) / 2) in onLayout()
212 childTop = childBottom - childHeight - params.bottomMargin; in onLayout()
214 int descent = childHeight - childBaseline; in onLayout()
222 child.layout(start, childTop, start, childTop + childHeight); in onLayout()
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java130 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
131 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure()
149 previousChildHeight = childHeight; in onMeasure()
208 final int childHeight = child.getMeasuredHeight(); in onLayout() local
227 lp.lastVisibleHeight = childHeight; in onLayout()
235 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
237 childTop += childHeight + lp.bottomMargin; in onLayout()
DRemeasuringLinearLayout.java70 int childHeight = child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin; in onMeasure() local
71 height = Math.max(height, isVertical ? height + childHeight : childHeight); in onMeasure()
DAbsActionBarView.java322 int childHeight = child.getMeasuredHeight(); in positionChild() local
323 int childTop = y + (contentHeight - childHeight) / 2; in positionChild()
326 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild()
328 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild()
DAlertDialogLayout.java316 final int childHeight = child.getMeasuredHeight(); in onLayout() local
351 setChildFrame(child, childLeft, childTop, childWidth, childHeight); in onLayout()
352 childTop += childHeight + lp.bottomMargin; in onLayout()
DNotificationActionListLayout.java277 final int childHeight = child.getMeasuredHeight(); in onLayout() local
281 childTop = paddingTop + ((innerHeight - childHeight) / 2) in onLayout()
285 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DCustomScrollView.java82 final int childHeight = child.getMeasuredHeight(); in calculateDimensions() local
85 mHeight = Math.min(childHeight, maxHeight); in calculateDimensions()
88 + ", childHeight=" + childHeight + ", w=" + mWidth + ", h=" + mHeight); in calculateDimensions()
/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()
/frameworks/base/core/java/android/widget/
DLinearLayout.java845 final int childHeight = child.getMeasuredHeight(); in measureVertical() local
851 consumedExcessSpace += childHeight; in measureVertical()
855 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin + in measureVertical()
859 largestChildHeight = Math.max(childHeight, largestChildHeight); in measureVertical()
976 final int childHeight; in measureVertical() local
978 childHeight = largestChildHeight; in measureVertical()
983 childHeight = share; in measureVertical()
987 childHeight = child.getMeasuredHeight() + share; in measureVertical()
991 Math.max(0, childHeight), MeasureSpec.EXACTLY); in measureVertical()
1240 final int childHeight = child.getMeasuredHeight() + margin; in measureHorizontal() local
[all …]
DSlidingDrawer.java349 int childHeight = handle.getMeasuredHeight(); in onLayout() local
358 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset; in onLayout()
360 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in onLayout()
361 mTopOffset + childHeight + content.getMeasuredHeight()); in onLayout()
364 childTop = (height - childHeight) / 2; in onLayout()
371 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
668 final int childHeight = mHandleHeight; in prepareContent() local
669 int height = mBottom - mTop - childHeight - mTopOffset; in prepareContent()
672 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(), in prepareContent()
673 mTopOffset + childHeight + content.getMeasuredHeight()); in prepareContent()
DRelativeLayout.java608 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
609 params.mTop = height - mPaddingBottom - childHeight; in onMeasure()
610 params.mBottom = params.mTop + childHeight; in onMeasure()
1085 int childHeight = child.getMeasuredHeight(); in centerVertical() local
1086 int top = (myHeight - childHeight) / 2; in centerVertical()
1089 params.mBottom = top + childHeight; in centerVertical()
DGallery.java962 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight(); in calculateTop() local
972 - mSpinnerPadding.top - childHeight; in calculateTop()
976 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
DToolbar.java2085 final int childHeight = child.getMeasuredHeight(); in getChildTop() local
2086 final int alignmentOffset = alignmentHeight > 0 ? (childHeight - alignmentHeight) / 2 : 0; in getChildTop()
2092 return getHeight() - getPaddingBottom() - childHeight in getChildTop()
2101 int spaceAbove = (space - childHeight) / 2; in getChildTop()
2105 final int spaceBelow = height - paddingBottom - childHeight - in getChildTop()
DAdapterViewAnimator.java686 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; in measureChildren() local
691 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureChildren()
DScrollView.java407 int childHeight = child.getHeight(); in canScroll() local
408 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll()
1703 final int childHeight = (getChildCount() > 0) ? getChildAt(0).getMeasuredHeight() : 0; in onLayout() local
1705 childHeight - (b - t - mPaddingBottom - mPaddingTop)); in onLayout()
DGridView.java1080 int childHeight = 0; in onMeasure() local
1104 childHeight = child.getMeasuredHeight(); in onMeasure()
1113 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1122 ourSize += childHeight; in onMeasure()
DStackView.java1146 final int childHeight = Math.round(measuredHeight*(1-PERSPECTIVE_SHIFT_FACTOR_Y))
1155 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST));
1177 if (maxHeight > 0 && count > 0 && maxHeight < childHeight) {
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DBottomScrollViewTest.java72 private BottomScrollView createScrollView(final int childHeight) { in createScrollView() argument
77 final View child = new TestChildView(context, childHeight); in createScrollView()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DFlowLayout.java101 final int childHeight = child.getMeasuredHeight(); in onLayout() local
106 child.layout(x, y, x + childWidth, y + childHeight); in onLayout()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java802 final int childHeight = child.getMeasuredHeight(); in layoutChildren() local
803 final int childBottom = childTop + childHeight; in layoutChildren()
813 if (rec != null && rec.height != childHeight) { in layoutChildren()
815 rec.height = childHeight; in layoutChildren()
946 final int childHeight = child.getMeasuredHeight(); in fillUp() local
947 if (invalidateBefore || (childHeight != rec.height && rec.height > 0)) { in fillUp()
950 rec.height = childHeight; in fillUp()
966 final int childTop = childBottom - childHeight; in fillUp()
1060 final int childHeight = child.getMeasuredHeight(); in fillDown() local
1061 if (invalidateAfter || (childHeight != rec.height && rec.height > 0)) { in fillDown()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationChildrenContainer.java1020 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1023 maxContentHeight += childHeight;
1044 float childHeight;
1046 childHeight = child.getShowingLayout().getMinHeight(false /* likeGroupExpanded */);
1048 childHeight = child.getMaxExpandHeight();
1050 childHeight = child.getShowingLayout().getMinHeight(
1057 childHeight, fraction), false);
1059 child.setActualHeight((int) childHeight, false);
1084 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1087 intrinsicHeight += childHeight;
DNotificationStackScrollLayout.java1132 final int childHeight = getIntrinsicHeight(child) + mPaddingBetweenElements;
1137 setOwnScrollY(mOwnScrollY + childHeight);
2786 final int childHeight = getIntrinsicHeight(removedChild) + mPaddingBetweenElements; in updateScrollStateForRemovedChild() local
2787 final int endPosition = startingPosition + childHeight; in updateScrollStateForRemovedChild()
2794 setOwnScrollY(mOwnScrollY - childHeight); in updateScrollStateForRemovedChild()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java297 final int childHeight = getDrawable().getIntrinsicHeight(); in getIntrinsicHeight() local
299 if (childHeight < 0 || fraction >= 1) { in getIntrinsicHeight()
302 return (int) (childHeight / (1 - fraction)) + mState.mInsetTop.mDimension in getIntrinsicHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java283 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
286 Math.max(accumulatedMeasures.mMaxChildHeight, childHeight); in onMeasure()
600 final int childHeight = child.getMeasuredHeight(); in onLayout() local
602 child.layout(childLeft, 0, childLeft + childWidth, childHeight); in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java123 int childHeight = child.getMeasuredHeight(); in onMeasure() local
124 maxChildHeight = Math.max(maxChildHeight, childHeight); in onMeasure()

12