Loading src/com/android/gallery3d/filtershow/cache/FilteringPipeline.java +3 −6 Original line number Diff line number Diff line Loading @@ -105,12 +105,6 @@ public class FilteringPipeline implements Handler.Callback { case COMPUTE_RENDERING_REQUEST: case COMPUTE_PARTIAL_RENDERING_REQUEST: case COMPUTE_HIGHRES_RENDERING_REQUEST: { if (msg.what == COMPUTE_PARTIAL_RENDERING_REQUEST || msg.what == COMPUTE_HIGHRES_RENDERING_REQUEST) { if (mProcessingHandler.hasMessages(msg.what)) { return false; } } if (DEBUG) { Log.v(LOGTAG, "Compute Request: " + getType(msg.what)); Loading Loading @@ -168,6 +162,9 @@ public class FilteringPipeline implements Handler.Callback { msg.obj = request; if (type == COMPUTE_PARTIAL_RENDERING_REQUEST || type == COMPUTE_HIGHRES_RENDERING_REQUEST) { if (mProcessingHandler.hasMessages(msg.what)) { mProcessingHandler.removeMessages(msg.what); } mProcessingHandler.sendMessageDelayed(msg, HIRES_DELAY); } else { mProcessingHandler.sendMessage(msg); Loading src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java +2 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,8 @@ public class FilterRepresentation implements Cloneable { representation.setShowEditingControls(showEditingControls()); representation.setShowParameterValue(showParameterValue()); representation.setShowUtilityPanel(showUtilityPanel()); representation.mTempRepresentation = null; representation.mTempRepresentation = mTempRepresentation != null ? mTempRepresentation.clone() : null; if (DEBUG) { Log.v(LOGTAG, "cloning from <" + this + "> to <" + representation + ">"); } Loading Loading
src/com/android/gallery3d/filtershow/cache/FilteringPipeline.java +3 −6 Original line number Diff line number Diff line Loading @@ -105,12 +105,6 @@ public class FilteringPipeline implements Handler.Callback { case COMPUTE_RENDERING_REQUEST: case COMPUTE_PARTIAL_RENDERING_REQUEST: case COMPUTE_HIGHRES_RENDERING_REQUEST: { if (msg.what == COMPUTE_PARTIAL_RENDERING_REQUEST || msg.what == COMPUTE_HIGHRES_RENDERING_REQUEST) { if (mProcessingHandler.hasMessages(msg.what)) { return false; } } if (DEBUG) { Log.v(LOGTAG, "Compute Request: " + getType(msg.what)); Loading Loading @@ -168,6 +162,9 @@ public class FilteringPipeline implements Handler.Callback { msg.obj = request; if (type == COMPUTE_PARTIAL_RENDERING_REQUEST || type == COMPUTE_HIGHRES_RENDERING_REQUEST) { if (mProcessingHandler.hasMessages(msg.what)) { mProcessingHandler.removeMessages(msg.what); } mProcessingHandler.sendMessageDelayed(msg, HIRES_DELAY); } else { mProcessingHandler.sendMessage(msg); Loading
src/com/android/gallery3d/filtershow/filters/FilterRepresentation.java +2 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,8 @@ public class FilterRepresentation implements Cloneable { representation.setShowEditingControls(showEditingControls()); representation.setShowParameterValue(showParameterValue()); representation.setShowUtilityPanel(showUtilityPanel()); representation.mTempRepresentation = null; representation.mTempRepresentation = mTempRepresentation != null ? mTempRepresentation.clone() : null; if (DEBUG) { Log.v(LOGTAG, "cloning from <" + this + "> to <" + representation + ">"); } Loading