Loading src/com/android/launcher3/PagedView.java +4 −2 Original line number Diff line number Diff line Loading @@ -826,7 +826,9 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou // or right edge for RTL. final int pageScroll = mIsRtl ? childPrimaryEnd - scrollOffsetEnd : childStart - scrollOffsetStart; if (outPageScrolls[i] != pageScroll) { // If there's more than one panel, only update scroll on leftmost panel. if (outPageScrolls[i] != pageScroll && (panelCount <= 1 || i == getLeftmostVisiblePageForIndex(i))) { pageScrollChanged = true; outPageScrolls[i] = pageScroll; } Loading Loading
src/com/android/launcher3/PagedView.java +4 −2 Original line number Diff line number Diff line Loading @@ -826,7 +826,9 @@ public abstract class PagedView<T extends View & PageIndicator> extends ViewGrou // or right edge for RTL. final int pageScroll = mIsRtl ? childPrimaryEnd - scrollOffsetEnd : childStart - scrollOffsetStart; if (outPageScrolls[i] != pageScroll) { // If there's more than one panel, only update scroll on leftmost panel. if (outPageScrolls[i] != pageScroll && (panelCount <= 1 || i == getLeftmostVisiblePageForIndex(i))) { pageScrollChanged = true; outPageScrolls[i] = pageScroll; } Loading