Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ed991adc authored by Coco Duan's avatar Coco Duan Committed by cocod
Browse files

Implement UMO transition from hub to shade

When UMO moves from hub to shade, avoid resizing or changing the alpha
while the location remains on hub. Use fade instead of guided as the
transition type, since UMO on hub varies in size and has dynamic bounds
once user scrolls horizontally. Using its bounds as the start bounds in
the calculation results in a poor transition.

Also fix location calculation to return whether UMO is on hub for dreaming
and non-dreaming cases.
According to the motion spec, the squishiness fraction also needs to be
set on the media host as the shade fades in. This is handled in QsImpl.

Bug: b/311234666
Test: atest MediaHierarchyManagerTest
Test: atest QSImplTest
Flag: com.android.systemui.communal_hub
Change-Id: Ia38ff7141bfc6713872b2fa2f869a3c520f224d1
parent 8c255121
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment