Searched refs:scaledDensity (Results 1 – 13 of 13) sorted by relevance
344 public float scaledDensity; field in DisplayMetrics421 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()
436 return value * metrics.scaledDensity; in applyDimension()481 if (metrics.scaledDensity == 0) { in deriveDimension()484 return pixelValue / metrics.scaledDensity; in deriveDimension()
168 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>()
77 final float factor = Math.max(1.0f, context.getResources().getDisplayMetrics().scaledDensity in getFontScaledHeight()
74 float factor = Math.max(1.0f, context.getResources().getDisplayMetrics().scaledDensity / in getFontScaledHeight()
110 tpaint.setTextSize(18 * getResources().getDisplayMetrics().scaledDensity); in onCreate()
144 metrics.scaledDensity = metrics.noncompatScaledDensity = metrics.density; in init()
609 inoutDm.scaledDensity = inoutDm.noncompatScaledDensity * densityInvertScale; in scaleDisplayMetrics()
523 mMetrics.scaledDensity = mMetrics.density * in updateConfigurationImpl()
283 float textHeight = mTextHeightRaw * getResources().getDisplayMetrics().scaledDensity; in getCharBounds()
818 outMetrics.scaledDensity = outMetrics.noncompatScaledDensity = outMetrics.density; in getMetricsWithSize()
31450 field public float scaledDensity;
49851 field @Deprecated public float scaledDensity;