Searched refs:outMetrics (Results 1 – 3 of 3) sorted by relevance
84 private void writeDisplayMetrics(Display display, DisplayMetrics outMetrics) { in writeDisplayMetrics() argument85 display.getMetrics(outMetrics); in writeDisplayMetrics()
176 DisplayMetrics outMetrics = new DisplayMetrics(); in getScreenImageSize() local177 getWindowManager().getDefaultDisplay().getMetrics(outMetrics); in getScreenImageSize()178 return (int) Math.max(outMetrics.heightPixels, outMetrics.widthPixels); in getScreenImageSize()
911 DisplayMetrics outMetrics = new DisplayMetrics(); in getScreenImageSize() local912 getWindowManager().getDefaultDisplay().getMetrics(outMetrics); in getScreenImageSize()913 return Math.max(outMetrics.heightPixels, outMetrics.widthPixels); in getScreenImageSize()