/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 85 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()
|
D | AppWidgetHostView.java | 279 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()
|
D | AppWidgetManager.java | 1073 info.minWidth = TypedValue.complexToDimensionPixelSize(info.minWidth, in convertSizesToPixels()
|
D | AppWidgetHost.java | 384 appWidget.minWidth = in onProviderChanged() 385 TypedValue.complexToDimensionPixelSize(appWidget.minWidth, mDisplayMetrics); in onProviderChanged()
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 73 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/ |
D | CardView.java | 194 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/ |
D | ActivityInfo.java | 947 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
|
D | PackageParser.java | 3732 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/ |
D | FrameSequenceTest.java | 38 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/ |
D | widget_design.jd | 110 <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 × 8dp) + (2 × 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/ |
D | TestUtilsMatchers.java | 45 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/ |
D | TaskRecord.java | 335 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/ |
D | CameraTooTest.java | 96 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/ |
D | IntegralToString.java | 476 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/ |
D | DockedStackDividerController.java | 161 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/ |
D | hwcCommit.cpp | 247 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/ |
D | TimePickerClockDelegate.java | 214 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/ |
D | host.jd | 276 (using {@link android.appwidget.AppWidgetProviderInfo#minWidth android:minWidth} and 281 cells that satisfy the {@code minWidth} and {@code minHeight} constraints.</li>
|
D | index.jd | 165 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/ |
D | MediaCodecInfo.java | 2303 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/ |
D | LayerDrawable.java | 1666 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/ |
D | multi-window.jd | 262 <code>android:minHeight</code>, <code>android:minWidth</code> 285 android:minWidth="300dp" />
|
/frameworks/base/services/appwidget/java/com/android/server/appwidget/ |
D | AppWidgetServiceImpl.java | 2266 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/ |
D | android-3.1.jd | 385 android:minWidth="294dp"
|
/frameworks/base/core/java/android/view/ |
D | View.java | 20149 public void setMinimumWidth(int minWidth) { in setMinimumWidth() argument 20150 mMinWidth = minWidth; in setMinimumWidth()
|