Home
last modified time | relevance | path

Searched refs:scaledDensity (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/java/android/util/
DDisplayMetrics.java344 public float scaledDensity; field in DisplayMetrics
421 scaledDensity = o.scaledDensity; in setTo()
439 scaledDensity = density; in setToDefaults()
446 noncompatScaledDensity = scaledDensity; in setToDefaults()
465 && scaledDensity == other.scaledDensity in equals()
502 ", height=" + heightPixels + ", scaledDensity=" + scaledDensity + in toString()
DTypedValue.java436 return value * metrics.scaledDensity; in applyDimension()
481 if (metrics.scaledDensity == 0) { in deriveDimension()
484 return pixelValue / metrics.scaledDensity; in deriveDimension()
/frameworks/base/core/tests/coretests/src/android/util/
DTypedValueTest.kt168 metrics.scaledDensity = fontScale * metrics.density in <lambda>()
188 metrics.scaledDensity = fontScale * metrics.density in <lambda>()
201 metrics.scaledDensity = fontScale * metrics.density in <lambda>()
213 metrics.scaledDensity = fontScale * metrics.density in <lambda>()
225 metrics.scaledDensity = 0f in <lambda>()
245 metrics.scaledDensity = 0f in <lambda>()
/frameworks/base/core/java/com/android/internal/widget/
DNotificationMaxHeightFrameLayout.java77 final float factor = Math.max(1.0f, context.getResources().getDisplayMetrics().scaledDensity in getFontScaledHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationUtils.java74 float factor = Math.max(1.0f, context.getResources().getDisplayMetrics().scaledDensity / in getFontScaledHeight()
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/
DTestWallpaper.java110 tpaint.setTextSize(18 * getResources().getDisplayMetrics().scaledDensity); in onCreate()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java144 metrics.scaledDensity = metrics.noncompatScaledDensity = metrics.density; in init()
/frameworks/base/core/java/android/content/res/
DCompatibilityInfo.java609 inoutDm.scaledDensity = inoutDm.noncompatScaledDensity * densityInvertScale; in scaleDisplayMetrics()
DResourcesImpl.java523 mMetrics.scaledDensity = mMetrics.density * in updateConfigurationImpl()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java283 float textHeight = mTextHeightRaw * getResources().getDisplayMetrics().scaledDensity; in getCharBounds()
/frameworks/base/core/java/android/view/
DDisplayInfo.java818 outMetrics.scaledDensity = outMetrics.noncompatScaledDensity = outMetrics.density; in getMetricsWithSize()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt31450 field public float scaledDensity;
/frameworks/base/core/api/
Dcurrent.txt49851 field @Deprecated public float scaledDensity;