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

Commit e2dc0091 authored by Josh Tsuji's avatar Josh Tsuji Committed by Android (Google) Code Review
Browse files

Merge "Use a linear interpolator for screen off, since the reveal effects...

Merge "Use a linear interpolator for screen off, since the reveal effects already interpolate the reveal amount internally." into sc-dev
parents 17a6678d ad51d142
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -57,7 +57,7 @@ class UnlockedScreenOffAnimationController @Inject constructor(

    private val lightRevealAnimator = ValueAnimator.ofFloat(1f, 0f).apply {
        duration = LIGHT_REVEAL_ANIMATION_DURATION
        interpolator = Interpolators.FAST_OUT_SLOW_IN_REVERSE
        interpolator = Interpolators.LINEAR
        addUpdateListener { lightRevealScrim.revealAmount = it.animatedValue as Float }
        addListener(object : AnimatorListenerAdapter() {
            override fun onAnimationCancel(animation: Animator?) {