summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.cpp
diff options
context:
space:
mode:
author Michal Brzezinski <brzezinski@google.com> 2024-04-16 14:36:07 +0100
committer Michal Brzezinski <brzezinski@google.com> 2024-04-16 14:50:30 +0100
commitd389821ced938ddddfe6cc771adc6bafa36c54aa (patch)
treee016da3cf5c568c76cb9d58f289504f6768f7000 /libs/input/PointerController.cpp
parent274c515f03e7c8e505ffef359508581b905d7c28 (diff)
Moving hardware layer to the parent of brightness slider
Hardware layer was introduced to make alpha animation better - without it, slider_foreground (thin line in the middle of slider) was alpha-animating at the same time as rest of slider and this caused that thin line to be visible through slider while fading out. Hardware layer causes the whole view texture to be animated, instead of each element separately. We still need it but for incoming focus state of brightness slider we also want to draw outside of the BrightnessSliderView bounds - hardware layer prevents us from doing this. Moving hardware layer to QSContainerImpl because its changing alpha is animating whole QS panel in split shade and it's the lowest parent that wouldn't clip focus outline. Bug: 329244723 Flag: None Test: Expand/collapse split shade, in portrait expand/collapse QS to QQS and see brightness slider animates nicely Change-Id: If730e7a04eb1b9f6524ad5c1e6a616c0a48944e7
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions