diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/BitmapCropBehaviour.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/BitmapCropBehaviour.java index 33da834a56..2c6a160b50 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/BitmapCropBehaviour.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/BitmapCropBehaviour.java @@ -85,7 +85,7 @@ public Bitmap crop(int targetMaxSide) { Matrix imageInverse = new Matrix(); MatrixUtils.inverse(mImageMatrix, imageInverse); // By inverting the matrix we will effectively "divide" our rectangle by it, thus getting - // its two points on the bitmap's surface. Math be cool indeed. + // its two points on the surface of the bitmap. Math be cool indeed. Rect targetRect = new Rect(); MatrixUtils.transformRect(mHostView.mSelectionRect, targetRect, imageInverse); // Pick the best dimensions for the crop result, shrinking the target if necessary. diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/RegionDecoderCropBehaviour.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/RegionDecoderCropBehaviour.java index 9b545713d0..b63ac46fc7 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/RegionDecoderCropBehaviour.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/imgcropper/RegionDecoderCropBehaviour.java @@ -39,7 +39,7 @@ public class RegionDecoderCropBehaviour extends BitmapCropBehaviour { }; /** - * Decoade a region from this Bitmap based on a subsection in the View coordinate space. + * Decode a region from this Bitmap based on a subsection in the View coordinate space. * @param targetDrawRect an output Rect. This Rect is the position at which the region must * be rendered within subsectionRect. * @param subsectionRect the subsection in View coordinate space. Note that this Rect is modified @@ -47,7 +47,7 @@ public class RegionDecoderCropBehaviour extends BitmapCropBehaviour { * @return null if the resulting region is bigger than the original image * null if the resulting region is completely out of the original image bounds * null if the resulting region is smaller than 16x16 pixels - * null if a region decoding error has occured + * null if a region decoding error has occurred * the resulting Bitmap region otherwise. */ private Bitmap decodeRegionBitmap(RectF targetDrawRect, RectF subsectionRect) {