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

Commit ee4629c0 authored by Josh Tsuji's avatar Josh Tsuji
Browse files

Adjust interpolator for shade unlock to match mocks.

Bug: 197636887
Test: it looks nice
Change-Id: Ib410599faf0efe65e661636886a8f6b56d197600
parent 9750b0ca
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -24,6 +24,7 @@ import static androidx.constraintlayout.widget.ConstraintSet.PARENT_ID;
import static com.android.internal.jank.InteractionJankMonitor.CUJ_NOTIFICATION_SHADE_QS_EXPAND_COLLAPSE;
import static com.android.keyguard.KeyguardClockSwitch.LARGE;
import static com.android.keyguard.KeyguardClockSwitch.SMALL;
import static com.android.systemui.animation.Interpolators.EMPHASIZED_ACCELERATE;
import static com.android.systemui.animation.Interpolators.EMPHASIZED_DECELERATE;
import static com.android.systemui.classifier.Classifier.QS_COLLAPSE;
import static com.android.systemui.classifier.Classifier.QUICK_SETTINGS;
@@ -936,7 +937,7 @@ public class NotificationPanelViewController extends PanelViewController {
                                        // the launcher icons animation starts, so use that as our
                                        // duration.
                                        .setDuration(unlockAnimationStartDelay)
                                        .setInterpolator(EMPHASIZED_DECELERATE)
                                        .setInterpolator(EMPHASIZED_ACCELERATE)
                                        .withEndAction(() -> {
                                            instantCollapse();
                                            mView.setAlpha(1f);