Searched refs:visibleRawWallpaperRect (Results 1 – 2 of 2) sorted by relevance
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperCropUtils.java | 180 Rect visibleRawWallpaperRect, float wallpaperZoom) { in calculateCropRect() argument 183 int scrollX = (int) (visibleRawWallpaperRect.left * wallpaperZoom); in calculateCropRect() 184 int scrollY = (int) (visibleRawWallpaperRect.top * wallpaperZoom); in calculateCropRect() 186 visibleRawWallpaperRect.set(0, 0, scaledWallpaperWidth, scaledWallpaperHeight); in calculateCropRect() 201 cropRect.left = Math.max(cropRect.left - extraWidth, visibleRawWallpaperRect.left); in calculateCropRect() 203 cropRect.right = Math.min(cropRect.right + extraWidth, visibleRawWallpaperRect.right); in calculateCropRect() 208 visibleRawWallpaperRect.top, in calculateCropRect() 211 visibleRawWallpaperRect.bottom, in calculateCropRect()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperSetter.java | 87 Rect visibleRawWallpaperRect = in setCurrentWallpaper() 92 dimensions, visibleRawWallpaperRect, wallpaperScale); in setCurrentWallpaper()
|