Home
last modified time | relevance | path

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

12

/frameworks/minikin/include/minikin/
DAndroidLineBreakerHelper.h47 float minWidth = std::min(getAt(0), getAt(mFirstLineCount)); in getMin() local
49 minWidth = std::min(minWidth, getAt(lineNo)); in getMin()
51 return minWidth; in getMin()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java137 public int minWidth; field in AppWidgetProviderInfo
287 this.minWidth = in.readInt(); in AppWidgetProviderInfo()
372 out.writeInt(this.minWidth); in writeToParcel()
395 that.minWidth = this.minWidth; in clone()
440 minWidth = TypedValue.complexToDimensionPixelSize(minWidth, displayMetrics); in updateDimensions()
DAppWidgetHostView.java281 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument
283 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize()
290 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument
302 int newMinWidth = minWidth - (ignorePadding ? 0 : xPaddingDips); in updateAppWidgetSize()
/frameworks/ex/framesequence/src/android/support/rastermill/
DFrameSequenceDrawable.java75 public abstract Bitmap acquireBitmap(int minWidth, int minHeight); in acquireBitmap() argument
88 public Bitmap acquireBitmap(int minWidth, int minHeight) {
89 return Bitmap.createBitmap(minWidth, minHeight, Bitmap.Config.ARGB_8888);
248 int minWidth, int minHeight) { in acquireAndValidateBitmap() argument
249 Bitmap bitmap = bitmapProvider.acquireBitmap(minWidth, minHeight); in acquireAndValidateBitmap()
251 if (bitmap.getWidth() < minWidth in acquireAndValidateBitmap()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java1383 int gravity, int minWidth, int minHeight) { in WindowLayout() argument
1389 this.minWidth = minWidth; in WindowLayout()
1400 minWidth = source.readInt(); in WindowLayout()
1454 public final int minWidth; field in ActivityInfo.WindowLayout
1490 dest.writeInt(minWidth); in writeToParcel()
DPackageParser.java4772 int minWidth = sw.getDimensionPixelSize( in parseLayout() local
4780 height, heightFraction, gravity, minWidth, minHeight); in parseLayout()
/frameworks/ex/framesequence/samples/FrameSequenceSamples/src/com/android/framesequence/samples/
DFrameSequenceTest.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/packages/SystemUI/src/com/android/systemui/stackdivider/
DSplitDisplayLayout.java231 int minWidth = Integer.MAX_VALUE; in getSmallestWidthDpForBounds() local
260 minWidth = Math.min(tmpRect.width(), minWidth); in getSmallestWidthDpForBounds()
262 return (int) (minWidth / dl.density()); in getSmallestWidthDpForBounds()
/frameworks/base/core/java/android/security/net/config/
DDirectoryCertificateSource.java199 private static String intToHexString(int i, int minWidth) {
206 } while ((i >>>= 4) != 0 || (bufLen - cursor < minWidth));
/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/core/proto/android/service/
Dappwidget.proto35 optional int32 minWidth = 6; field
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DFillContentLayoutTest.java40 .addAttribute(android.R.attr.minWidth, "123dp") in testMeasureMinSize()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp249 uint32_t minWidth; member
257 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/services/core/java/com/android/server/wm/
DTask.java541 boolean _realActivitySuspended, boolean userSetupComplete, int minWidth, int minHeight, in Task() argument
589 mMinWidth = minWidth; in Task()
1038 mMinWidth = info.windowLayout.minWidth; in setMinDimensions()
1796 int minWidth = mMinWidth; in adjustForMinimalTaskDimensions() local
1806 if (minWidth == INVALID_MIN_SIZE) { in adjustForMinimalTaskDimensions()
1807 minWidth = defaultMinSize; in adjustForMinimalTaskDimensions()
1817 if (parentBounds.width() >= minWidth && parentBounds.height() >= minHeight) { in adjustForMinimalTaskDimensions()
1822 final boolean adjustWidth = minWidth > bounds.width(); in adjustForMinimalTaskDimensions()
1830 bounds.left = bounds.right - minWidth; in adjustForMinimalTaskDimensions()
1834 bounds.right = bounds.left + minWidth; in adjustForMinimalTaskDimensions()
[all …]
DTaskLaunchParamsModifier.java661 final int layoutMinWidth = (layout == null) ? -1 : layout.minWidth; in getDefaultFreeformSize()
DActivityStack.java552 boolean userSetupComplete, int minWidth, int minHeight, in ActivityStack() argument
560 _realActivitySuspended, userSetupComplete, minWidth, minHeight, info, _voiceSession, in ActivityStack()
/frameworks/base/core/java/android/widget/
DTimePickerClockDelegate.java297 final int minWidth = v.getMeasuredWidth(); in ensureMinimumTextWidth() local
298 v.setMinWidth(minWidth); in ensureMinimumTextWidth()
299 v.setMinimumWidth(minWidth); in ensureMinimumTextWidth()
DProgressBar.java424 public void setMinWidth(@Px int minWidth) { in setMinWidth() argument
425 mMinWidth = minWidth; in setMinWidth()
/frameworks/base/core/java/android/content/pm/parsing/component/
DParsedActivityUtils.java485 int minWidth = sw.getDimensionPixelSize(R.styleable.AndroidManifestLayout_minWidth, -1); in parseLayout() local
489 heightFraction, gravity, minWidth, minHeight)); in parseLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/
DPipTaskOrganizer.java889 if (windowLayout.minWidth > 0 && windowLayout.minHeight > 0) { in getMinimalSize()
890 return new Size(windowLayout.minWidth, windowLayout.minHeight); in getMinimalSize()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1678 final int minWidth = r.mWidth < 0 ? r.mDrawable.getIntrinsicWidth() : r.mWidth;
1679 final int w = minWidth < 0 ? -1 : minWidth + insetL + insetR + padL + padR;
/frameworks/base/media/java/android/media/
DMediaCodecInfo.java2881 int minWidth = maxWidth, minHeight = maxHeight;
2887 int MBPS = 0, BR = 0, FR = 0, W = 0, H = 0, minW = minWidth, minH = minHeight;
2963 minWidth = Math.min(minW, minWidth);
2973 minWidth, minHeight,
/frameworks/base/core/java/android/app/
DActivityManager.java1142 boolean ensureNavigationBarContrastWhenTransparent, int resizeMode, int minWidth, in TaskDescription() argument
1154 mMinWidth = minWidth; in TaskDescription()
1306 public void setMinWidth(int minWidth) { in setMinWidth() argument
1307 mMinWidth = minWidth; in setMinWidth()
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java2444 pw.print(" min=("); pw.print(info.minWidth); in dumpProvider()
2522 int minWidth = widget.options.getInt(AppWidgetManager.OPTION_APPWIDGET_MIN_WIDTH); in serializeAppWidget() local
2526 out.attribute(null, "min_width", Integer.toHexString((minWidth > 0) ? minWidth : 0)); in serializeAppWidget()
2672 info.minWidth = value != null ? value.data : 0; in parseAppWidgetProviderInfo()
2677 info.minResizeWidth = value != null ? value.data : info.minWidth; in parseAppWidgetProviderInfo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java1414 private WindowLayoutBuilder setMinWidth(int minWidth) { in setMinWidth() argument
1415 mMinWidth = minWidth; in setMinWidth()

12