diff options
author | Lyn Han <lynhan@google.com> | 2020-10-21 20:03:16 -0500 |
---|---|---|
committer | Lyn Han <lynhan@google.com> | 2020-10-22 17:48:38 +0000 |
commit | 233218f9806f2e71844f20b383fcc1d71dd24f13 (patch) | |
tree | bac2ded028dfc4d7fb594f8936e5e7c3c175fafd /rs/java/android/renderscript/ProgramStore.java | |
parent | 9810e057e934d7c49ab95bc7691870d143c3130c (diff) |
Animate bubble swap for update while collapsed
On reorder:
1) Animate bubbles to new location
2) Remove then add views at updated index
This animation has two parts running in parallel:
1) The updated bubble
- animates up, slightly above final position
- scales down for emphasis
- shows badge and dot (future cl to animate in badge as separate view)
2) The rest of stack bubbles
- animate down, slight below final positions
- scale down for emphasis
- hide badge and dot
Also: once the stack changes sides, update BadgedImageView#mOnLeft
- this fixes a bug where the badge briefly appears on the previous side
before quickly correcting to the updated side.
Bug: 170267512
Test: update bubble at bottom of collapsed stack
=> updated bubble swoops in above, becomes top bubble
=> previously top bubble swoops out below, settles into new
index with rest of stack
Test: repeat above on right side and after expanding/collapsing stack
=> no regressions
Change-Id: I146528efb1013da694698deca0059a51da70efd9
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions