Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/com/android/internal/widget/
DDialogViewAnimator.java47 int maxHeight = 0; in onMeasure() local
77 maxHeight = Math.max(maxHeight, child.getMeasuredHeight() in onMeasure()
89 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
92 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
98 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
103 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DPreferenceImageView.java62 final int maxHeight = getMaxHeight(); in onMeasure() local
63 if (maxHeight != Integer.MAX_VALUE in onMeasure()
64 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
65 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
DWatchListDecorLayout.java167 int maxHeight = 0; in onMeasure() local
178 maxHeight = Math.max(maxHeight, in onMeasure()
192 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); in onMeasure()
195 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
201 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
206 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DActionBarOverlayLayout.java376 int maxHeight = 0;
387 maxHeight = Math.max(maxHeight,
397 maxHeight = Math.max(maxHeight,
467 maxHeight = Math.max(maxHeight,
473 maxHeight += getPaddingTop() + getPaddingBottom();
476 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
480 resolveSizeAndState(maxHeight, heightMeasureSpec,
DResolverDrawerLayout.java869 if (lp.maxHeight != -1) {
872 MeasureSpec.makeMeasureSpec(lp.maxHeight, MeasureSpec.AT_MOST),
873 lp.maxHeight > remainingHeight ? lp.maxHeight - remainingHeight : 0);
889 if (lp.maxHeight != -1) {
892 MeasureSpec.makeMeasureSpec(lp.maxHeight, MeasureSpec.AT_MOST),
893 lp.maxHeight > remainingHeight ? lp.maxHeight - remainingHeight : 0);
1015 public int maxHeight;
1031 maxHeight = a.getDimensionPixelSize(
1045 this.maxHeight = source.maxHeight;
DActionBarContextView.java317 int maxHeight = mContentHeight > 0 ? in onMeasure() local
322 final int height = maxHeight - verticalPadding; in onMeasure()
378 setMeasuredDimension(contentWidth, maxHeight); in onMeasure()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java214 int maxHeight = heightSize; in onMeasure() local
223 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { in onMeasure()
224 maxHeight = lp.maxHeight; in onMeasure()
231 maxHeight = Math.max(0, maxHeight - hPadding); in onMeasure()
240 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height); in onMeasure()
275 public int maxHeight; field in KeyguardSecurityViewFlipper.LayoutParams
285 maxHeight = other.maxHeight; in LayoutParams()
295 maxHeight = a.getDimensionPixelSize( in LayoutParams()
306 encoder.addProperty("layout:maxHeight", maxHeight); in encodeProperties()
/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java63 int maxHeight = 0; in onMeasure() local
73 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
86 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
89 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
95 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
100 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DAbsoluteLayout.java63 int maxHeight = 0; in onMeasure() local
83 maxHeight = Math.max(maxHeight, childBottom); in onMeasure()
89 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
92 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
96 resolveSizeAndState(maxHeight, heightMeasureSpec, 0)); in onMeasure()
DFrameLayout.java187 int maxHeight = 0; in onMeasure() local
198 maxHeight = Math.max(maxHeight, in onMeasure()
212 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); in onMeasure()
215 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
221 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
226 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DLinearLayout.java1104 int maxHeight = 0; in measureHorizontal() local
1258 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1292 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1347 maxHeight = -1; in measureHorizontal()
1404 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1442 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1471 maxHeight = alternativeMaxHeight; in measureHorizontal()
1474 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal()
1477 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in measureHorizontal()
1480 resolveSizeAndState(maxHeight, heightMeasureSpec, in measureHorizontal()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java78 int maxHeight = 0; in onMeasure() local
82 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
84 int maxHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.EXACTLY); in onMeasure()
87 if (child.getMeasuredHeight() != maxHeight) { in onMeasure()
91 totalHeight += maxHeight; in onMeasure()
108 int maxHeight = 0; in onLayout() local
119 maxHeight = Math.max(maxHeight, height); in onLayout()
126 y += maxHeight; in onLayout()
DPagedTileLayout.java334 int maxHeight = 0; in onMeasure() local
338 if (height > maxHeight) { in onMeasure()
339 maxHeight = height; in onMeasure()
342 setMeasuredDimension(getMeasuredWidth(), maxHeight + getPaddingBottom()); in onMeasure()
/frameworks/base/media/java/android/media/tv/
DTvStreamConfig.java56 maxHeight(source.readInt()).
142 public Builder maxHeight(int maxHeight) { in maxHeight() method in TvStreamConfig.Builder
143 mMaxHeight = maxHeight; in maxHeight()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DCustomScrollView.java82 final int maxHeight = (int) typedValue.getFraction(point.y, point.y); in calculateDimensions() local
85 mHeight = Math.min(childHeight, maxHeight); in calculateDimensions()
87 Slog.d(TAG, "calculateDimensions(): maxHeight=" + maxHeight in calculateDimensions()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java248 int maxHeight = 0; in onMeasure() local
258 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
266 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
269 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
273 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DFillContentLayout.java45 private int maxHeight; field in FillContentLayout
64 maxHeight = a.getDimensionPixelSize(R.styleable.SuwFillContentLayout_android_maxHeight, -1); in init()
98 Math.min(maxHeight, parentHeight), in measureIllustrationChild()
/frameworks/base/core/java/com/android/internal/util/
DImageUtils.java139 int maxHeight) { in buildScaledBitmap() argument
146 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && in buildScaledBitmap()
157 (float) maxHeight / (float) originalHeight); in buildScaledBitmap()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DFillContentLayoutTest.java59 .addAttribute(android.R.attr.maxHeight, "123dp") in testMeasureChildIsSmallerThanMaxSize()
78 .addAttribute(android.R.attr.maxHeight, "123dp") in testMeasureChildIsSmallerThanParent()
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/test/
DMpeg4H263DecoderTest.cpp158 size_t maxHeight = (inputMode == MPEG4_MODE) ? MPEG4_MAX_HEIGHT : H263_MAX_HEIGHT; in processMpeg4H263Decoder() local
159 size_t outputBufferSize = align(maxWidth, 16) * align(maxHeight, 16) * 3 / 2; in processMpeg4H263Decoder()
193 status = PVInitVideoDecoder(mDecHandle, volData, &volSize, 1, maxWidth, maxHeight, in processMpeg4H263Decoder()
224 maxHeight, H263_MODE); in processMpeg4H263Decoder()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DStraightenFilter.java136 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y)); in updateParameters() local
139 mHeight / maxHeight); in updateParameters()
/frameworks/base/graphics/java/android/graphics/drawable/
DIcon.java875 public static Bitmap scaleDownIfNecessary(Bitmap bitmap, int maxWidth, int maxHeight) { in scaleDownIfNecessary() argument
878 if (bitmapWidth > maxWidth || bitmapHeight > maxHeight) { in scaleDownIfNecessary()
880 (float) maxHeight / bitmapHeight); in scaleDownIfNecessary()
897 public void scaleDownIfNecessary(int maxWidth, int maxHeight) { in scaleDownIfNecessary() argument
902 setBitmap(scaleDownIfNecessary(bitmap, maxWidth, maxHeight)); in scaleDownIfNecessary()
/frameworks/ex/framesequence/jni/
DFrameSequence_gif.cpp165 static void getCopySize(const GifImageDesc& imageDesc, int maxWidth, int maxHeight, in getCopySize() argument
172 if (imageDesc.Top + copyHeight > maxHeight) { in getCopySize()
173 copyHeight = maxHeight - imageDesc.Top; in getCopySize()
/frameworks/rs/
DrsFont.h173 … CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) in CacheTextureLine()
174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow), in CacheTextureLine()
/frameworks/base/core/java/android/appwidget/
DAppWidgetHostView.java282 int maxHeight) { in updateAppWidgetSize() argument
283 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize()
291 int maxHeight, boolean ignorePadding) { in updateAppWidgetSize() argument
305 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips); in updateAppWidgetSize()

123