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

This commit is contained in:
TreeHugger Robot
2020-04-30 22:13:51 +00:00
committed by Android (Google) Code Review
-7
View File
@@ -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