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();
|
super.updateSnapshotRadius();
|
||||||
mSnapshotView2.setFullscreenParams(mCurrentFullscreenParams);
|
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();
|
return deviceProfile.overviewShowAsGrid && !isFocusedTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setIconAndDimTransitionProgress(float progress, boolean invert) {
|
protected void setIconAndDimTransitionProgress(float progress, boolean invert) {
|
||||||
if (invert) {
|
if (invert) {
|
||||||
progress = 1 - progress;
|
progress = 1 - progress;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user