diff options
author | Svetoslav Ganov <svetoslavganov@google.com> | 2011-07-29 22:17:14 -0700 |
---|---|---|
committer | Svetoslav Ganov <svetoslavganov@google.com> | 2011-07-29 22:20:44 -0700 |
commit | 4e03f5910cf641e2610f4cbe3fc24d84c430d1e8 (patch) | |
tree | a48bd0a52c8c166dd4ed97e73ed663ad6af45d84 /docs/html/sdk/api_diff/14 | |
parent | e8f1cbae4400e8b046b405f205dffe0417826fb3 (diff) |
Removing firing of spurious scroll accesibility events.
1. Adding a TextView to a layout fires an accessibility scroll event
with mScrollX = 8144. Now TextView does not fire scroll events
since they are not interesting for accessibility and also the
implementation fires scroll to frequently - though correctly.
2. AbsListView was firing accessibility events for the same location.
Here the caveat is that this class does not know its height and
calls onScrollChange every time is scroll as seen by the user
may have changed but for accessibility purposes we care for the
start and end indices of visible views. The fix is to avoid
sending access events with duplicate data.
bug:5097467
Change-Id: I7bf11efd638ea3673843f1095a03f518e57cfe9d
Diffstat (limited to 'docs/html/sdk/api_diff/14')
0 files changed, 0 insertions, 0 deletions