/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/ |
D | Size.kt | 65 minHeight = height, in Modifier() 82 minHeight = height, in size() 98 private val minHeight: Density.() -> Int = SizeUnspecified, constant in com.android.compose.modifiers.SizeModifier 126 val minHeight = constant 127 if (minHeight != SizeUnspecified) { 128 minHeight().coerceAtMost(maxHeight).coerceAtLeast(0).let { in <lambda>() 136 minHeight = minHeight, 164 if (minHeight != SizeUnspecified) { in measure() 165 targetConstraints.minHeight in measure() 167 constraints.minHeight.coerceAtMost(targetConstraints.maxHeight) in measure() [all …]
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | SizeVoteTest.kt | 47 summary.minHeight = 200 in updates size if width and height not set and display resolution voting disabled() 54 assertThat(summary.minHeight).isEqualTo(MIN_HEIGHT) in updates size if width and height not set and display resolution voting disabled() 63 summary.minHeight = 200 in does not update size if width set and display resolution voting disabled() 70 assertThat(summary.minHeight).isEqualTo(200) in does not update size if width set and display resolution voting disabled() 79 summary.minHeight = 200 in does not update size if height set and display resolution voting disabled() 86 assertThat(summary.minHeight).isEqualTo(200) in does not update size if height set and display resolution voting disabled() 152 fun `updates minHeight if summary has less and display resolution voting enabled`() { in updates minHeight if summary has less and display resolution voting enabled() 155 summary.minHeight = 1150 in updates minHeight if summary has less and display resolution voting enabled() 159 assertThat(summary.minHeight).isEqualTo(MIN_HEIGHT) in updates minHeight if summary has less and display resolution voting enabled() 163 fun `does not update minHeight if summary has more and display resolution voting enabled`() { in does not update minHeight if summary has more and display resolution voting enabled() [all …]
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | SizeVote.java | 45 SizeVote(int width, int height, int minWidth, int minHeight) { in SizeVote() argument 49 mMinHeight = minHeight; in SizeVote() 62 summary.minHeight = mMinHeight; in updateSummary() 67 summary.minHeight = Math.max(summary.minHeight, mMinHeight); in updateSummary()
|
D | VoteSummary.java | 41 public int minHeight; field in VoteSummary 369 || mode.getPhysicalHeight() < minHeight in updateSummaryWithBestAllowedResolution() 394 minHeight = 0; in reset() 418 + ", minHeight=" + minHeight in toString()
|
D | Vote.java | 198 static Vote forSizeAndPhysicalRefreshRatesRange(int minWidth, int minHeight, in forSizeAndPhysicalRefreshRatesRange() argument 202 new SizeVote(width, height, minWidth, minHeight), in forSizeAndPhysicalRefreshRatesRange()
|
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/nestedscroll/ |
D | LargeTopAppBarNestedScrollConnection.kt | 39 minHeight: () -> Float, in <lambda>() 47 offsetAvailable < 0 && offsetBeforeStart == 0f && height() > minHeight() in <lambda>() 57 minHeight() < currentHeight && currentHeight < maxHeight() in <lambda>() 68 val amountLeft = minHeight() - currentHeight in <lambda>()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ButtonBarLayout.java | 110 int minHeight = 0; in onMeasure() local 115 minHeight += getPaddingTop() + firstButton.getMeasuredHeight() in onMeasure() 120 minHeight += getChildAt(secondVisible).getPaddingTop() in onMeasure() 124 minHeight += getPaddingBottom(); in onMeasure() 128 if (getMinimumHeight() != minHeight) { in onMeasure() 129 setMinimumHeight(minHeight); in onMeasure()
|
D | AlertDialogLayout.java | 258 final int minHeight = v.getMinimumHeight(); in resolveMinimumHeight() local 259 if (minHeight > 0) { in resolveMinimumHeight() 260 return minHeight; in resolveMinimumHeight()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
D | ButtonBarLayout.java | 108 int minHeight = 0; in onMeasure() local 113 minHeight += getPaddingTop() + firstButton.getMeasuredHeight() in onMeasure() 118 minHeight += getChildAt(secondVisible).getPaddingTop() in onMeasure() 122 minHeight += getPaddingBottom(); in onMeasure() 126 if (getMinimumHeight() != minHeight) { in onMeasure() 127 setMinimumHeight(minHeight); in onMeasure()
|
D | AlertDialogLayout.java | 257 final int minHeight = v.getMinimumHeight(); in resolveMinimumHeight() local 258 if (minHeight > 0) { in resolveMinimumHeight() 259 return minHeight; in resolveMinimumHeight()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/pip/ |
D | PhoneSizeSpecSource.kt | 200 var minHeight = Math.round(maxSize.height * mPreferredMinimumSizePercent) in getMinSize() variable 204 minHeight = Math.max(minHeight, mDefaultMinSize) in getMinSize() 205 minWidth = Math.round(minHeight * aspectRatio) in getMinSize() 208 minHeight = Math.round(minWidth / aspectRatio) in getMinSize() 210 return Size(minWidth, minHeight) in getMinSize()
|
D | LegacySizeSpecSource.kt | 129 val minHeight: Int in getMinSize() constant 133 minHeight = (minWidth / aspectRatio).toInt() in getMinSize() 135 minHeight = Math.min(getDefaultSize(aspectRatio).height.toFloat(), in getMinSize() 137 minWidth = (minHeight * aspectRatio).toInt() in getMinSize() 139 return Size(minWidth, minHeight) in getMinSize()
|
/frameworks/base/core/java/android/appwidget/ |
D | AppWidgetProviderInfo.java | 165 public int minHeight; field in AppWidgetProviderInfo 390 this.minHeight = in.readInt(); in AppWidgetProviderInfo() 517 out.writeInt(this.minHeight); in writeToParcel() 550 that.minHeight = this.minHeight; in clone() 605 minHeight = TypedValue.complexToDimensionPixelSize(minHeight, displayMetrics); in updateDimensions()
|
D | AppWidgetHostView.java | 368 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument 370 updateAppWidgetSize(newOptions, minWidth, minHeight, maxWidth, maxHeight, false); in updateAppWidgetSize() 400 float minHeight = Float.MAX_VALUE; in updateAppWidgetSize() local 409 minHeight = Math.min(minHeight, paddedSize.getHeight()); in updateAppWidgetSize() 419 options.putInt(AppWidgetManager.OPTION_APPWIDGET_MIN_HEIGHT, (int) minHeight); in updateAppWidgetSize() 430 public void updateAppWidgetSize(Bundle newOptions, int minWidth, int minHeight, int maxWidth, in updateAppWidgetSize() argument 443 int newMinHeight = minHeight - (ignorePadding ? 0 : yPaddingDips); in updateAppWidgetSize()
|
/frameworks/base/core/java/android/content/pm/ |
D | ActivityInfo.java | 2311 int gravity, int minWidth, int minHeight) { 2312 this(width, widthFraction, height, heightFraction, gravity, minWidth, minHeight, 2318 int gravity, int minWidth, int minHeight, String windowLayoutAffinity) { 2325 this.minHeight = minHeight; 2337 minHeight = source.readInt(); 2402 public final int minHeight; 2429 dest.writeInt(minHeight);
|
/frameworks/base/core/java/android/app/ |
D | TaskInfo.java | 241 public int minHeight; field in TaskInfo 489 minHeight = source.readInt(); in readFromParcel() 536 dest.writeInt(minHeight); in writeToParcel() 565 + " minHeight=" + minHeight in toString()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 457 AString minWidth, minHeight; in codecHandlesFormat() local 464 if (!splitString(minSize, "x", &minWidth, &minHeight)) { in codecHandlesFormat() 465 if (!splitString(minSize, "*", &minWidth, &minHeight)) { in codecHandlesFormat() 479 int minH = strtol(minHeight.c_str(), NULL, 10); in codecHandlesFormat()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/statusbar/ui/composable/ |
D | StatusBar.kt | 37 modifier = modifier.fillMaxWidth().defaultMinSize(minHeight = 48.dp).padding(4.dp), in StatusBar()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LaunchParamsModifierTestsBase.java | 196 WindowLayoutBuilder setMinHeight(int minHeight) { in setMinHeight() argument 197 mMinHeight = minHeight; in setMinHeight()
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
D | FrameSequenceDrawable.java | 38 public abstract Bitmap acquireBitmap(int minWidth, int minHeight); in acquireBitmap() argument
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/dialog/ui/composable/ |
D | AlertDialogContent.kt | 69 Modifier.defaultMinSize(minWidth = defaultSize, minHeight = defaultSize), in <lambda>() 92 Box(Modifier.defaultMinSize(minHeight = 48.dp)) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationShelfTest.kt | 166 whenever(expandableView.minHeight).thenReturn(20) in getAmountInShelf_lastViewBelowShelf_completelyInShelf() 196 whenever(expandableView.minHeight).thenReturn(20) in getAmountInShelf_lastViewAlmostBelowShelf_completelyInShelf() 226 whenever(expandableView.minHeight).thenReturn(25) in getAmountInShelf_lastViewHalfClippedByShelf_halfInShelf() 256 whenever(expandableView.minHeight).thenReturn(10) in getAmountInShelf_lastViewAboveShelf_notInShelf()
|
/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/ |
D | ParsedActivityTest.kt | 75 ActivityInfo.WindowLayout::minHeight in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DragPositioningCallbackUtility.java | 186 return windowDecoration.mTaskInfo.minHeight < 0 ? getDefaultMinHeight(displayController, in getMinHeight() 188 : windowDecoration.mTaskInfo.minHeight; in getMinHeight()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/ |
D | NotificationHeadsUpHeight.kt | 73 constraints.copy(minHeight = contentHeight, maxHeight = contentHeight) in measure()
|