Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/
DMessagingLinearLayout.java111 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin + in onMeasure()
171 final int childHeight = child.getMeasuredHeight(); in onLayout() local
190 lp.lastVisibleHeight = childHeight; in onLayout()
198 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
200 childTop += childHeight + lp.bottomMargin; in onLayout()
DAbsActionBarView.java321 int childHeight = child.getMeasuredHeight(); in positionChild() local
322 int childTop = y + (contentHeight - childHeight) / 2; in positionChild()
325 child.layout(x - childWidth, childTop, x, childTop + childHeight); in positionChild()
327 child.layout(x, childTop, x + childWidth, childTop + childHeight); in positionChild()
DNotificationActionListLayout.java242 final int childHeight = child.getMeasuredHeight(); in onLayout() local
246 childTop = paddingTop + ((innerHeight - childHeight) / 2) in onLayout()
250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight); in onLayout()
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()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DCustomScrollView.java81 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/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.java607 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
608 params.mTop = height - mPaddingBottom - childHeight; in onMeasure()
609 params.mBottom = params.mTop + childHeight; in onMeasure()
1084 int childHeight = child.getMeasuredHeight(); in centerVertical() local
1085 int top = (myHeight - childHeight) / 2; in centerVertical()
1088 params.mBottom = top + childHeight; in centerVertical()
DGallery.java961 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight(); in calculateTop() local
971 - mSpinnerPadding.top - childHeight; in calculateTop()
975 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
DScrollView.java401 int childHeight = child.getHeight(); in canScroll() local
402 return getHeight() < childHeight + mPaddingTop + mPaddingBottom; in canScroll()
1676 final int childHeight = (getChildCount() > 0) ? getChildAt(0).getMeasuredHeight() : 0; in onLayout() local
1678 childHeight - (b - t - mPaddingBottom - mPaddingTop)); in onLayout()
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()
DGridView.java1079 int childHeight = 0; in onMeasure() local
1103 childHeight = child.getMeasuredHeight(); in onMeasure()
1112 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1121 ourSize += childHeight; in onMeasure()
DStackView.java1144 final int childHeight = Math.round(measuredHeight*(1-PERSPECTIVE_SHIFT_FACTOR_Y))
1153 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.AT_MOST));
1175 if (maxHeight > 0 && count > 0 && maxHeight < childHeight) {
/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/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.java988 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
991 maxContentHeight += childHeight;
1012 float childHeight;
1014 childHeight = child.getShowingLayout().getMinHeight(false /* likeGroupExpanded */);
1016 childHeight = child.getMaxExpandHeight();
1018 childHeight = child.getShowingLayout().getMinHeight(
1025 childHeight, fraction), false);
1027 child.setActualHeight((int) childHeight, false);
1052 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1055 intrinsicHeight += childHeight;
DStackScrollAlgorithm.java424 int childHeight = getMaxAllowedChildHeight(child); in updateChild() local
426 childViewState.yTranslation = currentYPosition - (childHeight + paddingAfterChild); in updateChild()
449 ambientState.getInnerHeight() - childHeight); in updateChild()
451 childViewState.yTranslation = ambientState.getInnerHeight() - childHeight in updateChild()
463 currentYPosition = childViewState.yTranslation + childHeight + paddingAfterChild; in updateChild()
/frameworks/base/graphics/java/android/graphics/drawable/
DInsetDrawable.java296 final int childHeight = getDrawable().getIntrinsicHeight(); in getIntrinsicHeight() local
298 if (childHeight < 0 || fraction >= 1) { in getIntrinsicHeight()
301 return (int) (childHeight / (1 - fraction)) + mState.mInsetTop.mDimension in getIntrinsicHeight()
/frameworks/base/core/java/android/view/
DNotificationHeaderView.java208 int childHeight = child.getMeasuredHeight(); in onLayout() local
212 int top = (int) (getPaddingTop() + (ownHeight - childHeight) / 2.0f); in onLayout()
213 int bottom = top + childHeight; in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DExpandableView.java97 int childHeight = child.getMeasuredHeight(); in onMeasure() local
98 maxChildHeight = Math.max(maxChildHeight, childHeight); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DSmartReplyView.java457 final int childHeight = child.getMeasuredHeight(); in onMeasure() local
460 Math.max(accumulatedMeasures.mMaxChildHeight, childHeight); in onMeasure()
808 final int childHeight = child.getMeasuredHeight(); in onLayout() local
810 child.layout(childLeft, 0, childLeft + childWidth, childHeight); in onLayout()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DRecentsView.java458 int childHeight = mEmptyView.getMeasuredHeight();
462 Math.max(0, (bottom - top - topBottomInsets - childHeight)) / 2;
463 mEmptyView.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);

12