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

Commit 0614de59 authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Minor clenaup in LauncherBackAnimationController

Bug: 311365390
Flag: NONE
Test: presubmit
Change-Id: I05d517a7b49728ea66f6b805837f66b4a28ded53
parent eb6f3ae4
Loading
Loading
Loading
Loading
+2 −6
Original line number Diff line number Diff line
@@ -103,8 +103,6 @@ public class LauncherBackAnimationController {
    private final RectF mCurrentRect = new RectF();
    private final QuickstepLauncher mLauncher;
    private final int mWindowScaleMarginX;
    /** Max window translation in the Y axis. */
    private final int mWindowMaxDeltaY;
    private float mWindowScaleEndCornerRadius;
    private float mWindowScaleStartCornerRadius;
    private final Interpolator mCancelInterpolator;
@@ -113,14 +111,14 @@ public class LauncherBackAnimationController {

    private RemoteAnimationTarget mBackTarget;
    private View mLauncherTargetView;
    private SurfaceControl.Transaction mTransaction = new SurfaceControl.Transaction();
    private final SurfaceControl.Transaction mTransaction = new SurfaceControl.Transaction();
    private boolean mSpringAnimationInProgress = false;
    private boolean mAnimatorSetInProgress = false;
    private float mBackProgress = 0;
    private boolean mBackInProgress = false;
    private OnBackInvokedCallbackStub mBackCallback;
    private IRemoteAnimationFinishedCallback mAnimationFinishedCallback;
    private BackProgressAnimator mProgressAnimator = new BackProgressAnimator();
    private final BackProgressAnimator mProgressAnimator = new BackProgressAnimator();
    private SurfaceControl mScrimLayer;
    private ValueAnimator mScrimAlphaAnimator;
    private float mScrimAlpha;
@@ -144,8 +142,6 @@ public class LauncherBackAnimationController {
        loadCornerRadius();
        mWindowScaleMarginX = mLauncher.getResources().getDimensionPixelSize(
                R.dimen.swipe_back_window_scale_x_margin);
        mWindowMaxDeltaY = mLauncher.getResources().getDimensionPixelSize(
                R.dimen.swipe_back_window_max_delta_y);
        mCancelInterpolator =
                AnimationUtils.loadInterpolator(mLauncher, R.interpolator.standard_interpolator);
    }
+0 −1
Original line number Diff line number Diff line
@@ -201,7 +201,6 @@

    <!-- Swipe back to home related -->
    <dimen name="swipe_back_window_scale_x_margin">10dp</dimen>
    <dimen name="swipe_back_window_max_delta_y">160dp</dimen>
    <dimen name="swipe_back_window_corner_radius">40dp</dimen>

    <!-- The duration of the bottom sheet opening and closing animation -->