Home
last modified time | relevance | path

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

123

/frameworks/base/core/java/android/widget/
DDayPickerViewPager.java62 int maxHeight = 0; in onMeasure() local
72 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); in onMeasure()
85 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
88 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
94 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); in onMeasure()
99 resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
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.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.java1014 int maxHeight = 0; in measureHorizontal() local
1163 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1197 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1251 maxHeight = -1; in measureHorizontal()
1316 maxHeight = Math.max(maxHeight, childHeight); in measureHorizontal()
1354 maxHeight = Math.max(maxHeight, ascent + descent); in measureHorizontal()
1384 maxHeight = alternativeMaxHeight; in measureHorizontal()
1387 maxHeight += mPaddingTop + mPaddingBottom; in measureHorizontal()
1390 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in measureHorizontal()
1393 resolveSizeAndState(maxHeight, heightMeasureSpec, in measureHorizontal()
/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.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.java366 int maxHeight = 0;
377 maxHeight = Math.max(maxHeight,
387 maxHeight = Math.max(maxHeight,
450 maxHeight = Math.max(maxHeight,
456 maxHeight += getPaddingTop() + getPaddingBottom();
459 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
463 resolveSizeAndState(maxHeight, heightMeasureSpec,
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
DPreferenceImageView.java73 public void setMaxHeight(int maxHeight) { in setMaxHeight() argument
74 mMaxHeight = maxHeight; in setMaxHeight()
75 super.setMaxHeight(maxHeight); in setMaxHeight()
97 final int maxHeight = getMaxHeight(); in onMeasure() local
98 if (maxHeight != Integer.MAX_VALUE in onMeasure()
99 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { in onMeasure()
100 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DKeyguardSecurityViewFlipper.java198 int maxHeight = heightSize; in onMeasure() local
207 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { in onMeasure()
208 maxHeight = lp.maxHeight; in onMeasure()
215 maxHeight = Math.max(0, maxHeight - hPadding); in onMeasure()
224 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height); in onMeasure()
259 public int maxHeight; field in KeyguardSecurityViewFlipper.LayoutParams
269 maxHeight = other.maxHeight; in LayoutParams()
279 maxHeight = a.getDimensionPixelSize( in LayoutParams()
290 encoder.addProperty("layout:maxHeight", maxHeight); in encodeProperties()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DImageLoader.java152 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) {
153 return isCached(requestUrl, maxWidth, maxHeight, ScaleType.CENTER_INSIDE);
165 public boolean isCached(String requestUrl, int maxWidth, int maxHeight, ScaleType scaleType) {
168 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType);
190 int maxWidth, int maxHeight) {
191 return get(requestUrl, imageListener, maxWidth, maxHeight, ScaleType.CENTER_INSIDE);
208 int maxWidth, int maxHeight, ScaleType scaleType) {
213 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType);
241 Request<Bitmap> newRequest = makeImageRequest(requestUrl, maxWidth, maxHeight, scaleType,
250 protected Request<Bitmap> makeImageRequest(String requestUrl, int maxWidth, int maxHeight,
[all …]
DImageRequest.java72 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, in ImageRequest() argument
80 mMaxHeight = maxHeight; in ImageRequest()
89 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, in ImageRequest() argument
91 this(url, listener, maxWidth, maxHeight, in ImageRequest()
DNetworkImageView.java146 int maxHeight = wrapHeight ? 0 : height; in loadImageIfNecessary() local
181 }, maxWidth, maxHeight, scaleType); in loadImageIfNecessary()
/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/media/java/android/media/tv/
DTvStreamConfig.java54 maxHeight(source.readInt()).
139 public Builder maxHeight(int maxHeight) { in maxHeight() method in TvStreamConfig.Builder
140 mMaxHeight = maxHeight; in maxHeight()
/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/base/core/java/com/android/internal/util/
DImageUtils.java128 int maxHeight) { in buildScaledBitmap() argument
135 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && in buildScaledBitmap()
146 (float) maxHeight / (float) originalHeight); in buildScaledBitmap()
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DActionBarOverlayLayout.java333 int maxHeight = 0; in onMeasure() local
344 maxHeight = Math.max(maxHeight, in onMeasure()
397 maxHeight = Math.max(maxHeight, in onMeasure()
404 maxHeight += getPaddingTop() + getPaddingBottom(); in onMeasure()
407 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); in onMeasure()
412 ViewCompat.resolveSizeAndState(maxHeight, heightMeasureSpec, in onMeasure()
DListViewCompat.java256 int endPosition, final int maxHeight, in measureHeightOfChildrenCompat() argument
310 if (returnedHeight >= maxHeight) { in measureHeightOfChildrenCompat()
316 && (returnedHeight != maxHeight) // i'th child did not fit completely in measureHeightOfChildrenCompat()
318 : maxHeight; in measureHeightOfChildrenCompat()
/frameworks/volley/src/test/java/com/android/volley/toolbox/
DNetworkImageViewTest.java49 int maxHeight, ScaleType scaleType) { in get() argument
52 lastMaxHeight = maxHeight; in get()
DImageRequestTest.java125 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, in verifyResize() argument
127 ImageRequest request = new ImageRequest("", null, maxWidth, maxHeight, scaleType, in verifyResize()
/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/support/v4/java/android/support/v4/view/
DPagerTitleStrip.java296 final int maxHeight = Math.max(0, childHeight); in updateText() local
297 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in updateText()
442 final int maxHeight = Math.min(0, childHeight); in onMeasure() local
443 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); in onMeasure()
/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/base/core/java/android/appwidget/
DAppWidgetHostView.java253 int maxHeight) { in updateAppWidgetSize() argument
254 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize()
261 int maxHeight, boolean ignorePadding) { in updateAppWidgetSize() argument
278 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips); in updateAppWidgetSize()

123