Searched refs:heightSize (Results 1 - 25 of 35) sorted by relevance

12

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DGuidedActionsRelativeLayout.java50 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
51 if (heightSize > 0) {
60 lp.topMargin = (int) (mKeyLinePercent * heightSize / 100);
/frameworks/base/core/java/com/android/internal/widget/
H A DPreferenceImageView.java59 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) {
H A DAlertDialogLayout.java110 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
141 Math.max(0, heightSize - usedHeight), heightMode);
151 int remainingHeight = heightSize - usedHeight;
H A DResolverDrawerLayout.java794 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
803 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY);
844 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
847 setMeasuredDimension(sourceWidth, heightSize);
H A DActionBarView.java1518 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
1533 height = Math.min(height, heightSize);
1536 height = heightSize;
/frameworks/support/preference/src/main/java/androidx/preference/internal/
H A DPreferenceImageView.java103 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
106 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java213 final int heightSize = MeasureSpec.getSize(heightSpec);
215 int maxHeight = heightSize;
235 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0;
246 height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize - hPadding));
/frameworks/base/core/java/android/widget/
H A DAnalogClock.java150 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
159 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) {
160 vScale = (float )heightSize / (float) mDialHeight;
H A DImageView.java1099 int heightSize;
1111 heightSize = resolveAdjustedSize(h + ptop + pbottom, mMaxHeight, heightMeasureSpec);
1116 (heightSize - ptop - pbottom);
1124 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) +
1145 heightSize = resolveAdjustedSize(newHeight, mMaxHeight,
1149 if (newHeight <= heightSize) {
1150 heightSize = newHeight;
1167 heightSize = resolveSizeAndState(h, heightMeasureSpec, 0);
1170 setMeasuredDimension(widthSize, heightSize);
H A DAbsSpinner.java179 int heightSize;
240 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0);
243 setMeasuredDimension(widthSize, heightSize);
H A DActionMenuView.java176 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
379 heightSize = maxChildHeight;
382 setMeasuredDimension(widthSize, heightSize);
H A DGridView.java1050 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
1097 heightSize = mListPadding.top + mListPadding.bottom + childHeight +
1110 if (ourSize >= heightSize) {
1111 ourSize = heightSize;
1115 heightSize = ourSize;
1127 setMeasuredDimension(widthSize, heightSize);
H A DLinearLayout.java927 int heightSize = mTotalLength;
930 heightSize = Math.max(heightSize, getSuggestedMinimumHeight());
933 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0);
934 heightSize = heightSizeAndState & MEASURED_SIZE_MASK;
938 int remainingExcess = heightSize - mTotalLength
/frameworks/base/core/java/android/app/
H A DMediaRouteButton.java281 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
307 measuredHeight = heightSize;
310 measuredHeight = Math.min(heightSize, height);
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DAlertDialogLayout.java100 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
131 Math.max(0, heightSize - usedHeight), heightMode);
141 int remainingHeight = heightSize - usedHeight;
H A DContentFrameLayout.java136 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
138 Math.min(h, heightSize), EXACTLY);
H A DActionMenuView.java180 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
383 heightSize = maxChildHeight;
386 setMeasuredDimension(widthSize, heightSize);
H A DLinearLayoutCompat.java762 int heightSize = mTotalLength;
765 heightSize = Math.max(heightSize, getSuggestedMinimumHeight());
768 int heightSizeAndState = View.resolveSizeAndState(heightSize, heightMeasureSpec, 0);
769 heightSize = heightSizeAndState & View.MEASURED_SIZE_MASK;
774 int delta = heightSize - mTotalLength;
/frameworks/av/packages/MediaComponents/src/com/android/support/mediarouter/app/
H A DMediaRouteButton.java441 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
467 measuredHeight = heightSize;
470 measuredHeight = Math.min(heightSize, height);
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
H A DPrintContentView.java244 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
249 params.height = heightSize - mStaticContent.getMeasuredHeight()
268 resolveSize(heightSize, heightMeasureSpec));
/frameworks/support/mediarouter/src/main/java/androidx/mediarouter/app/
H A DMediaRouteButton.java426 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
452 measuredHeight = heightSize;
455 measuredHeight = Math.min(heightSize, height);
/frameworks/support/wear/src/main/java/androidx/wear/widget/
H A DCircledImageView.java326 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
340 height = heightSize;
342 height = (int) Math.min(desiredHeight, heightSize);
/frameworks/support/slidingpanelayout/src/main/java/androidx/slidingpanelayout/widget/
H A DSlidingPaneLayout.java441 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
465 heightSize = 300;
476 layoutHeight = maxLayoutHeight = heightSize - getPaddingTop() - getPaddingBottom();
479 maxLayoutHeight = heightSize - getPaddingTop() - getPaddingBottom();
/frameworks/ex/widget/java/com/android/ex/widget/
H A DStaggeredGridView.java618 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
627 "Using fallback spec of EXACTLY " + heightSize);
631 setMeasuredDimension(widthSize, heightSize);
/frameworks/support/drawerlayout/src/main/java/androidx/drawerlayout/widget/
H A DDrawerLayout.java1034 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
1052 heightSize = 300;
1060 setMeasuredDimension(widthSize, heightSize);
1120 heightSize - lp.topMargin - lp.bottomMargin, MeasureSpec.EXACTLY);

Completed in 743 milliseconds

12