Merge "Fixing AllAppsCustomize Keyboard Accessibility / NPE (issue 5483485)" into ics-mr0

This commit is contained in:
Adam Cohen
2011-10-20 14:41:47 -07:00
committed by Android (Google) Code Review
6 changed files with 93 additions and 63 deletions
@@ -1195,6 +1195,11 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
return getChildAt(getChildCount() - index - 1);
}
@Override
protected int indexToPage(int index) {
return getChildCount() - index - 1;
}
// In apps customize, we have a scrolling effect which emulates pulling cards off of a stack.
@Override
protected void screenScrolled(int screenCenter) {