Home
last modified time | relevance | path

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

12

/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.java279 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument
281 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize()
287 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument
302 int newMinWidth = minWidth - (ignorePadding ? 0 : xPaddingDips); in updateAppWidgetSize()
DAppWidgetManager.java1073 info.minWidth = TypedValue.complexToDimensionPixelSize(info.minWidth, in convertSizesToPixels()
DAppWidgetHost.java384 appWidget.minWidth = in onProviderChanged()
385 TypedValue.complexToDimensionPixelSize(appWidget.minWidth, mDisplayMetrics); in onProviderChanged()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java73 public abstract Bitmap acquireBitmap(int minWidth, int minHeight); in acquireBitmap() argument
86 public Bitmap acquireBitmap(int minWidth, int minHeight) {
87 return Bitmap.createBitmap(minWidth, minHeight, Bitmap.Config.ARGB_8888);
216 int minWidth, int minHeight) { in acquireAndValidateBitmap() argument
217 Bitmap bitmap = bitmapProvider.acquireBitmap(minWidth, minHeight); in acquireAndValidateBitmap()
219 if (bitmap.getWidth() < minWidth in acquireAndValidateBitmap()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardView.java194 final int minWidth = (int) Math.ceil(IMPL.getMinWidth(mCardViewDelegate)); in onMeasure() local
195 widthMeasureSpec = MeasureSpec.makeMeasureSpec(Math.max(minWidth, in onMeasure()
260 public void setMinimumWidth(int minWidth) { in setMinimumWidth() argument
261 mUserSetMinWidth = minWidth; in setMinimumWidth()
262 super.setMinimumWidth(minWidth); in setMinimumWidth()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java947 dest.writeInt(windowLayout.minWidth); in writeToParcel()
1005 int minWidth, int minHeight) { in WindowLayout() argument
1011 this.minWidth = minWidth; in WindowLayout()
1021 minWidth = source.readInt(); in WindowLayout()
1074 public final int minWidth; field in ActivityInfo.WindowLayout
DPackageParser.java3732 int minWidth = sw.getDimensionPixelSize( in parseLayout() local
3740 height, heightFraction, gravity, minWidth, minHeight); in parseLayout()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.java38 public Bitmap acquireBitmap(int minWidth, int minHeight) { in acquireBitmap() argument
40 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/design/tests/src/android/support/design/testutils/
DTestUtilsMatchers.java45 public static Matcher<View> isNotNarrowerThan(final int minWidth) { in isNotNarrowerThan() argument
57 if (viewWidth < minWidth) { in isNotNarrowerThan()
59 "width " + viewWidth + " is less than minimum " + minWidth; in isNotNarrowerThan()
/frameworks/base/services/core/java/com/android/server/am/
DTaskRecord.java335 boolean userSetupComplete, int minWidth, int minHeight) { in TaskRecord() argument
375 mMinWidth = minWidth; in TaskRecord()
485 mMinWidth = info.windowLayout.minWidth; in setMinDimensions()
1250 int minWidth = INVALID_MIN_SIZE; in restoreFromXml() local
1320 minWidth = Integer.parseInt(attrValue); in restoreFromXml()
1383 realActivitySuspended, userSetupComplete, minWidth, minHeight); in restoreFromXml()
1398 int minWidth = mMinWidth; in adjustForMinimalTaskDimensions() local
1404 if (minWidth == INVALID_MIN_SIZE) { in adjustForMinimalTaskDimensions()
1405 minWidth = mService.mStackSupervisor.mDefaultMinSizeOfResizeableTask; in adjustForMinimalTaskDimensions()
1411 final boolean adjustWidth = minWidth > bounds.width(); in adjustForMinimalTaskDimensions()
[all …]
/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/base/services/core/java/com/android/server/wm/
DDockedStackDividerController.java161 int minWidth = Integer.MAX_VALUE; in getSmallestWidthDpForBounds() local
188 minWidth = Math.min(mTmpRect.width(), minWidth); in getSmallestWidthDpForBounds()
190 return (int) (minWidth / mDisplayContent.getDisplayMetrics().density); in getSmallestWidthDpForBounds()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp247 uint32_t minWidth; member
255 uint32_t minWidth; member
481 measPtr->df.minWidth = dfMinWidth(format->format); in main()
482 testPrintI(" dfMinWidth: %u", measPtr->df.minWidth); in main()
500 measPtr->sc.minWidth = scMinWidth(format->format, measPtr->df.minDim); in main()
501 testPrintI(" scMinWidth: %u", measPtr->sc.minWidth); in main()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java214 final int minWidth = v.getMeasuredWidth(); in ensureMinimumTextWidth() local
215 v.setMinWidth(minWidth); in ensureMinimumTextWidth()
216 v.setMinimumWidth(minWidth); in ensureMinimumTextWidth()
/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.jd165 android:minWidth="40dp"
178 <li>The values for the <code>minWidth</code> and <code>minHeight</code>
199 <code>minWidth</code> and <code>minHeight</code> attributes.
274 the widget can be resized. This field has no effect if it is greater than {@code minWidth} or if
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2303 int minWidth = maxWidth, minHeight = maxHeight; in applyLevelLimits() local
2309 int MBPS = 0, BR = 0, FR = 0, W = 0, H = 0, minW = minWidth, minH = minHeight; in applyLevelLimits()
2385 minWidth = Math.min(minW, minWidth); in applyLevelLimits()
2395 minWidth, minHeight, in applyLevelLimits()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1666 final int minWidth = r.mWidth < 0 ? r.mDrawable.getIntrinsicWidth() : r.mWidth;
1667 final int w = minWidth < 0 ? -1 : minWidth + insetL + insetR + padL + padR;
/frameworks/base/docs/html/guide/topics/ui/
Dmulti-window.jd262 <code>android:minHeight</code>, <code>android:minWidth</code>
285 android:minWidth="300dp" /&gt;
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java2266 pw.print(" min=("); pw.print(info.minWidth); in dumpProvider()
2436 info.minWidth = value != null ? value.data : 0; in parseProviderInfoXml()
2441 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.java20149 public void setMinimumWidth(int minWidth) { in setMinimumWidth() argument
20150 mMinWidth = minWidth; in setMinimumWidth()

12