/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 | WatchListDecorLayout.java | 167 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 D | ActionBarOverlayLayout.java | 374 int maxHeight = 0; 385 maxHeight = Math.max(maxHeight, 395 maxHeight = Math.max(maxHeight, 465 maxHeight = Math.max(maxHeight, 471 maxHeight += getPaddingTop() + getPaddingBottom(); 474 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeigh [all...] |
/frameworks/support/preference/src/main/java/androidx/preference/internal/ |
H A D | PreferenceImageView.java | 30 * Extension of ImageView that correctly applies maxWidth and maxHeight. 79 public void setMaxHeight(int maxHeight) { argument 80 mMaxHeight = maxHeight; 81 super.setMaxHeight(maxHeight); 104 final int maxHeight = getMaxHeight(); 105 if (maxHeight != Integer.MAX_VALUE 106 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) { 107 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
|
/frameworks/base/core/java/android/widget/ |
H A D | DayPickerViewPager.java | 63 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 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 | 178 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/packages/SystemUI/src/com/android/keyguard/ |
H A D | KeyguardSecurityViewFlipper.java | 215 int maxHeight = heightSize; 224 if (lp.maxHeight > 0 && lp.maxHeight < maxHeight) { 225 maxHeight = lp.maxHeight; 232 maxHeight = Math.max(0, maxHeight - hPadding); 241 final int childHeightSpec = makeChildMeasureSpec(maxHeight, lp.height); 276 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/base/services/autofill/java/com/android/server/autofill/ui/ |
H A D | CustomScrollView.java | 82 final int maxHeight = (int) typedValue.getFraction(point.y, point.y); 85 mHeight = Math.min(childHeight, maxHeight); 87 Slog.d(TAG, "calculateDimensions(): maxHeight=" + maxHeight
|
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
H A D | BaseLayout.java | 76 int maxHeight = 0; 88 maxHeight = Math.max(maxHeight, 102 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); 105 maxHeight = Math.max(maxHeight, mPrivateProvider.getSuggestedMinimumHeight_impl()); 111 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 117 mInstance.resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/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/support/media-widget/src/main/java/androidx/media/widget/ |
H A D | BaseLayout.java | 88 int maxHeight = 0; 100 maxHeight = Math.max(maxHeight, 114 maxHeight += getPaddingTopWithForeground() + getPaddingBottomWithForeground(); 117 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 124 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 131 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/frameworks/base/core/proto/android/service/ |
H A D | appwidget.proto | 38 optional int32 maxHeight = 9;
|
/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/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/ |
H A D | FillContentLayoutTest.java | 59 .addAttribute(android.R.attr.maxHeight, "123dp") 77 .addAttribute(android.R.attr.maxHeight, "123dp")
|
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/media/utils/ |
H A D | BitmapHelper.java | 35 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/main/java/com/example/android/supportv4/media/utils/ |
H A D | BitmapHelper.java | 35 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 D | FragmentBreadCrumbs.java | 248 int maxHeight = 0; 258 maxHeight = Math.max(maxHeight, child.getMeasuredHeight()); 266 maxHeight += mPaddingTop + mPaddingBottom; 269 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 273 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
H A D | BoxInsetLayout.java | 144 int maxHeight = 0; 177 maxHeight = Math.max(maxHeight, 185 maxHeight += getPaddingTop() + mForegroundPadding.top + getPaddingBottom() 189 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 194 maxHeight = Math.max(maxHeight, mForegroundDrawable.getMinimumHeight()); 199 int measuredHeight = resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/frameworks/av/include/media/nblog/ |
H A D | PerformanceAnalysis.h | 68 int maxHeight = 10);
|
/frameworks/av/media/libnblog/include/media/nblog/ |
H A D | PerformanceAnalysis.h | 68 int maxHeight = 10);
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActionBarOverlayLayout.java | 342 int maxHeight = 0; 353 maxHeight = Math.max(maxHeight, 405 maxHeight = Math.max(maxHeight, 411 maxHeight += getPaddingTop() + getPaddingBottom(); 414 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 419 View.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);
|