summaryrefslogtreecommitdiffstats
path: root/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
diff options
context:
space:
mode:
authornicolasroard <nicolasroard@google.com>2013-02-12 12:19:19 -0800
committernicolasroard <nicolasroard@google.com>2013-02-12 12:36:32 -0800
commitf60760478ec7c78446be0e0c6bc5502d1557974c (patch)
tree4021390076dcb05b7c4e80eb5bb60246dd987c37 /src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
parent99baf61387ab1ef15bb9db5fa3b2b55591e87059 (diff)
downloadandroid_packages_apps_Gallery2-f60760478ec7c78446be0e0c6bc5502d1557974c.tar.gz
android_packages_apps_Gallery2-f60760478ec7c78446be0e0c6bc5502d1557974c.tar.bz2
android_packages_apps_Gallery2-f60760478ec7c78446be0e0c6bc5502d1557974c.zip
Refactor FiltersManager
Change-Id: I4c42ddb90e65e90af873eb8dbe065f4fa3de69ef
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java')
-rw-r--r--src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
index f282d2966..2b6c3fe7d 100644
--- a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
+++ b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java
@@ -23,7 +23,7 @@ import com.android.gallery3d.filtershow.presets.ImagePreset;
public class FilterRepresentation implements Cloneable {
private static final String LOGTAG = "FilterRepresentation";
private String mName;
- private int mPriority;
+ private int mPriority = TYPE_NORMAL;
private ImagePreset mPreset;
private Class mFilterClass;
private int mTextId = 0;
@@ -40,7 +40,6 @@ public class FilterRepresentation implements Cloneable {
public static final byte TYPE_VIGNETTE = 4;
public static final byte TYPE_NORMAL = 5;
public static final byte TYPE_TINYPLANET = 6;
- private byte filterType = TYPE_NORMAL;
public FilterRepresentation(String name) {
mName = name;
@@ -86,14 +85,6 @@ public class FilterRepresentation implements Cloneable {
return mName;
}
- public byte getFilterType() {
- return filterType;
- }
-
- protected void setFilterType(byte type) {
- filterType = type;
- }
-
public void setName(String name) {
mName = name;
}