am 5e41a27f: Fixing paged view overscroll effect being drawn outside the screen bounds when in transposed layout.

* commit '5e41a27fdb661199525614ceaaa3cfd8c4a6c490':
  Fixing paged view overscroll effect being drawn outside the screen bounds when in transposed layout.
This commit is contained in:
Sunny Goyal authored and Android Git Automerger committed 2015-06-23 18:05:38 +00:00
commit 2d7977fcfa
1 file changed
+1 -2
+1 -2
View File
@@ -1173,8 +1173,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
if (!mEdgeGlowRight.isFinished()) {
final int restoreCount = canvas.save();
Rect display = mViewport;
canvas.translate(display.left +
display.width() * (getChildCount() - 1), display.top);
canvas.translate(display.left + mPageScrolls[getChildCount() - 1], display.top);
canvas.rotate(90);
getEdgeVerticalPostion(sTmpIntPoint);