diff options
| author | 2024-11-06 10:43:45 -0800 | |
|---|---|---|
| committer | 2024-11-07 13:41:26 -0800 | |
| commit | 6e1e3a56ddf0a14338ab403ab15dc5770b177c89 (patch) | |
| tree | 14b7bcb640dfaacb297640b0dd974ee5929870aa /api/api.go | |
| parent | b1221ae0815610b0575a2b7e3878aba70b55f4ec (diff) | |
Offset src-rect by display cutouts if needed
For PiP2, we need to make sure source rect hint is adjusted
by display cutouts if needed to avoid flickers when entering.
Also refactored code portions handling fixed rotation in PiP2.
Bug: 377957432
Flag: com.android.wm.shell.enable_pip2
Test: enter fixed rotation PiP2 from ROTATION_90 on felix apidemos
Change-Id: I813245950213db4289e3b076bd7301be2be8847c
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions