Searched refs:minDim (Results 1 – 2 of 2) sorted by relevance
102 int minDim = Math.max(minDims.x, minDims.y); in getDefaultWallpaperSize() local108 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()
845 final int minDim = Math.min(minDims.x, minDims.y); in setWallpaperDimension() local850 mWallpaperWidth = (int) (maxDim * wallpaperTravelToScreenWidthRatio(maxDim, minDim)); in setWallpaperDimension()853 mWallpaperWidth = Math.max((int) (minDim * WALLPAPER_SCREENS_SPAN), maxDim); in setWallpaperDimension()