diff options
| author | 2022-07-28 08:57:40 +0000 | |
|---|---|---|
| committer | 2022-08-30 07:09:27 +0000 | |
| commit | 5b09708ef69dcbf10d01bfc24ac6ae9667d37731 (patch) | |
| tree | fa4d95e2c4557ae00cdc3df16288c0e98828f239 /api/api.go | |
| parent | cd1952c848f7bacf6d131eb2bd7356c1830804bb (diff) | |
[Re-land]Improve enter split transition
Improve enter split transition by two part changes.
1. Enter split with resizing animation:
We directly show split but no animation before, it might looks
bad to user because UI change too many things in few frames.
2. Fix flicker cause by black screen when split active:
When we start intent on side stage task, the top split root task
will go to top and current top one task will be set as invisible
then cause black screen due to split root task is full screen.
Solve this by use new wct api setForceTranslucent to make split
root task as translucent when split inactive. We need to reset
it when split active otherwise it cause flicker when back to home.
Except above change, we also need to set side stage bounds to
area outside of screen otherwise it still cause flicker because it
will show a flash of shadow when launch intent on side stage.
This solution should be removed after shell transition fully
landing because in shell transition we could make those transitions
be done in one transition.
3. Fix b/243634747 caused by the previous CL. We should ensure split top
root is non-translucnet after split active by any flow.
4. Fix b/243735702 which occured on the previous CL. Because sync
transcation might apply after the animation, we could remove apply
when split active but only apply by the animator.
Fix: 223325631
Fix: 243634747
Fix: 243735702
Test: manual
Test: pass existing tests
Change-Id: Id8822aafe9eb0d6d5b0282cea256db622b9730d0
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions