Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperUtils.java42 … final Point defaultWallpaperSize = WallpaperUtils.getDefaultWallpaperSize(res, windowManager); in suggestWallpaperDimension() local
52 savedWidth = defaultWallpaperSize.x; in suggestWallpaperDimension()
53 savedHeight = defaultWallpaperSize.y; in suggestWallpaperDimension()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DWallpaperCropActivity.java389 Point defaultWallpaperSize = WallpaperUtils.getDefaultWallpaperSize(getResources(), in cropImageAndSetWallpaper()
425 float maxExtraSpace = defaultWallpaperSize.x / cropScale - cropRect.width(); in cropImageAndSetWallpaper()
441 cropRect.bottom = cropRect.top + defaultWallpaperSize.y / cropScale; in cropImageAndSetWallpaper()
444 defaultWallpaperSize.y / cropScale - cropRect.height(); in cropImageAndSetWallpaper()