/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | IntrinsicSizeFrameLayout.java | 38 private int intrinsicWidth = 0; field in IntrinsicSizeFrameLayout 62 intrinsicWidth = in init() 70 getIntrinsicMeasureSpec(widthMeasureSpec, intrinsicWidth), in onMeasure()
|
D | Illustration.java | 154 int intrinsicWidth = illustration.getIntrinsicWidth(); in onLayout() local 159 scale = layoutWidth / (float) intrinsicWidth; in onLayout() 160 intrinsicWidth = layoutWidth; in onLayout() 165 intrinsicWidth, in onLayout()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/ui/graphics/painter/ |
D | DrawablePainter.kt | 82 if (drawable.intrinsicWidth >= 0 && drawable.intrinsicHeight >= 0) { 84 drawable.setBounds(0, 0, drawable.intrinsicWidth, drawable.intrinsicHeight) 167 intrinsicWidth >= 0 && intrinsicHeight >= 0 -> { 168 Size(width = intrinsicWidth.toFloat(), height = intrinsicHeight.toFloat())
|
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/compose/ |
D | DrawablePainter.kt | 91 if (drawable.intrinsicWidth >= 0 && drawable.intrinsicHeight >= 0) { 93 drawable.setBounds(0, 0, drawable.intrinsicWidth, drawable.intrinsicHeight) 176 intrinsicWidth >= 0 && intrinsicHeight >= 0 -> { 177 Size(width = intrinsicWidth.toFloat(), height = intrinsicHeight.toFloat())
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/ |
D | AccessorizedBatteryDrawableTest.kt | 37 assertThat(drawable.intrinsicWidth).isEqualTo((BATTERY_WIDTH * density).toInt()) in intrinsicSize_shieldFalse_isBatterySize() 48 assertThat(drawable.intrinsicWidth).isEqualTo((BATTERY_WIDTH_WITH_SHIELD * density).toInt()) in intrinsicSize_shieldTrue_isBatteryPlusShieldSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/ |
D | BatteryAttributionDrawable.kt | 51 val hScale = bounds.width().toFloat() / dr.intrinsicWidth.toFloat() in updateBoundsInner() 55 val dw = scale * dr.intrinsicWidth in updateBoundsInner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/decor/ |
D | RoundedCornerResDelegate.kt | 125 topRoundedSize = Size(it.intrinsicWidth, it.intrinsicHeight) in reloadMeasures() 128 bottomRoundedSize = Size(it.intrinsicWidth, it.intrinsicHeight) in reloadMeasures()
|
D | DebugRoundedCornerDelegate.kt | 125 topRoundedDrawable?.let { topRoundedSize = Size(it.intrinsicWidth, it.intrinsicHeight) } in reloadMeasures() 127 bottomRoundedSize = Size(it.intrinsicWidth, it.intrinsicHeight) in reloadMeasures()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | PlaceHolderDrawable.kt | 12 return PlaceHolderDrawable(other.intrinsicWidth, other.intrinsicHeight) in createFrom()
|
D | BigPictureIconManager.kt | 300 get() = Size(/*width=*/ intrinsicWidth, /*height=*/ intrinsicHeight)
|
/frameworks/base/packages/SystemUI/shared/biometrics/src/com/android/systemui/biometrics/ |
D | Utils.kt | 140 if (intrinsicWidth <= 0 || intrinsicHeight <= 0) { in toBitmap() 144 Bitmap.createBitmap(intrinsicWidth, intrinsicHeight, Bitmap.Config.ARGB_8888) in toBitmap()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | BaseIconFactory.java | 439 int intrinsicWidth = icon.getIntrinsicWidth(); in drawIconBitmap() local 441 if (intrinsicWidth > 0 && intrinsicHeight > 0) { in drawIconBitmap() 443 final float ratio = (float) intrinsicWidth / intrinsicHeight; in drawIconBitmap() 444 if (intrinsicWidth > intrinsicHeight) { in drawIconBitmap() 446 } else if (intrinsicHeight > intrinsicWidth) { in drawIconBitmap()
|
/frameworks/base/tests/Input/src/android/hardware/input/ |
D | KeyboardLayoutPreviewTests.kt | 62 assertEquals(WIDTH, drawable.intrinsicWidth) in testKeyboardLayoutDrawable_hasCorrectDimensions()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | SimpleIconFactory.java | 395 int intrinsicWidth = icon.getIntrinsicWidth(); in createIconBitmap() local 397 if (intrinsicWidth > 0 && intrinsicHeight > 0) { in createIconBitmap() 399 final float ratio = (float) intrinsicWidth / intrinsicHeight; in createIconBitmap() 400 if (intrinsicWidth > intrinsicHeight) { in createIconBitmap() 402 } else if (intrinsicHeight > intrinsicWidth) { in createIconBitmap()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | ThemedBatteryDrawable.kt | 72 private var intrinsicWidth: Int in <lambda>() variable 158 intrinsicWidth = (Companion.WIDTH * density).toInt() in <lambda>() 311 return intrinsicWidth in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/drawable/ |
D | DrawableSizeTest.kt | 56 assertThat(result.intrinsicWidth).isEqualTo(75) in testDownscaleToSize_drawableLargerThanRequirementWithDensity_resized()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/ |
D | TransitioningIconDrawable.kt | 103 (drawable.intrinsicWidth / 2).toFloat(), in drawScaledDrawable()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/drawable/ |
D | DrawableSize.kt | 52 ?: drawable.intrinsicWidth in downscaleToSize()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | BigPictureIconManagerTest.kt | 484 expectedWidth: Int = expectedDrawable.intrinsicWidth, in assertSize() 487 assertThat(drawable.intrinsicWidth).isEqualTo(expectedWidth) in assertSize()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | Drawable.java | 1117 final int intrinsicWidth = getIntrinsicWidth(); in getMinimumWidth() local 1118 return intrinsicWidth > 0 ? intrinsicWidth : 0; in getMinimumWidth()
|
D | LayerDrawable.java | 1619 int intrinsicWidth, int intrinsicHeight) { 1639 if (width < 0 && intrinsicWidth < 0) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/view/ |
D | KeyboardBacklightDialog.kt | 243 intrinsicWidth = diameter in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/graphics/ |
D | ImageLoaderTest.kt | 453 assertThat(actual?.width).isEqualTo(expected.intrinsicWidth) in assertSizeEqualToDrawableSize()
|
/frameworks/base/core/java/android/widget/ |
D | ProgressBar.java | 2117 final int intrinsicWidth = mIndeterminateDrawable.getIntrinsicWidth(); in updateDrawableBounds() local 2119 final float intrinsicAspect = (float) intrinsicWidth / intrinsicHeight; in updateDrawableBounds()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/binder/ |
D | MediaControlViewBinder.kt | 505 val width = drawable.intrinsicWidth in <lambda>()
|