Searched refs:childHeight (Results 1 - 25 of 45) sorted by relevance

12

/frameworks/support/percent/src/androidTest/java/androidx/percentlayout/widget/
H A DPercentRelativeTest.java81 final int childHeight = childToTest.getHeight();
86 0.05f * childWidth, childHeight);
102 final int childHeight = childToTest.getHeight();
105 0.5f * mContainerHeight, childHeight);
107 0.05f * childHeight, childWidth);
123 final int childHeight = childToTest.getHeight();
128 0.05f * childWidth, childHeight);
144 final int childHeight = childToTest.getHeight();
147 0.4f * mContainerHeight, childHeight);
149 0.05f * childHeight, childWidt
[all...]
H A DPercentFrameTest.java54 int childHeight = childToTest.getHeight();
59 0.5f * mContainerHeight, childHeight);
67 int childHeight = childToTest.getHeight();
72 childWidth / 1.2f, childHeight);
80 int childHeight = childToTest.getHeight();
83 0.5f * mContainerHeight, childHeight);
85 1.5f * childHeight, childWidth);
131 int childHeight = childToTest.getHeight();
138 0.5f * mContainerHeight, childHeight);
150 int childHeight
[all...]
H A DPercentRelativeRtlTest.java153 final int childHeight = childToTest.getHeight();
158 0.05f * childWidth, childHeight);
181 final int childHeight = childToTest.getHeight();
184 0.5f * mContainerHeight, childHeight);
186 0.05f * childHeight, childWidth);
215 final int childHeight = childToTest.getHeight();
220 0.05f * childWidth, childHeight);
248 final int childHeight = childToTest.getHeight();
251 0.4f * mContainerHeight, childHeight);
253 0.05f * childHeight, childWidt
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
H A DLinearLayoutEditTextsTest.java52 final int childHeight = mChild.getHeight();
55 assertEquals(containerHeight, childHeight);
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DCustomScrollView.java81 final int childHeight = child.getMeasuredHeight();
85 mHeight = Math.min(childHeight, maxHeight);
88 + ", childHeight=" + childHeight + ", w=" + mWidth + ", h=" + mHeight);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DBottomScrollViewTest.java74 private BottomScrollView createScrollView(final int childHeight) { argument
79 final View child = new TestChildView(context, childHeight);
/frameworks/base/core/java/com/android/internal/widget/
H A DMessagingLinearLayout.java111 final int childHeight = child.getMeasuredHeight();
112 int newHeight = Math.max(totalHeight, totalHeight + childHeight + lp.topMargin +
168 final int childHeight = child.getMeasuredHeight();
187 lp.lastVisibleHeight = childHeight;
195 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
197 childTop += childHeight + lp.bottomMargin;
H A DAbsActionBarView.java320 int childHeight = child.getMeasuredHeight();
321 int childTop = y + (contentHeight - childHeight) / 2;
324 child.layout(x - childWidth, childTop, x, childTop + childHeight);
326 child.layout(x, childTop, x + childWidth, childTop + childHeight);
H A DAlertDialogLayout.java314 final int childHeight = child.getMeasuredHeight();
349 setChildFrame(child, childLeft, childTop, childWidth, childHeight);
350 childTop += childHeight + lp.bottomMargin;
H A DNotificationActionListLayout.java242 final int childHeight = child.getMeasuredHeight();
246 childTop = paddingTop + ((innerHeight - childHeight) / 2)
250 child.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
H A DFlowLayout.java101 final int childHeight = child.getMeasuredHeight();
106 child.layout(x, y, x + childWidth, y + childHeight);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DLinearLayoutCompat.java669 final int childHeight = child.getMeasuredHeight();
671 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
675 largestChildHeight = Math.max(childHeight, largestChildHeight);
805 int childHeight = child.getMeasuredHeight() + share;
806 if (childHeight < 0) {
807 childHeight = 0;
811 MeasureSpec.makeMeasureSpec(childHeight, MeasureSpec.EXACTLY));
1057 final int childHeight = child.getMeasuredHeight() + margin;
1071 maxDescent[index] = Math.max(maxDescent[index], childHeight - childBaseline);
1075 maxHeight = Math.max(maxHeight, childHeight);
[all...]
H A DAbsActionBarView.java261 int childHeight = child.getMeasuredHeight();
262 int childTop = y + (contentHeight - childHeight) / 2;
265 child.layout(x - childWidth, childTop, x, childTop + childHeight);
267 child.layout(x, childTop, x + childWidth, childTop + childHeight);
H A DAlertDialogLayout.java306 final int childHeight = child.getMeasuredHeight();
341 setChildFrame(child, childLeft, childTop, childWidth, childHeight);
342 childTop += childHeight + lp.bottomMargin;
/frameworks/base/core/java/android/widget/
H A DSlidingDrawer.java342 int childHeight = handle.getMeasuredHeight();
351 childTop = mExpanded ? mTopOffset : height - childHeight + mBottomOffset;
353 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
354 mTopOffset + childHeight + content.getMeasuredHeight());
357 childTop = (height - childHeight) / 2;
364 handle.layout(childLeft, childTop, childLeft + childWidth, childTop + childHeight);
659 final int childHeight = mHandleHeight;
660 int height = mBottom - mTop - childHeight - mTopOffset;
663 content.layout(0, mTopOffset + childHeight, content.getMeasuredWidth(),
664 mTopOffset + childHeight
[all...]
H A DLinearLayout.java828 final int childHeight = child.getMeasuredHeight();
834 consumedExcessSpace += childHeight;
838 mTotalLength = Math.max(totalLength, totalLength + childHeight + lp.topMargin +
842 largestChildHeight = Math.max(childHeight, largestChildHeight);
959 final int childHeight;
961 childHeight = largestChildHeight;
966 childHeight = share;
970 childHeight = child.getMeasuredHeight() + share;
974 Math.max(0, childHeight), MeasureSpec.EXACTLY);
1223 final int childHeight
[all...]
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java802 final int childHeight = child.getMeasuredHeight();
803 final int childBottom = childTop + childHeight;
813 if (rec != null && rec.height != childHeight) {
815 rec.height = childHeight;
946 final int childHeight = child.getMeasuredHeight();
947 if (invalidateBefore || (childHeight != rec.height && rec.height > 0)) {
950 rec.height = childHeight;
966 final int childTop = childBottom - childHeight;
1060 final int childHeight = child.getMeasuredHeight();
1061 if (invalidateAfter || (childHeight !
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DNotificationChildrenContainer.java1048 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1051 maxContentHeight += childHeight;
1072 float childHeight;
1074 childHeight = child.getShowingLayout().getMinHeight(false /* likeGroupExpanded */);
1076 childHeight = child.getMaxExpandHeight();
1078 childHeight = child.getShowingLayout().getMinHeight(
1085 childHeight, fraction), false);
1087 child.setActualHeight((int) childHeight, false);
1112 float childHeight = child.isExpanded(true /* allowOnKeyguard */)
1115 intrinsicHeight += childHeight;
[all...]
H A DStackScrollAlgorithm.java389 int childHeight = getMaxAllowedChildHeight(child);
407 ambientState.getInnerHeight() - childHeight);
409 childViewState.yTranslation = ambientState.getInnerHeight() - childHeight
415 currentYPosition = childViewState.yTranslation + childHeight + paddingAfterChild;
/frameworks/support/coordinatorlayout/src/main/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayout.java961 Rect anchorRect, Rect out, LayoutParams lp, int childWidth, int childHeight) {
1022 top -= childHeight;
1028 top -= childHeight / 2;
1032 out.set(left, top, left + childWidth, top + childHeight);
1035 private void constrainChildRect(LayoutParams lp, Rect out, int childWidth, int childHeight) { argument
1045 height - getPaddingBottom() - childHeight - lp.bottomMargin));
1047 out.set(left, top, left + childWidth, top + childHeight);
1062 final int childHeight = child.getMeasuredHeight();
1064 childWidth, childHeight);
1065 constrainChildRect(lp, out, childWidth, childHeight);
960 getDesiredAnchoredChildRectWithoutConstraints(View child, int layoutDirection, Rect anchorRect, Rect out, LayoutParams lp, int childWidth, int childHeight) argument
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DInsetDrawable.java295 final int childHeight = getDrawable().getIntrinsicHeight();
297 if (childHeight < 0 || fraction >= 1) {
300 return (int) (childHeight / (1 - fraction)) + mState.mInsetTop.mDimension
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DSmartReplyView.java304 final int childHeight = child.getMeasuredHeight();
306 maxChildHeight = Math.max(maxChildHeight, childHeight);
551 final int childHeight = child.getMeasuredHeight();
553 child.layout(childLeft, 0, childLeft + childWidth, childHeight);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DExpandableView.java88 int childHeight = child.getMeasuredHeight();
89 maxChildHeight = Math.max(maxChildHeight, childHeight);
/frameworks/support/compat/src/androidTest/java/androidx/core/widget/
H A DNestedScrollViewTest.java356 private void setup(int childHeight) { argument
359 mChild.setMinimumHeight(childHeight);
/frameworks/base/core/java/android/view/
H A DNotificationHeaderView.java192 int childHeight = child.getMeasuredHeight();
196 int top = (int) (getPaddingTop() + (ownHeight - childHeight) / 2.0f);
197 int bottom = top + childHeight;

Completed in 1478 milliseconds

12