Increasing the overview size while in QuickScrub mode
Bug: 80139193 Change-Id: I19ea05d3cc083628364651e9d9f581fe1aaaeaaa
This commit is contained in:
1 parent
d5377ca4b3
commit
7f28fd55ff
11 files changed
+124
-94
No files matched your search
@@ -440,9 +440,7 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou
|
||||
if (getUnboundedScrollX() != mScroller.getCurrX()
|
||||
|| getScrollY() != mScroller.getCurrY()
|
||||
|| mOverScrollX != mScroller.getCurrX()) {
|
||||
float scaleX = mFreeScroll ? getScaleX() : 1f;
|
||||
int scrollX = (int) (mScroller.getCurrX() * (1 / scaleX));
|
||||
scrollTo(scrollX, mScroller.getCurrY());
|
||||
scrollTo(mScroller.getCurrX(), mScroller.getCurrY());
|
||||
}
|
||||
if (shouldInvalidate) {
|
||||
invalidate();
|
||||
|
||||
Reference in new issue
Block a user