Searched refs:maxHeight (Results 1 - 25 of 57) sorted by relevance

123

/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
H A DPreferenceImageView.java26 * 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 DPreferenceImageView.java24 * 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 DDialogViewAnimator.java47 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 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, getSuggestedMinimumHeigh
[all...]
/frameworks/base/core/java/android/widget/
H A DDayPickerViewPager.java68 int maxHeight = 0;
78 maxHeight = Math.max(maxHeight, child.getMeasuredHeight());
91 maxHeight += getPaddingTop() + getPaddingBottom();
94 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
105 resolveSizeAndState(maxHeight, heightMeasureSpec,
H A DAbsoluteLayout.java62 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 DFrameLayout.java178 int maxHeight = 0;
189 maxHeight = Math.max(maxHeight,
203 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground();
206 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
212 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
217 resolveSizeAndState(maxHeight, heightMeasureSpec,
H A DLinearLayout.java1020 int maxHeight = 0;
1171 maxHeight = Math.max(maxHeight, childHeight);
1205 maxHeight = Math.max(maxHeight, ascent + descent);
1259 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 DKeyguardSecurityViewFlipper.java206 int maxHeight = heightSize;
215 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) {
216 maxHeight = lp.maxHeight;
223 maxHeight = Math.max(0, maxHeight - hPadding);
232 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height);
267 public int maxHeight; field in class:KeyguardSecurityViewFlipper.LayoutParams
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPseudoGridView.java82 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...]
H A DPagedTileLayout.java233 int maxHeight = 0;
237 if (height > maxHeight) {
238 maxHeight = height;
241 setMeasuredDimension(getMeasuredWidth(), maxHeight + mDecorGroup.getMeasuredHeight());
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DImageLoader.java149 * @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 DImageRequest.java66 * @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 DNetworkImageView.java146 int maxHeight = wrapHeight ? 0 : height;
181 }, maxWidth, maxHeight, scaleType);
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java54 maxHeight(source.readInt()).
139 public Builder maxHeight(int maxHeight) { argument
140 mMaxHeight = maxHeight;
/frameworks/volley/src/test/java/com/android/volley/toolbox/
H A DNetworkImageViewTest.java49 int maxHeight, ScaleType scaleType) {
52 lastMaxHeight = maxHeight;
48 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight, ScaleType scaleType) argument
H A DImageRequestTest.java126 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, argument
128 ImageRequest request = new ImageRequest("", null, maxWidth, maxHeight, scaleType,
/frameworks/base/core/java/com/android/internal/util/
H A DImageUtils.java125 * 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 DFragmentBreadCrumbs.java245 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/widget/
H A DActionBarOverlayLayout.java331 int maxHeight = 0;
342 maxHeight = Math.max(maxHeight,
395 maxHeight = Math.max(maxHeight,
402 maxHeight += getPaddingTop() + getPaddingBottom();
405 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
410 ViewCompat.resolveSizeAndState(maxHeight, heightMeasureSpec,
H A DListViewCompat.java244 * with this ListView's padding and divider heights included. If maxHeight is provided, the
245 * measuring will stop when the current height reaches maxHeight.
253 * @param maxHeight The maximum height that will be returned (if all the
269 int endPosition, final int maxHeight,
290 // The previous height value that was less than maxHeight and contained
333 if (returnedHeight >= maxHeight) {
335 // maxHeight, then the i'th position did not fit completely.
339 && (returnedHeight != maxHeight) // i'th child did not fit completely
341 : maxHeight;
268 measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
H A DLinearLayoutCompat.java922 int maxHeight = 0;
1069 maxHeight = Math.max(maxHeight, childHeight);
1103 maxHeight = Math.max(maxHeight, ascent + descent);
1157 maxHeight = -1;
1222 maxHeight = Math.max(maxHeight, childHeight);
1260 maxHeight = Math.max(maxHeight, ascen
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DStraightenFilter.java136 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y));
139 mHeight / maxHeight);
/frameworks/ex/framesequence/jni/
H A DFrameSequence_gif.cpp163 static void getCopySize(const GifImageDesc& imageDesc, int maxWidth, int maxHeight, argument
170 if (imageDesc.Top + copyHeight > maxHeight) {
171 copyHeight = maxHeight - imageDesc.Top;
/frameworks/rs/
H A DrsFont.h173 CacheTextureLine(uint32_t maxHeight, uint32_t maxWidth, uint32_t currentRow, uint32_t currentCol) argument
174 : mMaxHeight(maxHeight), mMaxWidth(maxWidth), mCurrentRow(currentRow),

Completed in 3223 milliseconds

123