/frameworks/base/core/java/com/android/internal/widget/ |
D | MessagingLinearLayout.java | 111 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()
|
D | AbsActionBarView.java | 321 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()
|
D | NotificationActionListLayout.java | 242 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()
|
D | AlertDialogLayout.java | 316 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/ |
D | CustomScrollView.java | 81 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/ |
D | LinearLayout.java | 845 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 …]
|
D | SlidingDrawer.java | 349 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()
|
D | RelativeLayout.java | 607 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()
|
D | Gallery.java | 961 int childHeight = duringLayout ? child.getMeasuredHeight() : child.getHeight(); in calculateTop() local 971 - mSpinnerPadding.top - childHeight; in calculateTop() 975 childTop = myHeight - mSpinnerPadding.bottom - childHeight; in calculateTop()
|
D | ScrollView.java | 401 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()
|
D | Toolbar.java | 2085 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()
|
D | AdapterViewAnimator.java | 686 final int childHeight = getMeasuredHeight() - mPaddingTop - mPaddingBottom; in measureChildren() local 691 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY)); in measureChildren()
|
D | GridView.java | 1079 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()
|
D | StackView.java | 1144 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/ |
D | LinearLayoutEditTextsTest.java | 52 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/ |
D | BottomScrollViewTest.java | 72 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/ |
D | FlowLayout.java | 101 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/ |
D | StaggeredGridView.java | 802 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/ |
D | NotificationChildrenContainer.java | 988 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;
|
D | StackScrollAlgorithm.java | 424 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/ |
D | InsetDrawable.java | 296 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/ |
D | NotificationHeaderView.java | 208 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/ |
D | ExpandableView.java | 97 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/ |
D | SmartReplyView.java | 457 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/ |
D | RecentsView.java | 458 int childHeight = mEmptyView.getMeasuredHeight(); 462 Math.max(0, (bottom - top - topBottomInsets - childHeight)) / 2; 463 mEmptyView.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
|