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

123

/frameworks/support/design/src/android/support/design/internal/
H A DBaselineLayout.java49 int maxHeight = 0;
67 maxHeight = Math.max(maxHeight, child.getMeasuredHeight());
72 maxHeight = Math.max(maxHeight, maxChildBaseline + maxChildDescent);
75 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
79 View.resolveSizeAndState(maxHeight, heightMeasureSpec,
/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 DWatchListDecorLayout.java167 int maxHeight = 0;
178 maxHeight = Math.max(maxHeight,
192 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground();
195 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
201 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
206 resolveSizeAndState(maxHeight, heightMeasureSpec,
H A DActionBarOverlayLayout.java371 int maxHeight = 0;
382 maxHeight = Math.max(maxHeight,
392 maxHeight = Math.max(maxHeight,
455 maxHeight = Math.max(maxHeight,
461 maxHeight += getPaddingTop() + getPaddingBottom();
464 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeigh
[all...]
/frameworks/support/v7/preference/src/android/support/v7/internal/widget/
H A DPreferenceImageView.java29 * Extension of ImageView that correctly applies maxWidth and maxHeight.
78 public void setMaxHeight(int maxHeight) { argument
79 mMaxHeight = maxHeight;
80 super.setMaxHeight(maxHeight);
103 final int maxHeight = getMaxHeight();
104 if (maxHeight != Integer.MAX_VALUE
105 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) {
106 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
/frameworks/base/core/java/android/widget/
H A DDayPickerViewPager.java63 int maxHeight = 0;
73 maxHeight = Math.max(maxHeight, child.getMeasuredHeight());
86 maxHeight += getPaddingTop() + getPaddingBottom();
89 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
95 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
100 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.java1067 int maxHeight = 0;
1221 maxHeight = Math.max(maxHeight, childHeight);
1255 maxHeight = Math.max(maxHeight, ascent + descent);
1309 maxHeight = -1;
1366 maxHeight = Math.max(maxHeight, childHeight);
1404 maxHeight = Math.max(maxHeight, ascen
[all...]
/frameworks/base/core/proto/android/service/
H A Dappwidget.proto39 int32 maxHeight = 9;
/frameworks/base/packages/SystemUI/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.java237 int maxHeight = 0;
241 if (height > maxHeight) {
242 maxHeight = height;
245 setMeasuredDimension(getMeasuredWidth(), maxHeight + getPaddingBottom());
/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/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/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java35 public static Bitmap scaleBitmap(Bitmap src, int maxWidth, int maxHeight) { argument
37 ((double) maxWidth)/src.getWidth(), ((double) maxHeight)/src.getHeight());
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/utils/
H A DBitmapHelper.java35 public static Bitmap scaleBitmap(Bitmap src, int maxWidth, int maxHeight) { argument
37 ((double) maxWidth)/src.getWidth(), ((double) maxHeight)/src.getHeight());
/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/wear/src/android/support/wear/widget/
H A DBoxInsetLayout.java163 int maxHeight = 0;
196 maxHeight = Math.max(maxHeight,
204 maxHeight += getPaddingTop() + mForegroundPadding.top + getPaddingBottom()
208 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
213 maxHeight = Math.max(maxHeight, mForegroundDrawable.getMinimumHeight());
218 int measuredHeight = resolveSizeAndState(maxHeight, heightMeasureSpec,
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarOverlayLayout.java341 int maxHeight = 0;
352 maxHeight = Math.max(maxHeight,
404 maxHeight = Math.max(maxHeight,
410 maxHeight += getPaddingTop() + getPaddingBottom();
413 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
418 View.resolveSizeAndState(maxHeight, heightMeasureSpec,
H A DListViewCompat.java248 * with this ListView's padding and divider heights included. If maxHeight is provided, the
249 * measuring will stop when the current height reaches maxHeight.
257 * @param maxHeight The maximum height that will be returned (if all the
273 int endPosition, final int maxHeight,
294 // The previous height value that was less than maxHeight and contained
337 if (returnedHeight >= maxHeight) {
339 // maxHeight, then the i'th position did not fit completely.
343 && (returnedHeight != maxHeight) // i'th child did not fit completely
345 : maxHeight;
272 measureHeightOfChildrenCompat(int widthMeasureSpec, int startPosition, int endPosition, final int maxHeight, int disallowPartialChildPosition) argument
H A DLinearLayoutCompat.java928 int maxHeight = 0;
1075 maxHeight = Math.max(maxHeight, childHeight);
1109 maxHeight = Math.max(maxHeight, ascent + descent);
1163 maxHeight = -1;
1228 maxHeight = Math.max(maxHeight, childHeight);
1266 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;

Completed in 9224 milliseconds

123