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

123

/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 DSizeAdaptiveLayout.java161 if (DEBUG) Log.d(TAG, "active min: " + lp.minHeight + " max: " + lp.maxHeight);
180 if (lp.maxHeight != SizeAdaptiveLayout.LayoutParams.UNBOUNDED) {
181 height = Math.min(height, lp.maxHeight);
210 " max: " + lp.maxHeight);
211 if (lp.maxHeight == SizeAdaptiveLayout.LayoutParams.UNBOUNDED &&
215 if (lp.maxHeight > tallestViewSize) {
216 tallestViewSize = lp.maxHeight;
224 heightSize >= lp.minHeight && heightSize <= lp.maxHeight) {
329 public int maxHeight; field in class:SizeAdaptiveLayout.LayoutParams
332 * Constant value for maxHeight tha
377 LayoutParams(int width, int height, int minHeight, int maxHeight) argument
[all...]
H A 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, getSuggestedMinimumHeigh
[all...]
/frameworks/volley/tests/src/com/android/volley/toolbox/
H A DNetworkImageViewTest.java40 int maxHeight) {
43 lastMaxHeight = maxHeight;
39 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight) argument
H A DImageRequestTest.java61 private void verifyResize(NetworkResponse networkResponse, int maxWidth, int maxHeight, argument
64 "", null, maxWidth, maxHeight, Config.RGB_565, null);
/frameworks/base/core/java/android/widget/
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.java429 int maxHeight = 0;
440 maxHeight = Math.max(maxHeight,
454 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground();
457 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
463 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
468 resolveSizeAndState(maxHeight, heightMeasureSpec,
H A DLinearLayout.java988 int maxHeight = 0;
1134 maxHeight = Math.max(maxHeight, childHeight);
1168 maxHeight = Math.max(maxHeight, ascent + descent);
1222 maxHeight = -1;
1287 maxHeight = Math.max(maxHeight, childHeight);
1325 maxHeight = Math.max(maxHeight, ascen
[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...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardSecurityViewFlipper.java210 int maxHeight = heightSize;
219 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) {
220 maxHeight = lp.maxHeight;
227 maxHeight -= hPadding;
236 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height);
271 public int maxHeight; field in class:KeyguardSecurityViewFlipper.LayoutParams
281 maxHeight
[all...]
H A DMultiPaneChallengeLayout.java259 if (lp.maxHeight >= 0) {
261 Math.min(lp.maxHeight, insetHeight), MeasureSpec.EXACTLY);
320 if (lp.maxHeight >= 0) {
322 Math.min(lp.maxHeight, MeasureSpec.getSize(adjustedHeightSpec)),
498 public int maxHeight = -1; field in class:MultiPaneChallengeLayout.LayoutParams
518 maxHeight = a.getDimensionPixelSize(
572 maxHeight = source.maxHeight;
/frameworks/base/media/java/android/media/tv/
H A DTvStreamConfig.java54 maxHeight(source.readInt()).
143 public Builder maxHeight(int maxHeight) { argument
144 mMaxHeight = maxHeight;
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DTargetDrawable.java124 int maxHeight = 0;
128 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight());
131 + maxWidth + "x" + maxHeight);
132 d.setBounds(0, 0, maxWidth, maxHeight);
136 + maxWidth + "x" + maxHeight);
137 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
/frameworks/volley/src/com/android/volley/toolbox/
H A DImageLoader.java150 * @param maxHeight The maximum height of the returned image.
153 public boolean isCached(String requestUrl, int maxWidth, int maxHeight) { argument
156 String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
182 * @param maxHeight The maximum height of the returned image.
187 int maxWidth, int maxHeight) {
191 final String cacheKey = getCacheKey(requestUrl, maxWidth, maxHeight);
225 }, maxWidth, maxHeight,
474 * @param maxHeight The max-height of the output.
476 private static String getCacheKey(String url, int maxWidth, int maxHeight) { argument
478 .append("#H").append(maxHeight)
186 get(String requestUrl, ImageListener imageListener, int maxWidth, int maxHeight) argument
[all...]
H A DNetworkImageView.java145 int maxHeight = wrapHeight ? 0 : height;
180 }, maxWidth, maxHeight);
H A DImageRequest.java64 * @param maxHeight Maximum height to decode this bitmap to, or zero for
69 public ImageRequest(String url, Response.Listener<Bitmap> listener, int maxWidth, int maxHeight, argument
77 mMaxHeight = maxHeight;
/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/internal/widget/
H A DActionBarOverlayLayout.java370 int maxHeight = 0;
381 maxHeight = Math.max(maxHeight,
392 maxHeight = Math.max(maxHeight,
457 maxHeight = Math.max(maxHeight,
464 maxHeight += getPaddingTop() + getPaddingBottom();
467 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeigh
[all...]
H A DListViewCompat.java224 * with this ListView's padding and divider heights included. If maxHeight is provided, the
225 * measuring will stop when the current height reaches maxHeight.
233 * @param maxHeight The maximum height that will be returned (if all the
249 int endPosition, final int maxHeight,
270 // The previous height value that was less than maxHeight and contained
303 if (returnedHeight >= maxHeight) {
305 // maxHeight, then the i'th position did not fit completely.
309 && (returnedHeight != maxHeight) // i'th child did not fit completely
311 : maxHeight;
248 measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
/frameworks/base/core/tests/coretests/src/com/android/internal/widget/
H A DSizeAdaptiveLayoutTest.java134 lp.maxHeight = 500;
185 int height = (int) lp.maxHeight + 10;
233 int height = (int) lp.maxHeight + 10;
267 smallParams.maxHeight + 10 < largeParams.minHeight);
268 int height = (int) smallParams.maxHeight + 10;
288 int height = (int) smallParams.maxHeight;
400 int endHeight = (int) smallParams.maxHeight;
/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/support/v7/appcompat/src/android/support/v7/widget/
H A DLinearLayoutCompat.java924 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 DFrameSequence_gif.cpp172 static void getCopySize(const GifImageDesc& imageDesc, int maxWidth, int maxHeight, argument
179 if (imageDesc.Top + copyHeight > maxHeight) {
180 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),
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHostView.java251 * @param maxHeight The maximum height in dips that the widget will be displayed at.
255 int maxHeight) {
256 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false);
263 int maxHeight, boolean ignorePadding) {
280 int newMaxHeight = maxHeight - (ignorePadding ? 0 : yPaddingDips);
254 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight) argument
262 updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, int maxHeight, boolean ignorePadding) argument

Completed in 3485 milliseconds

123