/frameworks/base/core/java/com/android/internal/widget/ |
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);
|
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,
|
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,
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
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);
|
/frameworks/base/core/java/android/widget/ |
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,
|
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));
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
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/support/preference/src/main/java/androidx/preference/internal/ |
PreferenceImageView.java | 30 * Extension of ImageView that correctly applies maxWidth and maxHeight. 79 public void setMaxHeight(int maxHeight) { 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);
|
/external/volley/src/main/java/com/android/volley/toolbox/ |
NetworkImageView.java | 146 int maxHeight = wrapHeight ? 0 : height; 183 }, maxWidth, maxHeight, scaleType);
|
/frameworks/base/media/java/android/media/tv/ |
TvStreamConfig.java | 54 maxHeight(source.readInt()). 139 public Builder maxHeight(int maxHeight) { 140 mMaxHeight = maxHeight;
|
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/ |
StraightenFilter.java | 136 float maxHeight = (float) Math.max(Math.abs(p0.y), Math.abs(p1.y)); 139 mHeight / maxHeight);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/ |
LogoUtils.java | 48 int maxHeight = (int) context.getResources().getDimension(R.dimen.max_logo_height); 50 bitmap = getBitmapPartiallyResized(logoFile.getPath(), maxWidth, maxHeight); 58 resizeBitmap(bitmap, maxWidth, maxHeight)); 103 static Bitmap resizeBitmap(Bitmap bitmap, int maxWidth, int maxHeight) { 106 double ratio = Math.max((double) width / maxWidth, (double) height / maxHeight);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
PictureLayout.java | 85 int maxHeight = 0; 96 maxHeight += getPaddingTop() + getPaddingBottom(); 100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight()); 105 resolveSize(maxHeight, heightMeasureSpec));
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
CustomLayout.java | 85 int maxHeight = 0; 110 maxHeight = Math.max(maxHeight, 120 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight()); 125 resolveSizeAndState(maxHeight, heightMeasureSpec,
|
/external/deqp/modules/gles31/functional/ |
es31fFboNoAttachmentTests.cpp | 505 const int maxHeight = 2048; // MAX_FRAMEBUFFER_HEIGHT in ES 3.1 518 for (int height = 16; height <= maxHeight; height *= 4) 602 const int height = rng.getInt(1, maxHeight);
|
/frameworks/av/packages/MediaComponents/src/com/android/widget/ |
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/core/java/android/app/ |
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/base/packages/SystemUI/src/com/android/systemui/qs/ |
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/support/media-widget/src/main/java/androidx/media/widget/ |
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,
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PopupList.java | 144 int maxHeight = mPopupWindow.getMaxAvailableHeight(mAnchorView) - p.top - p.bottom; 147 MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST)); 149 mPopupHeight = Math.min(maxHeight, content.getMeasuredHeight() + p.left + p.right);
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
AttachmentPreviewFactory.java | 171 int maxHeight = imageView.getMaxHeight(); 174 maxWidth = maxHeight = resources.getDimensionPixelSize( 180 if (maxHeight <= 0 || maxHeight == Integer.MAX_VALUE) { 181 maxHeight = ImageRequest.UNSPECIFIED_SIZE; 185 maxWidth, maxHeight));
|
/developers/samples/android/content/WidgetData/Application/src/main/java/com/example/android/widgetdata/ |
WeatherWidgetProvider.java | 223 int maxHeight = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT);
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
WeatherWidgetProvider.java | 223 int maxHeight = newOptions.getInt(AppWidgetManager.OPTION_APPWIDGET_MAX_HEIGHT);
|
/external/deqp/modules/egl/ |
teglMemoryStressTests.cpp | 72 MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use); 105 MemoryAllocator::MemoryAllocator (EglTestContext& eglTestCtx, EGLDisplay display, EGLConfig config, int seed, ObjectType types, int minWidth, int minHeight, int maxWidth, int maxHeight, bool use) 117 , m_maxHeight (maxHeight) 323 int maxHeight; 401 m_allocator = new MemoryAllocator(m_eglTestCtx, m_display, m_config, m_seed, m_spec.types, m_spec.minWidth, m_spec.minHeight, m_spec.maxWidth, m_spec.maxHeight, m_spec.use); 482 spec.maxHeight = 256; 496 spec.maxHeight = 256; 510 spec.maxHeight = 1024; 524 spec.maxHeight = 1024; 538 spec.maxHeight = 1024 [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
ConversationDialogActivity.java | 88 final int maxHeight = textView.getHeight(); 102 final int maxLinesPerPage = (int)(maxHeight / fontHeight);
|