diff options
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java index 85b6e4f6b..ee8741399 100644 --- a/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java +++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterExposure.java @@ -12,11 +12,12 @@ public class ImageFilterExposure extends ImageFilter { native protected void nativeApplyFilter(Bitmap bitmap, int w, int h, float bright); @Override - public void apply(Bitmap bitmap) { + public Bitmap apply(Bitmap bitmap, float scaleFactor, boolean highQuality) { int w = bitmap.getWidth(); int h = bitmap.getHeight(); int p = mParameter; float value = p; nativeApplyFilter(bitmap, w, h, value); + return bitmap; } } |