Home
last modified time | relevance | path

Searched refs:outMetrics (Results 1 – 2 of 2) sorted by relevance

/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowDisplay.java67 protected void getMetrics(DisplayMetrics outMetrics) { in getMetrics() argument
69 outMetrics.density = densityDpi * DisplayMetrics.DENSITY_DEFAULT_SCALE; in getMetrics()
70 outMetrics.densityDpi = densityDpi; in getMetrics()
71 outMetrics.scaledDensity = scaledDensity; in getMetrics()
72 outMetrics.widthPixels = width; in getMetrics()
73 outMetrics.heightPixels = height; in getMetrics()
74 outMetrics.xdpi = xdpi; in getMetrics()
75 outMetrics.ydpi = ydpi; in getMetrics()
77 directlyOn(realObject, Display.class).getMetrics(outMetrics); in getMetrics()
79 outMetrics.scaledDensity = scaledDensity; in getMetrics()
[all …]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
DDisplayFacade.java94 DisplayMetrics outMetrics = new DisplayMetrics(); in displayGetRealMetrics() local
95 d.getRealMetrics(outMetrics); in displayGetRealMetrics()
96 return outMetrics; in displayGetRealMetrics()