Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java70 int minDim = Math.max(minDims.x, minDims.y); in getDefaultCropSurfaceSize() local
76 minDim = Math.min(realSize.x, realSize.y); in getDefaultCropSurfaceSize()
81 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in getDefaultCropSurfaceSize()
84 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in getDefaultCropSurfaceSize()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DWallpaperUtils.java136 int minDim = Math.min(realSize.x, realSize.y); in getDefaultWallpaperSize() local
142 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in getDefaultWallpaperSize()
145 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in getDefaultWallpaperSize()