commit | c47e42a81c0322ccf82a94abf2baca8e7f0c1a0f | [log] [tgz] |
---|---|---|
author | Zak Cohen <zakcohen@google.com> | Mon May 03 18:10:40 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Mon May 03 18:10:40 2021 +0000 |
tree | 77e7ab9f342ea859eea59904b3cf0d636cf04951 | |
parent | 8154c4647f18e8a3b35c42ef3d58378af50dfbc5 [diff] | |
parent | 554cf58401aa6b9a3265a655f690e762b871a64f [diff] |
Merge "Overview - fade task icon instead of scaling it per new ux" into sc-dev am: 554cf58401 Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14390332 Change-Id: I99158c8408dcfd7c1288b1f00b51db67de7055e4
diff --git a/quickstep/src/com/android/quickstep/views/TaskView.java b/quickstep/src/com/android/quickstep/views/TaskView.java index 3349b74..45bcdc3 100644 --- a/quickstep/src/com/android/quickstep/views/TaskView.java +++ b/quickstep/src/com/android/quickstep/views/TaskView.java
@@ -777,8 +777,7 @@ 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)));