mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-18 18:28:20 +00:00
Merge "Animate right icon of app pair" into sc-v2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
2bede2dbf2
@@ -258,4 +258,10 @@ public class GroupedTaskView extends TaskView {
|
||||
super.updateSnapshotRadius();
|
||||
mSnapshotView2.setFullscreenParams(mCurrentFullscreenParams);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void setIconAndDimTransitionProgress(float progress, boolean invert) {
|
||||
super.setIconAndDimTransitionProgress(progress, invert);
|
||||
mIconView2.setAlpha(mIconView.getAlpha());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -912,7 +912,7 @@ public class TaskView extends FrameLayout implements Reusable {
|
||||
return deviceProfile.overviewShowAsGrid && !isFocusedTask();
|
||||
}
|
||||
|
||||
private void setIconAndDimTransitionProgress(float progress, boolean invert) {
|
||||
protected void setIconAndDimTransitionProgress(float progress, boolean invert) {
|
||||
if (invert) {
|
||||
progress = 1 - progress;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user