Merge "Remove unused logs" into sc-dev

This commit is contained in:
Winson Chung 2021-07-07 18:02:53 +00:00 committed by Android (Google) Code Review
commit da587fb7a6
3 changed files with 0 additions and 9 deletions

View File

@ -94,7 +94,6 @@ public class TaskAnimationManager implements RecentsAnimationCallbacks.RecentsAn
@UiThread @UiThread
public RecentsAnimationCallbacks startRecentsAnimation(GestureState gestureState, public RecentsAnimationCallbacks startRecentsAnimation(GestureState gestureState,
Intent intent, RecentsAnimationCallbacks.RecentsAnimationListener listener) { Intent intent, RecentsAnimationCallbacks.RecentsAnimationListener listener) {
Log.d("b/186444448", "startRecentsAnimation");
// Notify if recents animation is still running // Notify if recents animation is still running
if (mController != null) { if (mController != null) {
String msg = "New recents animation started before old animation completed"; String msg = "New recents animation started before old animation completed";

View File

@ -83,7 +83,6 @@ import android.text.StaticLayout;
import android.text.TextPaint; import android.text.TextPaint;
import android.util.AttributeSet; import android.util.AttributeSet;
import android.util.FloatProperty; import android.util.FloatProperty;
import android.util.Log;
import android.util.SparseBooleanArray; import android.util.SparseBooleanArray;
import android.view.Gravity; import android.view.Gravity;
import android.view.HapticFeedbackConstants; import android.view.HapticFeedbackConstants;
@ -1700,7 +1699,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
* {@link #onGestureAnimationStart} and {@link #onGestureAnimationEnd()}. * {@link #onGestureAnimationStart} and {@link #onGestureAnimationEnd()}.
*/ */
public void onSwipeUpAnimationSuccess() { public void onSwipeUpAnimationSuccess() {
Log.d("b/186444448", "onSwipeUpAnimationSuccess");
if (getRunningTaskView() != null) { if (getRunningTaskView() != null) {
animateUpRunningTaskIconScale(); animateUpRunningTaskIconScale();
} }
@ -1774,7 +1772,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
* Called when a gesture from an app has finished, and the animation to the target has ended. * Called when a gesture from an app has finished, and the animation to the target has ended.
*/ */
public void onGestureAnimationEnd() { public void onGestureAnimationEnd() {
Log.d("b/186444448", "onGestureEnd");
mGestureActive = false; mGestureActive = false;
if (mOrientationState.setGestureActive(false)) { if (mOrientationState.setGestureActive(false)) {
updateOrientationHandler(); updateOrientationHandler();
@ -1932,8 +1929,6 @@ public abstract class RecentsView<ACTIVITY_TYPE extends StatefulActivity<STATE_T
public void animateUpRunningTaskIconScale() { public void animateUpRunningTaskIconScale() {
mRunningTaskIconScaledDown = false; mRunningTaskIconScaledDown = false;
TaskView firstTask = getRunningTaskView(); TaskView firstTask = getRunningTaskView();
Log.d("b/186444448", "animateUpRunningTaskIconScale: firstTask="
+ (firstTask != null ? "t:" + firstTask.getTask() : null));
if (firstTask != null) { if (firstTask != null) {
firstTask.setIconScaleAnimStartProgress(0f); firstTask.setIconScaleAnimStartProgress(0f);
firstTask.animateIconScaleAndDimIntoView(); firstTask.animateIconScaleAndDimIntoView();

View File

@ -828,8 +828,6 @@ public class TaskView extends FrameLayout implements Reusable {
} }
public void animateIconScaleAndDimIntoView() { public void animateIconScaleAndDimIntoView() {
Log.d("b/186444448", "animateIconScaleAndDimIntoView: startProgress="
+ mIconScaleAnimStartProgress);
if (mIconAndDimAnimator != null) { if (mIconAndDimAnimator != null) {
mIconAndDimAnimator.cancel(); mIconAndDimAnimator.cancel();
} }
@ -839,7 +837,6 @@ public class TaskView extends FrameLayout implements Reusable {
mIconAndDimAnimator.addListener(new AnimatorListenerAdapter() { mIconAndDimAnimator.addListener(new AnimatorListenerAdapter() {
@Override @Override
public void onAnimationEnd(Animator animation) { public void onAnimationEnd(Animator animation) {
Log.d("b/186444448", "animateIconScaleAndDimIntoView: end");
mIconAndDimAnimator = null; mIconAndDimAnimator = null;
} }
}); });