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

Commit c2dda9a9 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Minor method rename" into main

parents f952b7d5 6fe80cb6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -441,7 +441,7 @@ public class DividerView extends FrameLayout implements View.OnTouchListener {
                    mStartPos = touchPos;
                    mMoving = true;
                    if (Flags.enableFlexibleTwoAppSplit()) {
                        updateSnapOnMove(displacement, isLeftRightSplit);
                        initSnapOnMove(displacement, isLeftRightSplit);
                    }
                }
                if (mMoving) {
@@ -512,7 +512,7 @@ public class DividerView extends FrameLayout implements View.OnTouchListener {
    }

    /** Performs snapping and haptic clicks based on current divider displacement. */
    private void updateSnapOnMove(int displacement, boolean isLeftRightSplit) {
    private void initSnapOnMove(int displacement, boolean isLeftRightSplit) {
        // Move gesture is confirmed, create framework for magnetic snap
        InputDirection direction =
                displacement > 0 ? InputDirection.Max : InputDirection.Min;