Home
last modified time | relevance | path

Searched refs:minHeight (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/com/android/internal/widget/
DButtonBarLayout.java115 int minHeight = 0; in onMeasure() local
120 minHeight += getPaddingTop() + firstButton.getMeasuredHeight() in onMeasure()
125 minHeight += getChildAt(secondVisible).getPaddingTop() in onMeasure()
129 minHeight += getPaddingBottom(); in onMeasure()
133 if (getMinimumHeight() != minHeight) { in onMeasure()
134 setMinimumHeight(minHeight); in onMeasure()
DAlertDialogLayout.java256 final int minHeight = v.getMinimumHeight(); in resolveMinimumHeight() local
257 if (minHeight > 0) { in resolveMinimumHeight()
258 return minHeight; in resolveMinimumHeight()
/frameworks/base/core/java/android/appwidget/
DAppWidgetProviderInfo.java94 public int minHeight; field in AppWidgetProviderInfo
225 this.minHeight = in.readInt(); in AppWidgetProviderInfo()
316 out.writeInt(this.minHeight); in writeToParcel()
343 that.minHeight = this.minHeight; 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
303 int newMinHeight = minHeight - (ignorePadding ? 0 : yPaddingDips); in updateAppWidgetSize()
DAppWidgetManager.java1075 info.minHeight = TypedValue.complexToDimensionPixelSize(info.minHeight, in convertSizesToPixels()
DAppWidgetHost.java386 appWidget.minHeight = in onProviderChanged()
387 TypedValue.complexToDimensionPixelSize(appWidget.minHeight, 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()
220 || bitmap.getHeight() < minHeight in acquireAndValidateBitmap()
/frameworks/support/v7/cardview/src/android/support/v7/widget/
DCardView.java204 final int minHeight = (int) Math.ceil(IMPL.getMinHeight(mCardViewDelegate)); in onMeasure() local
205 heightMeasureSpec = MeasureSpec.makeMeasureSpec(Math.max(minHeight, in onMeasure()
266 public void setMinimumHeight(int minHeight) { in setMinimumHeight() argument
267 mUserSetMinHeight = minHeight; in setMinimumHeight()
268 super.setMinimumHeight(minHeight); in setMinimumHeight()
/frameworks/base/core/java/android/content/pm/
DActivityInfo.java948 dest.writeInt(windowLayout.minHeight); in writeToParcel()
1005 int minWidth, int minHeight) { in WindowLayout() argument
1012 this.minHeight = minHeight; in WindowLayout()
1022 minHeight = source.readInt(); in WindowLayout()
1086 public final int minHeight; field in ActivityInfo.WindowLayout
/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/support/core-ui/java/android/support/v4/view/
DPagerTitleStrip.java453 final int minHeight = getMinHeight(); in onMeasure() local
454 height = Math.max(minHeight, textHeight + heightPadding); in onMeasure()
472 int minHeight = 0; in getMinHeight() local
475 minHeight = bg.getIntrinsicHeight(); in getMinHeight()
477 return minHeight; in getMinHeight()
/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
117 <code>minHeight</code> constraints.</strong> As we discuss in <a href="#design">Designing Widget
131 <code>minHeight</code>)</small></th>
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
194 <li><code>minHeight</code> = 48dp + (2 &times; 4dp) = <strong>56dp</strong></li>
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/base/services/core/java/com/android/server/am/
DTaskRecord.java335 boolean userSetupComplete, int minWidth, int minHeight) { in TaskRecord() argument
376 mMinHeight = minHeight; in TaskRecord()
486 mMinHeight = info.windowLayout.minHeight; in setMinDimensions()
1251 int minHeight = INVALID_MIN_SIZE; in restoreFromXml() local
1322 minHeight = Integer.parseInt(attrValue); in restoreFromXml()
1383 realActivitySuspended, userSetupComplete, minWidth, minHeight); in restoreFromXml()
1399 int minHeight = mMinHeight; in adjustForMinimalTaskDimensions() local
1407 if (minHeight == INVALID_MIN_SIZE) { in adjustForMinimalTaskDimensions()
1408 minHeight = mService.mStackSupervisor.mDefaultMinSizeOfResizeableTask; in adjustForMinimalTaskDimensions()
1412 final boolean adjustHeight = minHeight > bounds.height(); in adjustForMinimalTaskDimensions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
DStackScrollAlgorithm.java467 int childHeight, int minHeight, AmbientState ambientState) { in clampPositionToBottomStackStart() argument
474 if (newHeight < minHeight) { in clampPositionToBottomStackStart()
475 newHeight = minHeight; in clampPositionToBottomStackStart()
476 childViewState.yTranslation = bottomStackStart - minHeight; in clampPositionToBottomStackStart()
/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/support/design/src/android/support/design/widget/
DAppBarLayout.java474 final int minHeight = ViewCompat.getMinimumHeight(this); in getMinimumHeightForVisibleOverlappingContent() local
475 if (minHeight != 0) { in getMinimumHeightForVisibleOverlappingContent()
477 return (minHeight * 2) + topInset; in getMinimumHeightForVisibleOverlappingContent()
1227 final int minHeight = ViewCompat.getMinimumHeight(child); in updateAppBarLayoutDrawableState() local
1233 collapsed = -offset >= child.getBottom() - minHeight - layout.getTopInset(); in updateAppBarLayoutDrawableState()
1237 collapsed = -offset >= child.getBottom() - minHeight - layout.getTopInset(); in updateAppBarLayoutDrawableState()
DCollapsingToolbarLayout.java1073 final int minHeight = ViewCompat.getMinimumHeight(this); in getScrimVisibleHeightTrigger() local
1074 if (minHeight > 0) { in getScrimVisibleHeightTrigger()
1076 return Math.min((minHeight * 2) + insetTop, getHeight()); in getScrimVisibleHeightTrigger()
/frameworks/native/opengl/tests/hwc/
DhwcCommit.cpp248 uint32_t minHeight; member
256 uint32_t minHeight; member
484 measPtr->df.minHeight = dfMinHeight(format->format); in main()
485 testPrintI(" dfMinHeight: %u", measPtr->df.minHeight); in main()
503 measPtr->sc.minHeight = scMinHeight(format->format, measPtr->df.minDim); in main()
504 testPrintI(" scMinHeight: %u", measPtr->sc.minHeight); in main()
/frameworks/base/docs/html/guide/topics/appwidgets/
Dhost.jd277 {@link android.appwidget.AppWidgetProviderInfo#minHeight android:minHeight}).
281 cells that satisfy the {@code minWidth} and {@code minHeight} constraints.</li>
/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()
2386 minHeight = Math.min(minH, minHeight); in applyLevelLimits()
2395 minWidth, minHeight, in applyLevelLimits()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1698 final int minHeight = r.mHeight < 0 ? r.mDrawable.getIntrinsicHeight() : r.mHeight;
1699 final int h = minHeight < 0 ? -1 : minHeight + r.mInsetT + r.mInsetB + padT + padB;
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DToolbar.java1722 final int minHeight = ViewCompat.getMinimumHeight(this); in onLayout() local
1723 final int alignmentHeight = minHeight >= 0 ? Math.min(minHeight, b - t) : 0; in onLayout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DExpandableNotificationRow.java308 int minHeight = customView && beforeN && !mIsSummaryWithChildren ? in updateLimitsForView()
315 layout.setHeights(minHeight, headsUpheight, mNotificationMaxHeight); in updateLimitsForView()
/frameworks/base/docs/html/guide/topics/ui/
Dmulti-window.jd262 <code>android:minHeight</code>, <code>android:minWidth</code>
284 android:minHeight="450dp"
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationPanelView.java1384 int minHeight = (int) (mQsMinExpansionHeight + getOverExpansionAmount()); in getMaxPanelHeight() local
1385 min = Math.max(min, minHeight); in getMaxPanelHeight()

12