commit | 9937f81ac653ed08032c547147a0934422540a45 | [log] [tgz] |
---|---|---|
author | Phil Weaver <pweaver@google.com> | Mon Aug 01 17:41:19 2016 -0700 |
committer | Phil Weaver <pweaver@google.com> | Mon Aug 01 17:41:19 2016 -0700 |
tree | d9540f7169df615a88fdf82dd36781e5df8878f5 | |
parent | d7a59636b719c38230b1c6f03e44b462463781db [diff] |
Reduce extra a11y events when alpha changes. Changes in alpha only matter if they affect visibility, so only 0 <-> nonzero changes are worth reporting. Report them as subtree changes, as visibility affects subviews. Not reporting every change greatly reduces the number of event reported when alpha is animated. Bug: 30183085 Change-Id: I905d53aa81ca8248b3aed86a91842ef499f303a8