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

Commit 2350f6b2 authored by Jorge Gil's avatar Jorge Gil Committed by Android (Google) Code Review
Browse files

Merge "Add frame timeline to veil surfaces in maximize CUJ" into main

parents 029f616c e3a5ed72
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import android.animation.RectEvaluator
import android.animation.ValueAnimator
import android.graphics.Rect
import android.os.IBinder
import android.view.Choreographer
import android.view.SurfaceControl
import android.view.WindowManager.TRANSIT_CHANGE
import android.window.TransitionInfo
@@ -126,6 +127,7 @@ class ToggleResizeDesktopTaskTransitionHandler(
                        tx.setPosition(leash, rect.left.toFloat(), rect.top.toFloat())
                            .setWindowCrop(leash, rect.width(), rect.height())
                            .show(leash)
                            .setFrameTimeline(Choreographer.getInstance().getVsyncId())
                        onTaskResizeAnimationListener.onBoundsChange(taskId, tx, rect)
                    }
                    start()