Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e81af357 authored by Alex Chau's avatar Alex Chau
Browse files

Animate right icon of app pair

Fix: 208647365
Test: Swipe up and observe right icon of app pair
Change-Id: I37a716c156d64c312d132bea80540ce922f3f709
parent b15d3cfe
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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());
    }
}
+1 −1
Original line number Diff line number Diff line
@@ -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;
        }