Merge "Verifying that new applications are added and fixing issue with new items getting wrong ids." into jb-ub-gel-agar

This commit is contained in:
Winson Chung
2013-07-31 17:34:53 +00:00
committed by Android (Google) Code Review
7 changed files with 299 additions and 165 deletions

View File

@@ -1010,7 +1010,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
// Check if the right edge of the page is in the viewport
mTmpIntPoint[0] = currPage.getMeasuredWidth();
DragLayer.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
Utilities.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
if (mTmpIntPoint[0] < 0) {
break;
}
@@ -1020,7 +1020,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
// Check if the left edge of the page is in the viewport
mTmpIntPoint[0] = 0;
DragLayer.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
Utilities.getDescendantCoordRelativeToParent(currPage, this, mTmpIntPoint, false);
if (mTmpIntPoint[0] >= viewportWidth) {
break;
}