diff options
author | nicolasroard <nicolasroard@google.com> | 2013-07-02 19:45:17 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2013-07-02 19:45:17 +0000 |
commit | e6af6d79fdaebcf566f9281ed6a29778d284dc42 (patch) | |
tree | 2c319be89541c40045d8f8e75d2d1407d05ed7c7 /src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java | |
parent | 6a83d528b09c55ade6ad44b82c81d4476ac57441 (diff) | |
parent | f1f0d01da7742d46a546176081b441bdd23378f6 (diff) | |
download | android_packages_apps_Snap-e6af6d79fdaebcf566f9281ed6a29778d284dc42.tar.gz android_packages_apps_Snap-e6af6d79fdaebcf566f9281ed6a29778d284dc42.tar.bz2 android_packages_apps_Snap-e6af6d79fdaebcf566f9281ed6a29778d284dc42.zip |
Merge "Pipeline refactoring" into gb-ub-photos-carlsbad
Diffstat (limited to 'src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java')
-rw-r--r-- | src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java index a60410d2b..e6018bb75 100644 --- a/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java +++ b/src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java @@ -47,8 +47,6 @@ public class FilterRepresentation implements Cloneable { public static final byte TYPE_TINYPLANET = 6; protected static final String NAME_TAG = "Name"; - private FilterRepresentation mTempRepresentation = null; - public FilterRepresentation(String name) { mName = name; } @@ -67,8 +65,6 @@ public class FilterRepresentation implements Cloneable { representation.setShowParameterValue(showParameterValue()); representation.mSerializationName = mSerializationName; - representation.mTempRepresentation = - mTempRepresentation != null ? mTempRepresentation.clone() : null; if (DEBUG) { Log.v(LOGTAG, "cloning from <" + this + "> to <" + representation + ">"); } @@ -140,28 +136,6 @@ 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 { - mTempRepresentation = representation.clone(); - } catch (CloneNotSupportedException e) { - e.printStackTrace(); - } - } else { - mTempRepresentation.useParametersFrom(representation); - } - } - - public synchronized void synchronizeRepresentation() { - if (mTempRepresentation != null) { - useParametersFrom(mTempRepresentation); - } - } - public boolean allowsSingleInstanceOnly() { return false; } |