Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/com/android/internal/widget/
DPreferenceImageView.java59 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
DResolverDrawerLayout.java659 int heightSize = MeasureSpec.getSize(heightMeasureSpec);
668 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, MeasureSpec.EXACTLY);
719 mTopOffset = Math.max(0, heightSize - heightUsed) + (int) mCollapseOffset;
721 setMeasuredDimension(sourceWidth, heightSize);
DActionBarView.java1516 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1531 height = Math.min(height, heightSize); in onMeasure()
1534 height = heightSize; in onMeasure()
DViewPager.java1412 int heightSize = childHeightSize;
1422 heightSize = lp.height;
1426 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java96 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
99 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java196 final int heightSize = MeasureSpec.getSize(heightSpec); in onMeasure() local
198 int maxHeight = heightSize; in onMeasure()
218 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
229 height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize - hPadding)); in onMeasure()
/frameworks/base/core/java/android/widget/
DImageView.java985 int heightSize; in onMeasure() local
997 heightSize = resolveAdjustedSize(h + ptop + pbottom, mMaxHeight, heightMeasureSpec); in onMeasure()
1002 (heightSize - ptop - pbottom); in onMeasure()
1010 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + in onMeasure()
1031 heightSize = resolveAdjustedSize(newHeight, mMaxHeight, in onMeasure()
1035 if (newHeight <= heightSize) { in onMeasure()
1036 heightSize = newHeight; in onMeasure()
1053 heightSize = resolveSizeAndState(h, heightMeasureSpec, 0); in onMeasure()
1056 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DAnalogClock.java152 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
161 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
162 vScale = (float )heightSize / (float) mDialHeight; in onMeasure()
DAbsSpinner.java169 int heightSize; in onMeasure() local
230 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0); in onMeasure()
233 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DActionMenuView.java175 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasureExactFormat() local
378 heightSize = maxChildHeight; in onMeasureExactFormat()
381 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
DLinearLayout.java848 int heightSize = mTotalLength; in measureVertical() local
851 heightSize = Math.max(heightSize, getSuggestedMinimumHeight()); in measureVertical()
854 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0); in measureVertical()
855 heightSize = heightSizeAndState & MEASURED_SIZE_MASK; in measureVertical()
860 int delta = heightSize - mTotalLength; in measureVertical()
DGridView.java1045 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1091 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1104 if (ourSize >= heightSize) { in onMeasure()
1105 ourSize = heightSize; in onMeasure()
1109 heightSize = ourSize; in onMeasure()
1121 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DListView.java1149 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1162 measureScrapChild(child, 0, widthMeasureSpec, heightSize); in onMeasure()
1182 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1188 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()
1191 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DRelativeLayout.java401 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
409 myHeight = heightSize; in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DContentFrameLayout.java117 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure()
119 Math.min(h, heightSize), EXACTLY); in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java329 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
355 height = heightSize; in onMeasure()
358 height = Math.min(heightSize, minHeight + getPaddingTop() + getPaddingBottom()); in onMeasure()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/widget/
DPrintContentView.java244 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
249 params.height = heightSize - mStaticContent.getMeasuredHeight() in onMeasure()
268 resolveSize(heightSize, heightMeasureSpec)); in onMeasure()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java430 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
456 height = heightSize; in onMeasure()
459 height = Math.min(heightSize, minHeight + getPaddingTop() + getPaddingBottom()); in onMeasure()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java428 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
434 int childHeight = heightSize; in onMeasure()
450 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DViewPager.java1443 int heightSize = childHeightSize;
1453 heightSize = lp.height;
1457 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java757 int heightSize = mTotalLength; in measureVertical() local
760 heightSize = Math.max(heightSize, getSuggestedMinimumHeight()); in measureVertical()
763 int heightSizeAndState = ViewCompat.resolveSizeAndState(heightSize, heightMeasureSpec, 0); in measureVertical()
764 heightSize = heightSizeAndState & ViewCompat.MEASURED_SIZE_MASK; in measureVertical()
769 int delta = heightSize - mTotalLength; in measureVertical()
DActionMenuView.java179 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasureExactFormat() local
382 heightSize = maxChildHeight; in onMeasureExactFormat()
385 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java448 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
472 heightSize = 300; in onMeasure()
483 layoutHeight = maxLayoutHeight = heightSize - getPaddingTop() - getPaddingBottom(); in onMeasure()
486 maxLayoutHeight = heightSize - getPaddingTop() - getPaddingBottom(); in onMeasure()
DDrawerLayout.java881 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
900 heightSize = 300; in onMeasure()
908 setMeasuredDimension(widthSize, heightSize); in onMeasure()
939 heightSize - lp.topMargin - lp.bottomMargin, MeasureSpec.EXACTLY); 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()

12