Searched refs:displaySize (Results 1 – 4 of 4) sorted by relevance
276 Point displaySize = new Point(); in isDefaultToPortrait() local277 currentDisplay.getSize(displaySize); in isDefaultToPortrait()281 naturalWidth = displaySize.x; in isDefaultToPortrait()282 naturalHeight = displaySize.y; in isDefaultToPortrait()284 naturalWidth = displaySize.y; in isDefaultToPortrait()285 naturalHeight = displaySize.x; in isDefaultToPortrait()
194 String displaySize; in byteCountToDisplaySize() local197 displaySize = String.valueOf(size / ONE_GB) + " GB"; in byteCountToDisplaySize()199 displaySize = String.valueOf(size / ONE_MB) + " MB"; in byteCountToDisplaySize()201 displaySize = String.valueOf(size / ONE_KB) + " KB"; in byteCountToDisplaySize()203 displaySize = String.valueOf(size) + " bytes"; in byteCountToDisplaySize()205 return displaySize; in byteCountToDisplaySize()
267 final Point displaySize = new Point(); in measureSnackBar() local268 getWindowManager(snackBar.getContext()).getDefaultDisplay().getSize(displaySize); in measureSnackBar()270 MeasureSpec.makeMeasureSpec(displaySize.x, MeasureSpec.EXACTLY), in measureSnackBar()273 MeasureSpec.makeMeasureSpec(displaySize.y, MeasureSpec.EXACTLY), in measureSnackBar()
352 Point displaySize = new Point(); in cropImageAndSetWallpaper() local353 d.getSize(displaySize); in cropImageAndSetWallpaper()354 boolean isPortrait = displaySize.x < displaySize.y; in cropImageAndSetWallpaper()