/frameworks/support/v7/preference/src/android/support/v7/internal/widget/ |
H A D | PreferenceImageView.java | 26 * Extension of ImageView that correctly applies maxWidth and maxHeight. 73 public void setMaxHeight(int maxHeight) { argument 74 mMaxHeight = maxHeight; 75 super.setMaxHeight(maxHeight); 97 final int maxHeight = getMaxHeight(); 98 if (maxHeight != Integer.MAX_VALUE 99 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { 100 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | PreferenceImageView.java | 24 * Extension of ImageView that correctly applies maxWidth and maxHeight. 60 final int maxHeight = getMaxHeight(); 61 if (maxHeight != Integer.MAX_VALUE 62 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { 63 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
H A D | DialogViewAnimator.java | 47 int maxHeight = 0; 77 maxHeight = Math.max(maxHeight, child.getMeasuredHeight() 89 maxHeight += getPaddingTop() + getPaddingBottom(); 92 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 98 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 103 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
H A 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, getSuggestedMinimumHeigh [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | DayPickerViewPager.java | 62 int maxHeight = 0; 72 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); 85 maxHeight += getPaddingTop() + getPaddingBottom(); 88 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 94 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 99 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
H A D | AbsoluteLayout.java | 62 int maxHeight = 0; 82 maxHeight = Math.max(maxHeight, childBottom); 88 maxHeight += mPaddingTop + mPaddingBottom; 91 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 95 resolveSizeAndState(maxHeight, heightMeasureSpec, 0));
|
H A D | FrameLayout.java | 187 int maxHeight = 0; 198 maxHeight = Math.max(maxHeight, 212 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); 215 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 221 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 226 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
H A D | LinearLayout.java | 1014 int maxHeight = 0; 1163 maxHeight = Math.max(maxHeight, childHeight); 1197 maxHeight = Math.max(maxHeight, ascent + descent); 1251 maxHeight = -1; 1316 maxHeight = Math.max(maxHeight, childHeight); 1354 maxHeight = Math.max(maxHeight, ascen [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 198 int maxHeight = heightSize; 207 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { 208 maxHeight = lp.maxHeight; 215 maxHeight = Math.max(0, maxHeight - hPadding); 224 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height); 259 public int maxHeight; field in class:KeyguardSecurityViewFlipper.LayoutParams [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | PseudoGridView.java | 82 int maxHeight = 0; 86 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); 88 int maxHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.EXACTLY); 91 if (child.getMeasuredHeight() != maxHeight) { 95 totalHeight += maxHeight; 112 int maxHeight = 0; 123 maxHeight = Math.max(maxHeight, height); 130 y += maxHeight; [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | ImageLoader.java | 149 * @param maxHeight The maximum height of the returned image. 152 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) { argument 153 return isCached(requestUrl, maxWidth, maxHeight, ScaleType.CENTER_INSIDE); 161 * @param maxHeight The maximum height of the returned image. 165 public boolean isCached(String requestUrl, int maxWidth, int maxHeight, ScaleType scaleType) { argument 168 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight, scaleType); 190 int maxWidth, int maxHeight) { 191 return get(requestUrl, imageListener, maxWidth, maxHeight, ScaleType.CENTER_INSIDE); 202 * @param maxHeight The maximum height of the returned image. 208 int maxWidth, int maxHeight, ScaleTyp 189 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight) argument 207 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight, ScaleType scaleType) argument 250 makeImageRequest(String requestUrl, int maxWidth, int maxHeight, ScaleType scaleType, final String cacheKey) argument 502 getCacheKey(String url, int maxWidth, int maxHeight, ScaleType scaleType) argument [all...] |
H A D | ImageRequest.java | 66 * @param maxHeight Maximum height to decode this bitmap to, or zero for 72 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument 80 mMaxHeight = maxHeight; 89 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument 91 this(url, listener, maxWidth, maxHeight,
|
H A D | NetworkImageView.java | 146 int maxHeight = wrapHeight ? 0 : height; 181 }, maxWidth, maxHeight, scaleType);
|
/frameworks/base/media/java/android/media/tv/ |
H A D | TvStreamConfig.java | 54 maxHeight(source.readInt()). 139 public Builder maxHeight(int maxHeight) { argument 140 mMaxHeight = maxHeight;
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
H A D | NetworkImageViewTest.java | 49 int maxHeight, ScaleType scaleType) { 52 lastMaxHeight = maxHeight; 48 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight, ScaleType scaleType) argument
|
H A D | ImageRequestTest.java | 125 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, argument 127 ImageRequest request = new ImageRequest("", null, maxWidth, maxHeight, scaleType,
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ImageUtils.java | 125 * Convert a drawable to a bitmap, scaled to fit within maxWidth and maxHeight. 128 int maxHeight) { 135 if ((originalWidth <= maxWidth) && (originalHeight <= maxHeight) && 146 (float) maxHeight / (float) originalHeight); 127 buildScaledBitmap(Drawable drawable, int maxWidth, int maxHeight) argument
|
/frameworks/base/core/java/android/app/ |
H A D | FragmentBreadCrumbs.java | 245 int maxHeight = 0; 255 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); 263 maxHeight += mPaddingTop + mPaddingBottom; 266 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 270 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ListViewCompat.java | 231 * with this ListView's padding and divider heights included. If maxHeight is provided, the 232 * measuring will stop when the current height reaches maxHeight. 240 * @param maxHeight The maximum height that will be returned (if all the 256 int endPosition, final int maxHeight, 277 // The previous height value that was less than maxHeight and contained 310 if (returnedHeight >= maxHeight) { 312 // maxHeight, then the i'th position did not fit completely. 316 && (returnedHeight != maxHeight) // i'th child did not fit completely 318 : maxHeight; 255 measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
|
H A D | ActionBarOverlayLayout.java | 333 int maxHeight = 0; 344 maxHeight = Math.max(maxHeight, 397 maxHeight = Math.max(maxHeight, 404 maxHeight += getPaddingTop() + getPaddingBottom(); 407 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 412 ViewCompat.resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
H A D | StraightenFilter.java | 136 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y)); 139 mHeight / maxHeight);
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 924 int maxHeight = 0; 1071 maxHeight = Math.max(maxHeight, childHeight); 1105 maxHeight = Math.max(maxHeight, ascent + descent); 1159 maxHeight = -1; 1224 maxHeight = Math.max(maxHeight, childHeight); 1262 maxHeight = Math.max(maxHeight, ascen [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequence_gif.cpp | 172 static void getCopySize(const GifImageDesc& imageDesc, int maxWidth, int maxHeight, argument 179 if (imageDesc.Top + copyHeight > maxHeight) { 180 copyHeight = maxHeight - imageDesc.Top;
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | PagerTitleStrip.java | 296 final int maxHeight = Math.max(0, childHeight); 297 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST); 442 final int maxHeight = Math.min(0, childHeight); 443 final int childHeightSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
/frameworks/rs/ |
H A D | rsFont.h | 173 CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) argument 174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),
|