summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters
diff options
context:
space:
mode:
authorJohn Hoford <hoford@google.com>2013-04-09 17:47:24 -0700
committerJohn Hoford <hoford@google.com>2013-04-09 17:47:24 -0700
commit49a6d76f505148e1b3a4842bd358cc155c051c74 (patch)
tree0b52d59674a418baa9180dc3c4a96ec10b226690 /src/com/android/gallery3d/filtershow/filters
parent7c45514d585e92abb069a06fe5867bc5f01127c2 (diff)
downloadandroid_packages_apps_Snap-49a6d76f505148e1b3a4842bd358cc155c051c74.tar.gz
android_packages_apps_Snap-49a6d76f505148e1b3a4842bd358cc155c051c74.tar.bz2
android_packages_apps_Snap-49a6d76f505148e1b3a4842bd358cc155c051c74.zip
support icon styles
Change-Id: I9a4af2826824fd519099363b3190fc417b67c022
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
index 7e0e25d61..5bb0e5733 100644
--- a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
+++ b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
@@ -42,7 +42,7 @@ public class FilterRepresentation implements Cloneable {
public static final byte TYPE_NORMAL = 5;
public static final byte TYPE_TINYPLANET = 6;
- public FilterRepresentation mTempRepresentation = null;
+ private FilterRepresentation mTempRepresentation = null;
public FilterRepresentation(String name) {
mName = name;
@@ -127,6 +127,10 @@ public class FilterRepresentation implements Cloneable {
public void useParametersFrom(FilterRepresentation a) {
}
+ public void clearTempRepresentation() {
+ mTempRepresentation = null;
+ }
+
public synchronized void updateTempParametersFrom(FilterRepresentation representation) {
if (mTempRepresentation == null) {
try {