Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java765 int heightSize; in onMeasure() local
777 heightSize = resolveAdjustedSize(h + ptop + pbottom, mMaxHeight, heightMeasureSpec); in onMeasure()
782 (heightSize - ptop - pbottom); in onMeasure()
790 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + in onMeasure()
802 if (newHeight <= heightSize) { in onMeasure()
803 heightSize = newHeight; in onMeasure()
820 heightSize = resolveSizeAndState(h, heightMeasureSpec, 0); in onMeasure()
823 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DAnalogClock.java139 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
148 if (heightMode != MeasureSpec.UNSPECIFIED && heightSize < mDialHeight) { in onMeasure()
149 vScale = (float )heightSize / (float) mDialHeight; in onMeasure()
DAbsSpinner.java168 int heightSize; in onMeasure() local
231 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0); in onMeasure()
234 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DLinearLayout.java795 int heightSize = mTotalLength; in measureVertical() local
798 heightSize = Math.max(heightSize, getSuggestedMinimumHeight()); in measureVertical()
801 int heightSizeAndState = resolveSizeAndState(heightSize, heightMeasureSpec, 0); in measureVertical()
802 heightSize = heightSizeAndState & MEASURED_SIZE_MASK; in measureVertical()
806 int delta = heightSize - mTotalLength; in measureVertical()
DGridView.java1020 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1065 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1078 if (ourSize >= heightSize) { in onMeasure()
1079 ourSize = heightSize; in onMeasure()
1083 heightSize = ourSize; in onMeasure()
1095 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DListView.java1121 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1152 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1158 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()
1161 setMeasuredDimension(widthSize , heightSize); in onMeasure()
DRelativeLayout.java375 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
383 myHeight = heightSize; in onMeasure()
DNumberPicker.java761 final int heightSize = resolveSizeAndStateRespectingMinSize(mMinHeight, getMeasuredHeight(), in onMeasure() local
763 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DTextView.java6134 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
6270 height = heightSize; in onMeasure()
6279 height = Math.min(desired, heightSize); in onMeasure()
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
DKeyguardSecurityViewFlipper.java191 final int heightSize = MeasureSpec.getSize(heightSpec); in onMeasure() local
193 int maxHeight = heightSize; in onMeasure()
213 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
224 height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize - hPadding)); in onMeasure()
DPagedView.java599 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
608 mViewport.set(0, 0, widthSize, heightSize); in onMeasure()
616 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
631 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
659 MeasureSpec.makeMeasureSpec(heightSize - verticalPadding, childHeightMode); in onMeasure()
/frameworks/base/core/java/com/android/internal/widget/
DSizeAdaptiveLayout.java191 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in selectActiveChild() local
219 heightSize >= lp.minHeight && heightSize <= lp.maxHeight) { in selectActiveChild()
231 if (heightSize > tallestViewSize) { in selectActiveChild()
DActionBarView.java1406 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1421 height = Math.min(height, heightSize); in onMeasure()
1424 height = heightSize; in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java128 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasureExactFormat() local
134 ? MeasureSpec.makeMeasureSpec(heightSize - heightPadding, MeasureSpec.EXACTLY) in onMeasureExactFormat()
136 Math.min(mMaxItemHeight, heightSize - heightPadding), MeasureSpec.AT_MOST); in onMeasureExactFormat()
333 heightSize = maxChildHeight; in onMeasureExactFormat()
336 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java333 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
359 height = heightSize; in onMeasure()
362 height = Math.min(heightSize, minHeight + getPaddingTop() + getPaddingBottom()); in onMeasure()
/frameworks/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java425 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
431 int childHeight = heightSize; in onMeasure()
446 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DViewPager.java1343 int heightSize = childHeightSize;
1353 heightSize = lp.height;
1357 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
/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/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2169 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
2171 Math.min(h, heightSize), EXACTLY);
/frameworks/base/core/java/android/webkit/
DWebViewClassic.java7060 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
7064 int measuredHeight = heightSize; in onMeasure()
7079 if (measuredHeight > heightSize) { in onMeasure()
7080 measuredHeight = heightSize; in onMeasure()