diff options
author | nicolasroard <nicolasroard@google.com> | 2013-02-12 12:19:19 -0800 |
---|---|---|
committer | nicolasroard <nicolasroard@google.com> | 2013-02-12 12:36:32 -0800 |
commit | f60760478ec7c78446be0e0c6bc5502d1557974c (patch) | |
tree | 4021390076dcb05b7c4e80eb5bb60246dd987c37 /src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java | |
parent | 99baf61387ab1ef15bb9db5fa3b2b55591e87059 (diff) | |
download | android_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.java | 11 |
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; } |