Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DImageView.java804 int heightSize; in onMeasure() local
816 heightSize = resolveAdjustedSize(h + ptop + pbottom, mMaxHeight, heightMeasureSpec); in onMeasure()
821 (heightSize - ptop - pbottom); in onMeasure()
829 int newWidth = (int)(desiredAspect * (heightSize - ptop - pbottom)) + in onMeasure()
850 heightSize = resolveAdjustedSize(newHeight, mMaxHeight, in onMeasure()
854 if (newHeight <= heightSize) { in onMeasure()
855 heightSize = newHeight; in onMeasure()
872 heightSize = resolveSizeAndState(h, heightMeasureSpec, 0); in onMeasure()
875 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
229 heightSize = resolveSizeAndState(preferredHeight, heightMeasureSpec, 0); in onMeasure()
232 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.java1024 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1069 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1082 if (ourSize >= heightSize) { in onMeasure()
1083 ourSize = heightSize; in onMeasure()
1087 heightSize = ourSize; in onMeasure()
1099 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DListView.java1138 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1169 heightSize = mListPadding.top + mListPadding.bottom + childHeight + in onMeasure()
1175 heightSize = measureHeightOfChildren(widthMeasureSpec, 0, NO_POSITION, heightSize, -1); in onMeasure()
1178 setMeasuredDimension(widthSize , heightSize); in onMeasure()
DRelativeLayout.java393 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
401 myHeight = heightSize; in onMeasure()
DNumberPicker.java766 final int heightSize = resolveSizeAndStateRespectingMinSize(mMinHeight, getMeasuredHeight(), in onMeasure() local
768 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DTextView.java6282 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
6418 height = heightSize; in onMeasure()
6427 height = Math.min(desired, heightSize); in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java190 final int heightSize = MeasureSpec.getSize(heightSpec); in onMeasure() local
192 int maxHeight = heightSize; in onMeasure()
212 int height = heightMode == MeasureSpec.EXACTLY ? heightSize : 0; in onMeasure()
223 height = Math.max(height, Math.min(child.getMeasuredHeight(), heightSize - hPadding)); in onMeasure()
DPagedView.java654 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
663 mViewport.set(0, 0, widthSize, heightSize); in onMeasure()
671 if (widthSize <= 0 || heightSize <= 0) { in onMeasure()
686 if (DEBUG) Log.d(TAG, "PagedView.onMeasure(): " + widthSize + ", " + heightSize); in onMeasure()
714 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()
228 if (heightMode == MeasureSpec.UNSPECIFIED || heightSize > tallestViewSize) { in selectActiveChild()
DActionBarView.java1491 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1506 height = Math.min(height, heightSize); in onMeasure()
1509 height = heightSize; in onMeasure()
/frameworks/support/v7/appcompat/src/android/support/v7/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()
355 heightSize = maxChildHeight; in onMeasureExactFormat()
358 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DAbsSpinnerICS.java149 int heightSize; in onMeasure() local
213 heightSize = resolveSize(preferredHeight, heightMeasureSpec); in onMeasure()
216 setMeasuredDimension(widthSize, heightSize); in onMeasure()
DActionBarView.java1324 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
1339 height = Math.min(height, heightSize); in onMeasure()
1342 height = heightSize; in onMeasure()
/frameworks/base/core/java/com/android/internal/view/menu/
DActionMenuView.java127 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasureExactFormat() local
133 ? MeasureSpec.makeMeasureSpec(heightSize - heightPadding, MeasureSpec.EXACTLY) in onMeasureExactFormat()
135 Math.min(mMaxItemHeight, heightSize - heightPadding), MeasureSpec.AT_MOST); in onMeasureExactFormat()
332 heightSize = maxChildHeight; in onMeasureExactFormat()
335 setMeasuredDimension(widthSize, heightSize); in onMeasureExactFormat()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java324 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
350 height = heightSize; in onMeasure()
353 height = Math.min(heightSize, minHeight + getPaddingTop() + getPaddingBottom()); in onMeasure()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java423 final int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
449 height = heightSize; in onMeasure()
452 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.java1405 int heightSize = childHeightSize;
1415 heightSize = lp.height;
1419 final int heightSpec = MeasureSpec.makeMeasureSpec(heightSize, heightMode);
/frameworks/support/v4/java/android/support/v4/widget/
DSlidingPaneLayout.java435 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
459 heightSize = 300; in onMeasure()
470 layoutHeight = maxLayoutHeight = heightSize - getPaddingTop() - getPaddingBottom(); in onMeasure()
473 maxLayoutHeight = heightSize - getPaddingTop() - getPaddingBottom(); in onMeasure()
DDrawerLayout.java604 int heightSize = MeasureSpec.getSize(heightMeasureSpec); in onMeasure() local
623 heightSize = 300; in onMeasure()
631 setMeasuredDimension(widthSize, heightSize); in onMeasure()
650 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()
/frameworks/base/policy/src/com/android/internal/policy/impl/
DPhoneWindow.java2284 final int heightSize = MeasureSpec.getSize(heightMeasureSpec);
2286 Math.min(h, heightSize), EXACTLY);