diff options
author | John Hoford <hoford@google.com> | 2013-02-12 11:55:50 -0800 |
---|---|---|
committer | John Hoford <hoford@google.com> | 2013-02-12 12:11:35 -0800 |
commit | c04f50dd1ed5523c21e587bc899e7d3610e68b25 (patch) | |
tree | c968e18872ef3ef9a155f440eef9e3389667f132 /src/com/android/gallery3d/filtershow/filters/ImageFilterRedEye.java | |
parent | 3d3a66695f3d022a71e8b9c77326eb68cd15b31d (diff) | |
download | android_packages_apps_Snap-c04f50dd1ed5523c21e587bc899e7d3610e68b25.tar.gz android_packages_apps_Snap-c04f50dd1ed5523c21e587bc899e7d3610e68b25.tar.bz2 android_packages_apps_Snap-c04f50dd1ed5523c21e587bc899e7d3610e68b25.zip |
refactor quality to be int
Change-Id: I0470abdbe75cf48c5228e80b9dc060ae6f3d8bbd
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterRedEye.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterRedEye.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterRedEye.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterRedEye.java index 177def7b7..a65a9631b 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterRedEye.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterRedEye.java @@ -63,7 +63,7 @@ public class ImageFilterRedEye extends ImageFilter { native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, short[] matrix); @Override - public Bitmap apply(Bitmap bitmap, float scaleFactor, boolean highQuality) { + public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { int w = bitmap.getWidth(); int h = bitmap.getHeight(); short[] rect = new short[4]; |