diff options
author | Ruben Brunk <rubenbrunk@google.com> | 2013-06-03 15:41:36 -0700 |
---|---|---|
committer | Ruben Brunk <rubenbrunk@google.com> | 2013-06-05 10:50:46 -0700 |
commit | 3cb106ddd7ad0f8494ac9c7a33660831c1694295 (patch) | |
tree | f7c5c5e6ccb97e57a2be8893f9bd379bd758be70 /src/com/android/gallery3d/filtershow/filters/FilterColorBorderRepresentation.java | |
parent | f6cf61b84b96bdb9598e2926aba34eeb648d2213 (diff) | |
download | android_packages_apps_Gallery2-3cb106ddd7ad0f8494ac9c7a33660831c1694295.tar.gz android_packages_apps_Gallery2-3cb106ddd7ad0f8494ac9c7a33660831c1694295.tar.bz2 android_packages_apps_Gallery2-3cb106ddd7ad0f8494ac9c7a33660831c1694295.zip |
Removing unused UI fields in FilterRepresentation.
Bug: 9170644
Change-Id: Ic197123286e06d9eb64d30eb345f8cc5797659a2
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterColorBorderRepresentation.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterColorBorderRepresentation.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterColorBorderRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterColorBorderRepresentation.java index b2664a30f..99e1edf9a 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterColorBorderRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterColorBorderRepresentation.java @@ -29,13 +29,10 @@ public class FilterColorBorderRepresentation extends FilterRepresentation { mColor = color; mBorderSize = size; mBorderRadius = radius; - setFilterClass(ImageFilterParametricBorder.class); - setPriority(FilterRepresentation.TYPE_BORDER); + setFilterType(FilterRepresentation.TYPE_BORDER); setTextId(R.string.borders); setEditorId(ImageOnlyEditor.ID); - setShowEditingControls(false); setShowParameterValue(false); - setShowUtilityPanel(false); } public String toString() { @@ -44,6 +41,7 @@ public class FilterColorBorderRepresentation extends FilterRepresentation { @Override public FilterRepresentation clone() throws CloneNotSupportedException { + setFilterClass(ImageFilterParametricBorder.class); FilterColorBorderRepresentation representation = (FilterColorBorderRepresentation) super.clone(); representation.setName(getName()); representation.setColor(getColor()); |