Merge "Scale down chip proportional to TaskView becoming fullscreen." into ub-launcher3-rvc-qpr-dev

This commit is contained in:
TreeHugger Robot 2020-08-28 22:10:57 +00:00 committed by Android (Google) Code Review
commit 7c39afeccc
1 changed files with 5 additions and 1 deletions

View File

@ -576,7 +576,11 @@ public class TaskView extends FrameLayout implements PageCallbacks, Reusable {
.getInterpolation(progress);
mIconView.setScaleX(scale);
mIconView.setScaleY(scale);
if (mContextualChip != null && mContextualChipWrapper != null) {
mContextualChipWrapper.setAlpha(scale);
mContextualChip.setScaleX(scale);
mContextualChip.setScaleY(scale);
}
updateFooterVerticalOffset(1.0f - scale);
}