Searched refs:scaledDensity (Results 1 – 6 of 6) sorted by relevance
55 private Float scaledDensity; field in ShadowDisplay71 outMetrics.scaledDensity = scaledDensity; in getMetrics()78 if (scaledDensity != null) { in getMetrics()79 outMetrics.scaledDensity = scaledDensity; in getMetrics()99 if (scaledDensity != null) { in getRealMetrics()100 outMetrics.scaledDensity = scaledDensity; in getRealMetrics()224 public void setScaledDensity(float scaledDensity) { in setScaledDensity() argument225 this.scaledDensity = scaledDensity; in setScaledDensity()412 scaledDensity = displayMetrics.densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in configureForJBOnly()
61 float scaledDensity; member72 , scaledDensity (0.0f) in DisplayMetrics()
450 metrics.scaledDensity = getField<float> (env, *nativeMetrics, "scaledDensity"); in getDisplayMetrics()
51 assertEquals(1.6f, metrics.scaledDensity, 0.05); in shouldProvideDisplayMetrics()63 assertEquals(1.6f, metrics.scaledDensity, 0.05); in shouldProvideDisplayMetrics()
455 ApplicationProvider.getApplicationContext().getResources().getDisplayMetrics().scaledDensity = in setTextSize_shouldHandleSp()
405 return mMetrics.scaledDensity * size; in getFontSize()