summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Riddle Hsu <riddlehsu@google.com> 2023-05-04 17:14:10 +0000
committer Riddle Hsu <riddlehsu@google.com> 2023-05-05 12:54:16 +0000
commitd7a594d31c520606757b7f196ec1587cba0a6e2b (patch)
tree66742cdff88d07f9a02de23b80892ee73d44cc3e /cmds/bootanimation/BootAnimationUtil.cpp
parent1c5290f25c2d9e790453fb012244d2e61891e23c (diff)
Use local leash to animate PiP activity surface
Currently shell is not aware of letterbox info of activity. Especially PiP animation assume the surface is task which should be put at 0,0 in either task display area or a multi-window container after expanding. By using a local leash, the position of activity surface won't be erased by the end of pip animation, and the animation will look better by including the area of activity offset. Bug: 280028520 Test: In a ignore-orientation display or split screen. Task[A,B], B requested fixed orientation to trigger letterbox. B enter PiP, then then expand to original position. The offset from letterbox should not be changed. Change-Id: I1a24703ce0d9976d0f5dfeda0569226a5afa908c
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions