Home
last modified time | relevance | path

Searched refs:intrinsicWidth (Results 1 – 8 of 8) sorted by relevance

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIntrinsicSizeFrameLayout.java38 private int intrinsicWidth = 0; field in IntrinsicSizeFrameLayout
62 intrinsicWidth = in init()
70 getIntrinsicMeasureSpec(widthMeasureSpec, intrinsicWidth), in onMeasure()
DIllustration.java154 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/core/java/com/android/internal/app/
DSimpleIconFactory.java317 int intrinsicWidth = icon.getIntrinsicWidth(); in createIconBitmap() local
319 if (intrinsicWidth > 0 && intrinsicHeight > 0) { in createIconBitmap()
321 final float ratio = (float) intrinsicWidth / intrinsicHeight; in createIconBitmap()
322 if (intrinsicWidth > intrinsicHeight) { in createIconBitmap()
324 } else if (intrinsicHeight > intrinsicWidth) { in createIconBitmap()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/
DThemedBatteryDrawable.kt72 private var intrinsicWidth: Int in <lambda>() variable
157 intrinsicWidth = (Companion.WIDTH * density).toInt() in <lambda>()
309 return intrinsicWidth in <lambda>()
/frameworks/base/graphics/java/android/graphics/drawable/
DDrawable.java1124 final int intrinsicWidth = getIntrinsicWidth(); in getMinimumWidth() local
1125 return intrinsicWidth > 0 ? intrinsicWidth : 0; in getMinimumWidth()
DLayerDrawable.java1619 int intrinsicWidth, int intrinsicHeight) {
1639 if (width < 0 && intrinsicWidth < 0) {
DVectorDrawable.java665 float intrinsicWidth = mVectorState.mBaseWidth; in getPixelSize() local
669 float scaleX = viewportWidth / intrinsicWidth; in getPixelSize()
/frameworks/base/core/java/android/widget/
DProgressBar.java2027 final int intrinsicWidth = mIndeterminateDrawable.getIntrinsicWidth(); in updateDrawableBounds() local
2029 final float intrinsicAspect = (float) intrinsicWidth / intrinsicHeight; in updateDrawableBounds()