Fixing AllAppsCustomize Keyboard Accessibility / NPE (issue 5483485)

Change-Id: I841823e28bf419028afea2a57352c4ad45c7c4a0
This commit is contained in:
Adam Cohen
2011-10-20 00:15:42 -07:00
parent d3357b186d
commit ae4f155e09
6 changed files with 93 additions and 63 deletions
@@ -1200,6 +1200,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) {