Overview - fade task icon instead of scaling it per new ux

Bug: 186256286
Test: Local build and run on p5
Change-Id: I318b62ddbf9cb475736d2844489a7ed2d9a8a409
This commit is contained in:
Zak Cohen
2021-04-30 14:43:52 -07:00
parent 7c53f5d907
commit 20d00faf72
@@ -777,8 +777,7 @@ public class TaskView extends FrameLayout implements Reusable {
float upperClamp = invert ? 1 : iconScalePercentage;
float scale = Interpolators.clampToProgress(FAST_OUT_SLOW_IN, lowerClamp, upperClamp)
.getInterpolation(progress);
mIconView.setScaleX(scale);
mIconView.setScaleY(scale);
mIconView.setAlpha(scale);
if (mContextualChipWrapper != null && mContextualChipWrapper != null) {
mContextualChipWrapper.setAlpha(scale);
mContextualChipWrapper.setScaleX(Math.min(scale, comp(mModalness)));