Home
last modified time | relevance | path

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

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java55 private Float scaledDensity; field in ShadowDisplay
71 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() argument
225 this.scaledDensity = scaledDensity; in setScaledDensity()
412 scaledDensity = displayMetrics.densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in configureForJBOnly()
/external/deqp/framework/platform/android/
DtcuAndroidUtil.hpp61 float scaledDensity; member
72 , scaledDensity (0.0f) in DisplayMetrics()
DtcuAndroidUtil.cpp450 metrics.scaledDensity = getField<float> (env, *nativeMetrics, "scaledDensity"); in getDisplayMetrics()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayTest.java51 assertEquals(1.6f, metrics.scaledDensity, 0.05); in shouldProvideDisplayMetrics()
63 assertEquals(1.6f, metrics.scaledDensity, 0.05); in shouldProvideDisplayMetrics()
DShadowTextViewTest.java455 ApplicationProvider.getApplicationContext().getResources().getDisplayMetrics().scaledDensity = in setTextSize_shouldHandleSp()
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ui/
DViewInflater.java405 return mMetrics.scaledDensity * size; in getFontSize()