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

* commit '71a7bed6df02d8089373a22e94bb5d0a430a2540':
  Reporting toIndex in scroll events (issue 11356512)
This commit is contained in:
Adam Cohen
2014-02-14 20:52:54 +00: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) {