summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/ImageFilter.java
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-02-13 11:23:56 -0800
committernicolasroard <nicolasroard@google.com>2013-02-13 11:25:07 -0800
commitbfa696afec98657e7fa321522d60fcc514ff2637 (patch)
tree69dd78c8e5ce45d0bb577bc3849464e6a5855a33 /src/com/android/gallery3d/filtershow/filters/ImageFilter.java
parent94327736e3e16d5d7c8dae084c09b8e41496dd03 (diff)
downloadandroid_packages_apps_Snap-bfa696afec98657e7fa321522d60fcc514ff2637.tar.gz
android_packages_apps_Snap-bfa696afec98657e7fa321522d60fcc514ff2637.tar.bz2
android_packages_apps_Snap-bfa696afec98657e7fa321522d60fcc514ff2637.zip
Pass the ImagePreset to ImageFilter
Change-Id: I4c195a5eb6055c3bb43fed60e76751ed133ab725
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/ImageFilter.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/ImageFilter.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/ImageFilter.java b/src/com/android/gallery3d/filtershow/filters/ImageFilter.java
index 00499cb74..256f5d671 100644
--- a/src/com/android/gallery3d/filtershow/filters/ImageFilter.java
+++ b/src/com/android/gallery3d/filtershow/filters/ImageFilter.java
@@ -54,6 +54,10 @@ public class ImageFilter implements Cloneable {
return mImagePreset;
}
+ public void setImagePreset(ImagePreset imagePreset) {
+ mImagePreset = imagePreset;
+ }
+
public void useRepresentation(FilterRepresentation representation) {
}