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
Loading
Please register or sign in to comment