summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2012-10-11 12:55:05 -0700
committerJohn Hoford <hoford@google.com>2012-10-11 13:39:13 -0700
commit5bb3102e71bb3b9954bc710b0e81f5a60f7b5784 (patch)
treea3f5db41dd32e021a4001479343750a7a0d452e2 /src/com/android/gallery3d/filtershow/filters
parent6f1dfae8dff9114b59d4ae4e44a6cec68d791950 (diff)
downloadandroid_packages_apps_Snap-5bb3102e71bb3b9954bc710b0e81f5a60f7b5784.tar.gz
android_packages_apps_Snap-5bb3102e71bb3b9954bc710b0e81f5a60f7b5784.tar.bz2
android_packages_apps_Snap-5bb3102e71bb3b9954bc710b0e81f5a60f7b5784.zip
fixed manta image size and double FX issue
bug:7328636 Change-Id: I572255c65fb2d461dce6f52d056be6b3c4d987f6
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterParametricBorder.java1
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilterVignette.java1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterParametricBorder.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterParametricBorder.java
index 2ead04764..ce7bcf74c 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterParametricBorder.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterParametricBorder.java
@@ -14,6 +14,7 @@ public class ImageFilterParametricBorder extends ImageFilter {
private int mBorderCornerRadius = 10;
public ImageFilterParametricBorder() {
+ setFilterType(TYPE_BORDER);
mName = "Border";
}
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilterVignette.java b/src/com/android/gallery3d/filtershow/filters/ImageFilterVignette.java
index 4c43410e3..fed583832 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilterVignette.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilterVignette.java
@@ -6,6 +6,7 @@ import android.graphics.Bitmap;
public class ImageFilterVignette extends ImageFilter {
public ImageFilterVignette() {
+ setFilterType(TYPE_VIGNETTE);
mName = "Vignette";
}