Searched refs:outMetrics (Results 1 – 2 of 2) sorted by relevance
67 protected void getMetrics(DisplayMetrics outMetrics) { in getMetrics() argument69 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 …]
94 DisplayMetrics outMetrics = new DisplayMetrics(); in displayGetRealMetrics() local95 d.getRealMetrics(outMetrics); in displayGetRealMetrics()96 return outMetrics; in displayGetRealMetrics()