Home
last modified time | relevance | path

Searched refs:heightSize (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DPreferenceImageView.java61 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
64 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
DAlertDialogLayout.java112 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in tryOnMeasure() local
143 Math.max(0, heightSize - usedHeight), heightMode); in tryOnMeasure()
153 int remainingHeight = heightSize - usedHeight; in tryOnMeasure()
DResolverDrawerLayout.java920 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
929 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY);
943 final int remainingHeight = heightSize - heightUsed;
963 final int remainingHeight = heightSize - heightUsed;
984 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
987 setMeasuredDimension(sourceWidth, heightSize);
DActionBarView.java1518 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1533 height = Math.min(height, heightSize); in onMeasure()
1536 height = heightSize; in onMeasure()
DViewPager.java1409 int heightSize = childHeightSize;
1419 heightSize = lp.height;
1423 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
DRecyclerView.java9254 public void setMeasuredDimension(int widthSize, int heightSize) { in setMeasuredDimension() argument
9255 mRecyclerView.setMeasuredDimension(widthSize, heightSize); in setMeasuredDimension()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java212 final int heightSize = MeasureSpec.getSize(heightSpec); in onMeasure() local
214 int maxHeight = heightSize; in onMeasure()
234 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
245 height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize - hPadding)); in onMeasure()
/frameworks/base/core/java/android/widget/
DImageView.java1163 int heightSize; in onMeasure() local
1175 heightSize = resolveAdjustedSize(h + ptop + pbottom, mMaxHeight, heightMeasureSpec); in onMeasure()
1180 (heightSize - ptop - pbottom); in onMeasure()
1188 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + in onMeasure()
1209 heightSize = resolveAdjustedSize(newHeight, mMaxHeight, in onMeasure()
1213 if (newHeight <= heightSize) { in onMeasure()
1214 heightSize = newHeight; in onMeasure()
1231 heightSize = resolveSizeAndState(h, heightMeasureSpec, 0); in onMeasure()
1234 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DAnalogClock.java158 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
167 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
168 vScale = (float )heightSize / (float) mDialHeight; in onMeasure()
DAbsSpinner.java181 int heightSize; in onMeasure() local
242 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0); in onMeasure()
245 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DActionMenuView.java177 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasureExactFormat() local
380 heightSize = maxChildHeight; in onMeasureExactFormat()
383 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
DLinearLayout.java944 int heightSize = mTotalLength; in measureVertical() local
947 heightSize = Math.max(heightSize, getSuggestedMinimumHeight()); in measureVertical()
950 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0); in measureVertical()
951 heightSize = heightSizeAndState & MEASURED_SIZE_MASK; in measureVertical()
955 int remainingExcess = heightSize - mTotalLength in measureVertical()
DGridView.java1065 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1112 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1125 if (ourSize >= heightSize) { in onMeasure()
1126 ourSize = heightSize; in onMeasure()
1130 heightSize = ourSize; in onMeasure()
1142 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DListView.java1284 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1297 measureScrapChild(child, 0, widthMeasureSpec, heightSize); in onMeasure()
1317 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1323 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()
1326 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DRelativeLayout.java421 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
429 myHeight = heightSize; in onMeasure()
DNumberPicker.java860 final int heightSize = resolveSizeAndStateRespectingMinSize(mMinHeight, getMeasuredHeight(), in onMeasure() local
862 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DTextView.java9285 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
9424 height = heightSize; in onMeasure()
9433 height = Math.min(desired, heightSize); in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java281 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
307 measuredHeight = heightSize; in onMeasure()
310 measuredHeight = Math.min(heightSize, height); in onMeasure()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java245 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
250 params.height = heightSize - mStaticContent.getMeasuredHeight() in onMeasure()
269 resolveSize(heightSize, heightMeasureSpec)); in onMeasure()
/frameworks/ex/widget/java/com/android/ex/widget/
DStaggeredGridView.java618 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
627 "Using fallback spec of EXACTLY " + heightSize); in onMeasure()
631 setMeasuredDimension(widthSize, heightSize); in onMeasure()
/frameworks/base/core/java/com/android/internal/policy/
DDecorView.java735 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
738 Math.min(h, heightSize), EXACTLY);
741 heightSize - mFloatingInsets.top - mFloatingInsets.bottom, AT_MOST);