HomeSort by relevance Sort by last modified time
    Searched defs:maxHeight (Results 1 - 25 of 186) sorted by null

1 2 3 4 5 6 7 8

  /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,
  /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 68 int maxHeight = 0;
78 maxHeight = Math.max(maxHeight, child.getMeasuredHeight());
91 maxHeight += getPaddingTop() + getPaddingBottom();
94 maxHeight = Math.max(maxHeight, getSuggestedMinimumHeight());
100 maxHeight = Math.max(maxHeight, drawable.getMinimumHeight());
105 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));
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/support/v7/preference/src/android/support/v7/internal/widget/
PreferenceImageView.java 26 * Extension of ImageView that correctly applies maxWidth and maxHeight.
73 public void setMaxHeight(int maxHeight) {
74 mMaxHeight = maxHeight;
75 super.setMaxHeight(maxHeight);
97 final int maxHeight = getMaxHeight();
98 if (maxHeight != Integer.MAX_VALUE
99 && (maxHeight < heightSize || heightMode == MeasureSpec.UNSPECIFIED)) {
100 heightMeasureSpec = MeasureSpec.makeMeasureSpec(maxHeight, MeasureSpec.AT_MOST);
  /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);
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
NetworkImageView.java 146 int maxHeight = wrapHeight ? 0 : height;
181 }, maxWidth, maxHeight, scaleType);
  /packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
LogoUtils.java 65 int maxHeight = (int) context.getResources().getDimension(R.dimen.max_logo_height);
67 bitmap = getBitmapPartiallyResized(logoFile.getPath(), maxWidth, maxHeight);
79 resizeBitmap(bitmap, maxWidth, maxHeight));
116 static Bitmap resizeBitmap(Bitmap bitmap, int maxWidth, int maxHeight) {
119 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/base/core/java/android/app/
FragmentBreadCrumbs.java 245 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/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...]
  /packages/apps/Dialer/InCallUI/src/com/android/incallui/widget/multiwaveview/
TargetDrawable.java 129 int maxHeight = 0;
135 maxHeight = Math.max(maxHeight, childDrawable.getIntrinsicHeight());
139 + maxWidth + "x" + maxHeight);
140 d.setBounds(0, 0, maxWidth, maxHeight);
146 + maxWidth + "x" + maxHeight);
147 childDrawable.setBounds(0, 0, maxWidth, maxHeight);
  /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/ManagedProvisioning/tests/src/com/android/managedprovisioning/
LogoUtilsTest.java 113 int maxHeight = (int) getContext().getResources().getDimension(R.dimen.max_logo_height);
119 expected = LogoUtils.resizeBitmap(expected, maxWidth, maxHeight);
  /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/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/table/
HtmlTooltipHelper.java 180 int maxHeight = pixelConverter.convertHeightInCharsToPixels(heightLimitChars);
181 expandShellToShowFullPage_Height(browser, maxHeight);
189 private static void expandShellToShowFullPage_Height(Browser browser, int maxHeight) {
199 int useHeight = Math.min(contentHeight + ((EnvironmentUtils.IS_LINUX) ? 2 : 10), maxHeight);
  /external/replicaisland/src/com/replica/replicaisland/
ConversationDialogActivity.java 88 final int maxHeight = textView.getHeight();
102 final int maxLinesPerPage = (int)(maxHeight / fontHeight);

Completed in 1305 milliseconds

1 2 3 4 5 6 7 8