commit | 15d8ea3a9bb3668e434e7517061c9199db3e8cc2 | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Thu May 26 14:44:04 2022 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Fri May 27 13:55:19 2022 -0700 |
tree | f789b22cd9e57d4648c30b34e0117fdd7d49d3e0 | |
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