OSDN Git Service

Scroll accessibility events should not populate text.
authorSvetoslav Ganov <svetoslavganov@google.com>
Fri, 23 Sep 2011 02:26:56 +0000 (19:26 -0700)
committerSvetoslav Ganov <svetoslavganov@google.com>
Fri, 23 Sep 2011 02:55:47 +0000 (19:55 -0700)
commitb84b94e1a04cd1f396dd6fef98d65ca1a2729c92
tree868cc12ef3355e3520e7e1c2f77c39085afe8807
parent04ef5b8dd7262ee90b56df9c992f103695d0a21c
Scroll accessibility events should not populate text.

Scroll events are used to report position change and should not
contain the text content of the view that fires them because it
is usiually a containter for many other views and the text will
be long and not informative for accessibility purposes. Also
such evens are fired relatively frequently. If a client wants
to fetch some textual content for a scroll event he can use
the interrogation APIs.

bug:5352059

Change-Id: I43e02aca895c8ab16ba82ebe1cee3aea8ce7711a
core/java/android/view/View.java
core/java/android/view/ViewGroup.java
core/java/android/widget/AbsListView.java
core/java/android/widget/AdapterView.java