summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-07-30 20:01:21 -0700
committernicolasroard <nicolasroard@google.com>2013-07-31 15:16:59 -0700
commit7f2b1e548ad3b5cdf8775b0a12f8f9b389477f21 (patch)
tree91e880d9905ff2a0307ab58d539d57add0158b55 /src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
parent6d29a648f497f827d623d7af0b679e98ea58bf90 (diff)
downloadandroid_packages_apps_Snap-7f2b1e548ad3b5cdf8775b0a12f8f9b389477f21.tar.gz
android_packages_apps_Snap-7f2b1e548ad3b5cdf8775b0a12f8f9b389477f21.tar.bz2
android_packages_apps_Snap-7f2b1e548ad3b5cdf8775b0a12f8f9b389477f21.zip
Implements N-1 Caching
Change-Id: Ief1a04dbe4f6ced15f937177a556733cfcdb5879
Diffstat (limited to 'src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java')
-rw-r--r--src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java b/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
index 28ae2694e..9bb3e00f2 100644
--- a/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
+++ b/src/com/android/gallery3d/filtershow/pipeline/ImagePreset.java
@@ -79,6 +79,10 @@ public class ImagePreset {
}
}
+ public Vector<FilterRepresentation> getFilters() {
+ return mFilters;
+ }
+
public FilterRepresentation getFilterRepresentation(int position) {
FilterRepresentation representation = null;