am d77057a7: Merge "Reporting toIndex in scroll events (issue 11356512)" into jb-ub-now-jetsonic

* commit 'd77057a77b8a1887f873fbb4fafbd4dd65a98e53':
  Reporting toIndex in scroll events (issue 11356512)
This commit is contained in:
Adam Cohen
2013-11-01 08:34:00 -07:00
committed by Android Git Automerger
+1
View File
@@ -675,6 +675,7 @@ public abstract class PagedView extends ViewGroup implements ViewGroup.OnHierarc
AccessibilityEvent.obtain(AccessibilityEvent.TYPE_VIEW_SCROLLED);
ev.setItemCount(getChildCount());
ev.setFromIndex(mCurrentPage);
ev.setToIndex(getNextPage());
final int action;
if (getNextPage() >= mCurrentPage) {