diff options
author | Mady Mellor <madym@google.com> | 2021-05-26 15:05:44 -0700 |
---|---|---|
committer | Mady Mellor <madym@google.com> | 2021-05-27 13:40:43 -0700 |
commit | 5f00d56451bf672a8e5c78c3f9fd8187a09f9a64 (patch) | |
tree | ccfabaf40dac6976101cb801ed6c29a3470a83a8 /libs/hwui/renderthread/CacheManager.cpp | |
parent | bb53cce0dbaea0f3a6018b64db4152332fac9c5e (diff) |
Add shadows back to bubble avatar
* Add shadows back -- icon lib is no longer adding shadows but
bubbles should still have them for background protection.
* The shadow is active on all bubbles when:
- the stack is being dragged around & bubbles trail behind it
- the stack is expanded (the bubbles can be dragged to dismiss &
can show on top of the expanded view or overflow)
* When the stack is resting, only the top two bubbles show a shadow
& the bubbles below that animate their Z translation so the change
is smooth.
* Also put the # of bubbles we show in the stack in a static int &
updated usages
Test: visual - add 5 of the 'test bubbles' from the test app
and notice the white backgrounds don't blend together
due to the shadow & that they are distinct when
placed on a white background
- drag / fling the stack around & notice shadows show
for all the bubbles while moving but once they come
to rest you don't see a stack of shadows
Bug: 183657577
Change-Id: I0c273f4d0261db9eac1b49ef584fd62fbb67cc9a
Diffstat (limited to 'libs/hwui/renderthread/CacheManager.cpp')
0 files changed, 0 insertions, 0 deletions