Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DPseudoGridView.java82 int maxHeight = 0; in onMeasure() local
86 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
88 int maxHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.EXACTLY); in onMeasure()
91 if (child.getMeasuredHeight() != maxHeight) { in onMeasure()
95 totalHeight += maxHeight; in onMeasure()
112 int maxHeight = 0; in onLayout() local
123 maxHeight = Math.max(maxHeight, height); in onLayout()
130 y += maxHeight; in onLayout()
/frameworks/base/core/java/com/android/internal/widget/
DSizeAdaptiveLayout.java161 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight); in onMeasure()
180 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) { in clampSizeToBounds()
181 height = Math.min(height, lp.maxHeight); in clampSizeToBounds()
210 " max: " + lp.maxHeight); in selectActiveChild()
211 if (lp.maxHeight == SizeAdaptiveLayout.LayoutParams.UNBOUNDED && in selectActiveChild()
215 if (lp.maxHeight > tallestViewSize) { in selectActiveChild()
216 tallestViewSize = lp.maxHeight; in selectActiveChild()
224 heightSize >= lp.minHeight && heightSize <= lp.maxHeight) { in selectActiveChild()
329 public int maxHeight; field in SizeAdaptiveLayout.LayoutParams
356 maxHeight = a.getLayoutDimension(MAX_VALID_HEIGHT, UNBOUNDED); in LayoutParams()
[all …]
DPreferenceImageView.java60 final int maxHeight = getMaxHeight(); in onMeasure() local
61 if (maxHeight != Integer.MAX_VALUE in onMeasure()
62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
63 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
DActionBarOverlayLayout.java367 int maxHeight = 0;
378 maxHeight = Math.max(maxHeight,
388 maxHeight = Math.max(maxHeight,
451 maxHeight = Math.max(maxHeight,
457 maxHeight += getPaddingTop() + getPaddingBottom();
460 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
464 resolveSizeAndState(maxHeight, heightMeasureSpec,
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java210 int maxHeight = heightSize; in onMeasure() local
219 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { in onMeasure()
220 maxHeight = lp.maxHeight; in onMeasure()
227 maxHeight -= hPadding; in onMeasure()
236 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height); in onMeasure()
271 public int maxHeight; field in KeyguardSecurityViewFlipper.LayoutParams
281 maxHeight = other.maxHeight; in LayoutParams()
291 maxHeight = a.getDimensionPixelSize( in LayoutParams()
DMultiPaneChallengeLayout.java259 if (lp.maxHeight >= 0) { in onMeasure()
261 Math.min(lp.maxHeight, insetHeight), MeasureSpec.EXACTLY); in onMeasure()
320 if (lp.maxHeight >= 0) { in onMeasure()
322 Math.min(lp.maxHeight, MeasureSpec.getSize(adjustedHeightSpec)), in onMeasure()
498 public int maxHeight = -1; field in MultiPaneChallengeLayout.LayoutParams
518 maxHeight = a.getDimensionPixelSize( in LayoutParams()
572 maxHeight = source.maxHeight; in LayoutParams()
/frameworks/base/core/java/android/widget/
DAbsoluteLayout.java62 int maxHeight = 0; in onMeasure() local
82 maxHeight = Math.max(maxHeight, childBottom); in onMeasure()
88 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
91 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
95 resolveSizeAndState(maxHeight, heightMeasureSpec, 0)); in onMeasure()
DFrameLayout.java423 int maxHeight = 0; in onMeasure() local
434 maxHeight = Math.max(maxHeight, in onMeasure()
448 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); in onMeasure()
451 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
457 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
462 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DLinearLayout.java988 int maxHeight = 0; in measureHorizontal() local
1134 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1168 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1222 maxHeight = -1; in measureHorizontal()
1287 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1325 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1355 maxHeight = alternativeMaxHeight; in measureHorizontal()
1358 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal()
1361 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in measureHorizontal()
1364 resolveSizeAndState(maxHeight, heightMeasureSpec, in measureHorizontal()
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
DTargetDrawable.java124 int maxHeight = 0; in resizeDrawables() local
128 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight()); in resizeDrawables()
131 + maxWidth + "x" + maxHeight); in resizeDrawables()
132 d.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
136 + maxWidth + "x" + maxHeight); in resizeDrawables()
137 childDrawable.setBounds(0, 0, maxWidth, maxHeight); in resizeDrawables()
/frameworks/base/media/java/android/media/tv/
DTvStreamConfig.java55 maxHeight(source.readInt()).
144 public Builder maxHeight(int maxHeight) { in maxHeight() method in TvStreamConfig.Builder
145 mMaxHeight = maxHeight; in maxHeight()
/frameworks/volley/src/com/android/volley/toolbox/
DImageLoader.java153 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) {
156 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
187 int maxWidth, int maxHeight) {
191 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
225 }, maxWidth, maxHeight,
476 private static String getCacheKey(String url, int maxWidth, int maxHeight) {
478 .append("#H").append(maxHeight).append(url).toString();
DNetworkImageView.java145 int maxHeight = wrapHeight ? 0 : height; in loadImageIfNecessary() local
180 }, maxWidth, maxHeight); in loadImageIfNecessary()
DImageRequest.java69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, in ImageRequest() argument
77 mMaxHeight = maxHeight; in ImageRequest()
/frameworks/base/core/java/android/app/
DFragmentBreadCrumbs.java245 int maxHeight = 0; in onMeasure() local
255 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
263 maxHeight += mPaddingTop + mPaddingBottom; in onMeasure()
266 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
270 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
/frameworks/volley/tests/src/com/android/volley/toolbox/
DNetworkImageViewTest.java40 int maxHeight) { in get() argument
43 lastMaxHeight = maxHeight; in get()
DImageRequestTest.java61 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, in verifyResize() argument
64 "", null, maxWidth, maxHeight, Config.RGB_565, null); in verifyResize()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java370 int maxHeight = 0; in onMeasure() local
381 maxHeight = Math.max(maxHeight, in onMeasure()
392 maxHeight = Math.max(maxHeight, in onMeasure()
457 maxHeight = Math.max(maxHeight, in onMeasure()
464 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
467 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
472 ViewCompat.resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DListViewCompat.java249 int endPosition, final int maxHeight, in measureHeightOfChildrenCompat() argument
303 if (returnedHeight >= maxHeight) { in measureHeightOfChildrenCompat()
309 && (returnedHeight != maxHeight) // i'th child did not fit completely in measureHeightOfChildrenCompat()
311 : maxHeight; in measureHeightOfChildrenCompat()
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
DSizeAdaptiveLayoutTest.java134 lp.maxHeight = 500; in testOpenTooBig()
185 int height = (int) lp.maxHeight + 10; in testOpenOneUOnlyLarge()
233 int height = (int) lp.maxHeight + 10; in testOpenFourUOnlyLarge()
267 smallParams.maxHeight + 10 < largeParams.minHeight); in testOpenIntoAGap()
268 int height = (int) smallParams.maxHeight + 10; in testOpenIntoAGap()
288 int height = (int) smallParams.maxHeight; in testOpenIntoAnOverlap()
400 int endHeight = (int) smallParams.maxHeight; in testResizeWithAnimation()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DLinearLayoutCompat.java924 int maxHeight = 0; in measureHorizontal() local
1071 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1105 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1159 maxHeight = -1; in measureHorizontal()
1224 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1262 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1292 maxHeight = alternativeMaxHeight; in measureHorizontal()
1295 maxHeight += getPaddingTop() + getPaddingBottom(); in measureHorizontal()
1298 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in measureHorizontal()
1301 ViewCompat.resolveSizeAndState(maxHeight, heightMeasureSpec, in measureHorizontal()
/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/ex/framesequence/jni/
DFrameSequence_gif.cpp172 static void getCopySize(const GifImageDesc& imageDesc, int maxWidth, int maxHeight, in getCopySize() argument
179 if (imageDesc.Top + copyHeight > maxHeight) { in getCopySize()
180 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.java255 int maxHeight) { in updateAppWidgetSize() argument
256 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize()
263 int maxHeight, boolean ignorePadding) { in updateAppWidgetSize() argument
280 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips); in updateAppWidgetSize()

123