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

Commit c10ce7db authored by Evan Rosky's avatar Evan Rosky Committed by Automerger Merge Worker
Browse files

Merge "Move static-crops to 0,0 in animations" into rvc-dev am: 4279ef67

Change-Id: Id6adfca35fd26c8350df0ed7918696dfddfd11d0
parents 2deb2187 4279ef67
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -611,8 +611,10 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
                        }

                        matrix.setTranslate(tmpPos.x, tmpPos.y);
                        final Rect crop = new Rect(target.screenSpaceBounds);
                        crop.offsetTo(0, 0);
                        builder.withMatrix(matrix)
                                .withWindowCrop(target.screenSpaceBounds)
                                .withWindowCrop(crop)
                                .withAlpha(1f);
                    }
                    params[i] = builder.build();
@@ -781,8 +783,10 @@ public abstract class QuickstepAppTransitionManagerImpl extends LauncherAppTrans
                        builder.withMatrix(matrix)
                                .withAlpha(1f);
                    }
                    final Rect crop = new Rect(target.screenSpaceBounds);
                    crop.offsetTo(0, 0);
                    params[i] = builder
                            .withWindowCrop(target.screenSpaceBounds)
                            .withWindowCrop(crop)
                            .build();
                }
                surfaceApplier.scheduleApply(params);