Searched refs:outMetrics (Results 1 – 3 of 3) sorted by relevance
312 final DisplayMetrics outMetrics = new DisplayMetrics (); in onCreateView() local313 display.getRealMetrics(outMetrics); // real metrics include the navigation Bar in onCreateView()315 final float numColumns = outMetrics.widthPixels / in onCreateView()
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()