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

Commit 403640c3 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Removing old unused code from PageView" into ub-launcher3-rvc-dev

parents 28ad91b0 63dd9e0b
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -257,13 +257,6 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
        forceFinishScroller(true);
    }

    /**
     * Returns left offset of a page. This is the gap between pages and prevents overlap.
     */
    public int scrollOffsetLeft() {
        return mInsets.left + getPaddingLeft();
    }

    private void abortScrollerAnimation(boolean resetNextPage) {
        mScroller.abortAnimation();
        // We need to clean up the next page here to avoid computeScrollHelper from