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

Commit 1eecf470 authored by Jorim Jaggi's avatar Jorim Jaggi Committed by Android (Google) Code Review
Browse files

Merge "Use correct starting size for clip reveal transition" into mnc-dev

parents 88817de8 b00dbd47
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -531,14 +531,14 @@ public class AppTransition implements Dump {

            // Clip third of the from size of launch icon, expand to full width/height
            Animation clipAnimLR = new ClipRectLRAnimation(
                    centerX - mNextAppTransitionStartWidth / 3,
                    centerX + mNextAppTransitionStartWidth / 3,
                    centerX - mNextAppTransitionStartWidth / 2,
                    centerX + mNextAppTransitionStartWidth / 2,
                    0, appWidth);
            clipAnimLR.setInterpolator(mClipHorizontalInterpolator);
            clipAnimLR.setDuration((long) (DEFAULT_APP_TRANSITION_DURATION / 2.5f));
            Animation clipAnimTB = new ClipRectTBAnimation(
                    centerY - mNextAppTransitionStartHeight / 3 - translationY,
                    centerY + mNextAppTransitionStartHeight / 3 - translationY,
                    centerY - mNextAppTransitionStartHeight / 2 - translationY,
                    centerY + mNextAppTransitionStartHeight / 2 - translationY,
                    0, appHeight);
            clipAnimTB.setInterpolator(mTouchResponseInterpolator);
            clipAnimTB.setDuration(DEFAULT_APP_TRANSITION_DURATION);