diff options
author | Adam Powell <adamp@google.com> | 2016-03-15 14:43:19 -0700 |
---|---|---|
committer | Adam Powell <adamp@google.com> | 2016-03-15 16:20:11 -0700 |
commit | 41d9690c3e3588dd273308279b9e609c2c6da3c7 (patch) | |
tree | b2d4d2b7680f0ff328ad90bba6305b67aeec7fa2 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | de2fa62f8601cec6d45e4dc4b5bb68b7cc145051 (diff) |
Add View#onVisibilityAggregated
There's a common misconception (even across the framework) that
View#onVisibilityChanged determines and reports visibility on 'this'
up to the changed view and the total visibility within the
window. Knowing this is useful for things like starting/stopping
animations. onVisibilityChanged only reports the visibility for the
specific changed view, not the effects that would have down the tree.
Add onVisibilityAggregated to report what some code thought it was
getting already, and move ImageView and ProgressBar over to using it.
Bug 27461617
Change-Id: I433f41de453e27a53f907f1d9805350f30f31de9
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions