diff options
author | Mady Mellor <madym@google.com> | 2021-05-24 17:57:20 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2021-05-27 13:41:22 -0700 |
commit | 238f122f474d2c1bdfaf033443d7fc54c5a3c7c2 (patch) | |
tree | 6f17eb426ca6857b7449b2aad3d1eafc57fb60ff /libs/hwui/renderthread/CacheManager.cpp | |
parent | 5f00d56451bf672a8e5c78c3f9fd8187a09f9a64 (diff) |
Flexible maximum number of bubbles to show
* adjust the default spacing so that its small enough that 5 bubbles
can show on crosshatch (5 is the default)
* Add max bubbles to BubblePositioner, replace the other usages
Test: atest BubbleDataTest
Test: manual - have 5 bubbles
- adjust screen size to largest
- open the stack
=> notice that the number of bubbles have changed and
they all fit on the screen without overlap
- repeat & check the different densities
Bug: 187715444
Change-Id: I4794ed89541eeb573c367748f980cf7ffe45d3f3
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions