Searched refs:maxHeight (Results 1 - 25 of 66) 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,
/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...]
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
H A DCustomScrollView.java82 final int maxHeight = (int) typedValue.getFraction(point.y, point.y);
85 mHeight = Math.min(childHeight, maxHeight);
87 Slog.d(TAG, "calculateDimensions(): maxHeight=" + maxHeight
/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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
H A DFillContentLayoutTest.java60 .addAttribute(android.R.attr.maxHeight, "123dp")
78 .addAttribute(android.R.attr.maxHeight, "123dp")
/frameworks/av/include/media/nbaio/
H A DPerformanceAnalysis.h75 void reportPerformance(String8 *body, int maxHeight = 10);
/frameworks/av/media/libnbaio/include/media/nbaio/
H A DPerformanceAnalysis.h75 void reportPerformance(String8 *body, int maxHeight = 10);
/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,
/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/av/media/libnbaio/
H A DPerformanceAnalysis.cpp269 void PerformanceAnalysis::reportPerformance(String8 *body, int maxHeight) { argument
305 if (height > maxHeight) {
306 scalingFactor = (height + maxHeight) / maxHeight;

Completed in 2092 milliseconds

123