Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperUtils.java102 int minDim = Math.max(minDims.x, minDims.y); in getDefaultWallpaperSize() local
108 minDim = Math.min(realSize.x, realSize.y); in getDefaultWallpaperSize()
115 defaultWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in getDefaultWallpaperSize()
118 defaultWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in getDefaultWallpaperSize()
/packages/apps/Launcher2/src/com/android/launcher2/
DWorkspace.java845 final int minDim = Math.min(minDims.x, minDims.y); in setWallpaperDimension() local
850 mWallpaperWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in setWallpaperDimension()
853 mWallpaperWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in setWallpaperDimension()