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

* commit '6ce03f474834cf30d9697dbaf574c07ec13a8ad6':
  Reporting toIndex in scroll events (issue 11356512)
This commit is contained in:
Adam Cohen
2014-02-14 20:37:27 +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) {