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

Commit 0d507f3e authored by Josh Tsuji's avatar Josh Tsuji Committed by Automerger Merge Worker
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 am: e2dc0091 am: 0ebf39e6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15131934

Change-Id: I163720824adf91efa1f5d115aeac40a6e8f18746
parents 23a76d2e 0ebf39e6
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?) {