commit | e81af3570b55f522ad09c4a13701352c3ab28ded | [log] [tgz] |
---|---|---|
author | Alex Chau <alexchau@google.com> | Wed Dec 01 17:45:08 2021 +0000 |
committer | Alex Chau <alexchau@google.com> | Wed Dec 01 17:45:08 2021 +0000 |
tree | 1ee2131265877b5c6c015cefe7e1c07ce801abaf | |
parent | b15d3cfe73e61c82b8c082b2b524440fc7348ebb [diff] |
Animate right icon of app pair Fix: 208647365 Test: Swipe up and observe right icon of app pair Change-Id: I37a716c156d64c312d132bea80540ce922f3f709
diff --git a/quickstep/src/com/android/quickstep/views/GroupedTaskView.java b/quickstep/src/com/android/quickstep/views/GroupedTaskView.java index b43626b..9311261 100644 --- a/quickstep/src/com/android/quickstep/views/GroupedTaskView.java +++ b/quickstep/src/com/android/quickstep/views/GroupedTaskView.java
@@ -258,4 +258,10 @@ super.updateSnapshotRadius(); mSnapshotView2.setFullscreenParams(mCurrentFullscreenParams); } + + @Override + protected void setIconAndDimTransitionProgress(float progress, boolean invert) { + super.setIconAndDimTransitionProgress(progress, invert); + mIconView2.setAlpha(mIconView.getAlpha()); + } }
diff --git a/quickstep/src/com/android/quickstep/views/TaskView.java b/quickstep/src/com/android/quickstep/views/TaskView.java index cca9ecf..8dee4e7 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/src/com/android/quickstep/views/TaskView.java
@@ -912,7 +912,7 @@ return deviceProfile.overviewShowAsGrid && !isFocusedTask(); } - private void setIconAndDimTransitionProgress(float progress, boolean invert) { + protected void setIconAndDimTransitionProgress(float progress, boolean invert) { if (invert) { progress = 1 - progress; }