summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorFabian Kozynski <kozynski@google.com>2019-05-21 15:30:52 -0400
committerFabian Kozynski <kozynski@google.com>2019-05-21 15:46:09 -0400
commit956b597a4ec2e387e39e8ed041b9f39adc5baf1b (patch)
tree09c835aaaddb214b97de91ed9963fb53c0a77ab6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parent738c98232cd8489becf100a148d619c11ca05fa7 (diff)
Fix Marquees in QSHeader animating when invisible
When QS is collapsed, QuickStatusBarHeader is set to GONE/INVISIBLE. In that case, all it's children should NOT marquee. As they are still visible, they need to override onVisibilityAggregated, which gets called when any view in it's hierarchy changes its visibility. This is still not perfect, as the switch between QQS and QS is changed by just modifying the alpha of high level container views and we have no way of tracking this without dispatching everything down the line. But it's enough for now to significantly improve performance. Test: systrace, systemui is not constantly drawing frames when on AoD Test: inferno.py, in 10s reduces Binder calls from ~600 to ~20 when on AoD Test: Layout inspector with QS collapsed, views have ellipsize END Fixes: 133229320 Fixes: 131427575 Change-Id: I0d742cef3716dce9f32133b2510aeffb7082ae47
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions