/frameworks/base/core/java/android/widget/ |
D | DayPickerViewPager.java | 62 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()
|
D | AbsoluteLayout.java | 62 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()
|
D | FrameLayout.java | 187 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()
|
D | LinearLayout.java | 1014 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/ |
D | DialogViewAnimator.java | 47 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()
|
D | PreferenceImageView.java | 60 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()
|
D | ActionBarOverlayLayout.java | 366 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/ |
D | PreferenceImageView.java | 73 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/ |
D | KeyguardSecurityViewFlipper.java | 198 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/ |
D | ImageLoader.java | 152 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 …]
|
D | ImageRequest.java | 72 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()
|
D | NetworkImageView.java | 146 int maxHeight = wrapHeight ? 0 : height; in loadImageIfNecessary() local 181 }, maxWidth, maxHeight, scaleType); in loadImageIfNecessary()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | PseudoGridView.java | 82 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/ |
D | TvStreamConfig.java | 54 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/ |
D | FragmentBreadCrumbs.java | 245 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/ |
D | ImageUtils.java | 128 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/ |
D | ActionBarOverlayLayout.java | 333 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()
|
D | ListViewCompat.java | 256 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/ |
D | NetworkImageViewTest.java | 49 int maxHeight, ScaleType scaleType) { in get() argument 52 lastMaxHeight = maxHeight; in get()
|
D | ImageRequestTest.java | 125 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/ |
D | LinearLayoutCompat.java | 924 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/ |
D | StraightenFilter.java | 136 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/ |
D | PagerTitleStrip.java | 296 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/ |
D | FrameSequence_gif.cpp | 172 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/ |
D | AppWidgetHostView.java | 253 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()
|