Home
last modified time | relevance | path

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

/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java313 float minWallpaperZoom = in cropAndSetWallpaperBitmapInRotationStatic() local
319 Point scaledCenter = new Point((int) (minWallpaperZoom * centerPosition.x), in cropAndSetWallpaperBitmapInRotationStatic()
320 (int) (minWallpaperZoom * centerPosition.y)); in cropAndSetWallpaperBitmapInRotationStatic()
325 Rect cropRect = WallpaperCropUtils.calculateCropRect(mAppContext, minWallpaperZoom, in cropAndSetWallpaperBitmapInRotationStatic()
330 (int) Math.floor((float) cropRect.left / minWallpaperZoom), in cropAndSetWallpaperBitmapInRotationStatic()
331 (int) Math.floor((float) cropRect.top / minWallpaperZoom), in cropAndSetWallpaperBitmapInRotationStatic()
332 (int) Math.floor((float) cropRect.right / minWallpaperZoom), in cropAndSetWallpaperBitmapInRotationStatic()
333 (int) Math.floor((float) cropRect.bottom / minWallpaperZoom)); in cropAndSetWallpaperBitmapInRotationStatic()