Home
last modified time | relevance | path

Searched refs:minWidth (Results 1 – 21 of 21) sorted by relevance

/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java61 public abstract Bitmap acquireBitmap(int minWidth, int minHeight); in acquireBitmap() argument
74 public Bitmap acquireBitmap(int minWidth, int minHeight) {
75 return Bitmap.createBitmap(minWidth, minHeight, Bitmap.Config.ARGB_8888);
186 int minWidth, int minHeight) { in acquireAndValidateBitmap() argument
187 Bitmap bitmap = bitmapProvider.acquireBitmap(minWidth, minHeight); in acquireAndValidateBitmap()
189 if (bitmap.getWidth() < minWidth in acquireAndValidateBitmap()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java85 public int minWidth; field in AppWidgetProviderInfo
224 this.minWidth = in.readInt(); in AppWidgetProviderInfo()
315 out.writeInt(this.minWidth); in writeToParcel()
342 that.minWidth = this.minWidth; in clone()
DAppWidgetHostView.java254 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument
256 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize()
262 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument
277 int newMinWidth = minWidth - (ignorePadding ? 0 : xPaddingDips); in updateAppWidgetSize()
DAppWidgetHost.java348 appWidget.minWidth = in onProviderChanged()
349 TypedValue.complexToDimensionPixelSize(appWidget.minWidth, mDisplayMetrics); in onProviderChanged()
DAppWidgetManager.java1072 info.minWidth = TypedValue.complexToDimensionPixelSize(info.minWidth, in convertSizesToPixels()
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
DAnimatedGifTest.java37 public Bitmap acquireBitmap(int minWidth, int minHeight) { in acquireBitmap() argument
39 Bitmap.createBitmap(minWidth + 1, minHeight + 4, Bitmap.Config.ARGB_8888); in acquireBitmap()
/frameworks/base/docs/html/guide/practices/ui_guidelines/
Dwidget_design.jd110 <p>Each widget must define a <code>minWidth</code> and <code>minHeight</code>, indicating the
116 horizontally and vertically, required to satisfy its <code>minWidth</code> and
130 <th>Available Size (dp)<br><small style="font-weight:normal">(<code>minWidth</code> or
162 <p>It is a good practice to be conservative with <code>minWidth</code> and <code>minHeight</code>,
164 to provide a <code>minWidth</code> and <code>minHeight</code>, suppose you have a music player
185 <code>minWidth</code>/<code>minHeight</code> calculations. We chose 144dp as an example good minimum
192 <li><code>minWidth</code> = 144dp + (2 &times; 8dp) + (2 &times; 56dp) =
198 <code>minWidth</code> and <code>minHeight</code> accordingly.</p>
204 <code>minWidth</code> and <code>minHeight</code> effectively become the <em>default</em> size for
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardView.java181 final int minWidth = (int) Math.ceil(IMPL.getMinWidth(this)); in onMeasure() local
182 widthMeasureSpec = MeasureSpec.makeMeasureSpec(Math.max(minWidth, in onMeasure()
/frameworks/base/core/java/android/app/
DMediaRouteButton.java333 final int minWidth = Math.max(mMinWidth, in onMeasure() local
344 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight()); in onMeasure()
348 width = minWidth + getPaddingLeft() + getPaddingRight(); in onMeasure()
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
DMediaRouteButton.java430 final int minWidth = Math.max(mMinWidth, in onMeasure() local
441 width = Math.min(widthSize, minWidth + getPaddingLeft() + getPaddingRight()); in onMeasure()
445 width = minWidth + getPaddingLeft() + getPaddingRight(); in onMeasure()
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
DCameraTooTest.java96 private void assertOptimalSize(Size[] options, int minWidth, int minHeight, Size expected) { in assertOptimalSize() argument
97 Size verdict = CameraTooActivity.chooseBigEnoughSize(options, minWidth, minHeight); in assertOptimalSize()
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/java/
DIntegralToString.java476 public static String intToHexString(int i, boolean upperCase, int minWidth) { in intToHexString() argument
484 } while ((i >>>= 4) != 0 || (bufLen - cursor < minWidth)); in intToHexString()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp248 uint32_t minWidth; member
256 uint32_t minWidth; member
483 measPtr->df.minWidth = dfMinWidth(format->format); in main()
484 testPrintI(" dfMinWidth: %u", measPtr->df.minWidth); in main()
502 measPtr->sc.minWidth = scMinWidth(format->format, measPtr->df.minDim); in main()
503 testPrintI(" scMinWidth: %u", measPtr->sc.minWidth); in main()
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
DPagedView.java861 final int minWidth = mMinimumWidth; in getScaledMeasuredWidth() local
862 final int maxWidth = (minWidth > measuredWidth) ? minWidth : measuredWidth; in getScaledMeasuredWidth()
1796 final int minWidth = mMinimumWidth; in getChildWidth() local
1797 return (minWidth > measuredWidth) ? minWidth : measuredWidth; in getChildWidth()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dhost.jd276 (using {@link android.appwidget.AppWidgetProviderInfo#minWidth android:minWidth} and
281 cells that satisfy the {@code minWidth} and {@code minHeight} constraints.</li>
Dindex.jd171 android:minWidth="40dp"
185 <li>The values for the <code>minWidth</code> and <code>minHeight</code>
206 <code>minWidth</code> and <code>minHeight</code> attributes.
281 the widget can be resized. This field has no effect if it is greater than {@code minWidth} or if
786 <p>When a widget is hosted on the lockscreen, the framework ignores the {@code minWidth}, {@code mi…
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
DProgressBarCompat.java71 android.R.attr.minWidth,
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java1958 pw.print(" min=("); pw.print(info.minWidth); in dumpProvider()
2125 info.minWidth = value != null ? value.data : 0; in parseProviderInfoXml()
2130 info.minResizeWidth = value != null ? value.data : info.minWidth; in parseProviderInfoXml()
/frameworks/base/docs/html/about/versions/
Dandroid-3.1.jd385 android:minWidth="294dp"
/frameworks/base/core/java/android/view/
DView.java17717 public void setMinimumWidth(int minWidth) {
17718 mMinWidth = minWidth;
/frameworks/base/api/
Dcurrent.txt852 field public static final int minWidth = 16843071; // 0x101013f
5751 field public int minWidth;