Loading core/java/android/app/WallpaperManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -461,7 +461,7 @@ public class WallpaperManager { float right = left + outWidth; float top = (inHeight - outHeight) * verticalAlignment; float bottom = top + outHeight; cropRectF = new RectF(bottom, left, right, top); cropRectF = new RectF(left, top, right, bottom); } Rect roundedTrueCrop = new Rect(); cropRectF.roundOut(roundedTrueCrop); Loading Loading
core/java/android/app/WallpaperManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -461,7 +461,7 @@ public class WallpaperManager { float right = left + outWidth; float top = (inHeight - outHeight) * verticalAlignment; float bottom = top + outHeight; cropRectF = new RectF(bottom, left, right, top); cropRectF = new RectF(left, top, right, bottom); } Rect roundedTrueCrop = new Rect(); cropRectF.roundOut(roundedTrueCrop); Loading