diff options
| author | 2022-05-26 14:44:04 -0700 | |
|---|---|---|
| committer | 2022-05-27 13:55:19 -0700 | |
| commit | 15d8ea3a9bb3668e434e7517061c9199db3e8cc2 (patch) | |
| tree | f789b22cd9e57d4648c30b34e0117fdd7d49d3e0 /libs/androidfw/Util.cpp | |
| parent | 999a0666acaa58eab564648f9eefdd7f2fce1ac6 (diff) | |
Fix the animation position when launch into PiP
When attach the task snapshot to the leash of newly created Task, move
its position to the new Task's coordinates and apply the crop with scale
in mind (snapshot is scaled to its task size).
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/d72OCvyYh0G0Z6YrEwyXMp
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/eacts7tgSeN28R3BWpXAem
Bug: 232984253
Test: launch into PiP with source rect hint middle of screen, \
see also the video
Change-Id: Ib79e75d7e6f6f667e50db197d5377b87cffc714d
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions