Searched refs:wallpaperZoom (Results 1 – 2 of 2) sorted by relevance
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | WallpaperCropUtils.java | 193 public static Rect calculateCropRect(Context context, float wallpaperZoom, Point wallpaperSize, in calculateCropRect() argument 196 int scaledWallpaperWidth = Math.round(wallpaperSize.x * wallpaperZoom); in calculateCropRect() 197 int scaledWallpaperHeight = Math.round(wallpaperSize.y * wallpaperZoom); in calculateCropRect() 288 Rect visibleRawWallpaperRect, float wallpaperZoom) { in calculateCropRect() argument 293 visibleRawWallpaperRect, wallpaperZoom); in calculateCropRect() 307 Point rawWallpaperSize, Rect visibleRawWallpaperRect, float wallpaperZoom) { in calculateCropRect() argument 308 int scrollX = (int) (visibleRawWallpaperRect.left * wallpaperZoom); in calculateCropRect() 309 int scrollY = (int) (visibleRawWallpaperRect.top * wallpaperZoom); in calculateCropRect() 311 return calculateCropRect(context, wallpaperZoom, rawWallpaperSize, cropSize, hostViewSize, in calculateCropRect()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | ImagePreviewFragment.java | 460 float wallpaperZoom = mFullResImageView.getScale(); in calculateCropRect() local 476 cropSurfaceSize, mRawWallpaperSize, visibleFileRect, wallpaperZoom); in calculateCropRect()
|