summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilterBWRed.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilterBWRed.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterBWRed.java8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterBWRed.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterBWRed.java
index c5e444f38..bb7d661ad 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterBWRed.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterBWRed.java
@@ -5,12 +5,8 @@ import android.graphics.Bitmap;
public class ImageFilterBWRed extends ImageFilter {
- public String name() {
- return "Black & White (Red)";
- }
-
- public ImageFilter copy() {
- return new ImageFilterBWRed();
+ public ImageFilterBWRed() {
+ mName = "Black & White (Red)";
}
native protected void nativeApplyFilter(Bitmap bitmap, int w, int h);