OSDN Git Service
(root)
/
android-x86
/
packages-apps-Trebuchet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
917e388
)
Reporting toIndex in scroll events (issue 11356512)
author
Adam Cohen
<adamcohen@google.com>
Thu, 31 Oct 2013 22:46:45 +0000
(15:46 -0700)
committer
Adam Cohen
<adamcohen@google.com>
Thu, 31 Oct 2013 22:49:01 +0000
(15:49 -0700)
Change-Id: I96a97865970e0b9a6760246c4f830f3ceff53f09
src/com/android/launcher3/PagedView.java
patch
|
blob
|
history
diff --git
a/src/com/android/launcher3/PagedView.java
b/src/com/android/launcher3/PagedView.java
index
5146e14
..
46c861b
100644
(file)
--- a/
src/com/android/launcher3/PagedView.java
+++ b/
src/com/android/launcher3/PagedView.java
@@
-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) {