summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-02-13 15:52:31 -0800
committerJohn Hoford <hoford@google.com>2013-02-13 17:38:32 -0800
commit498d78073c24f25055a2dc4943cdd0a42f85702c (patch)
tree7b771875ad41e351d94487d3d9c7ffc767f3c1af /src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java
parent147af26e86b7fa8f2d195651e3786c0102346702 (diff)
downloadandroid_packages_apps_Snap-498d78073c24f25055a2dc4943cdd0a42f85702c.tar.gz
android_packages_apps_Snap-498d78073c24f25055a2dc4943cdd0a42f85702c.tar.bz2
android_packages_apps_Snap-498d78073c24f25055a2dc4943cdd0a42f85702c.zip
get redeye working again
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java
index 34cd052eb..841c5c913 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterNegative.java
@@ -25,6 +25,11 @@ public class ImageFilterNegative extends ImageFilter {
native protected void nativeApplyFilter(Bitmap bitmap, int w, int h);
@Override
+ public void useRepresentation(FilterRepresentation representation) {
+
+ }
+
+ @Override
public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) {
int w = bitmap.getWidth();
int h = bitmap.getHeight();