commit | 39b030394f201623ff35215c0461c847f4ec5804 | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Mon Jan 30 09:53:22 2023 -0800 |
committer | Hongwei Wang <hwwang@google.com> | Fri Feb 03 16:22:43 2023 -0800 |
tree | a3a221acbec42fedd8835b6abc73bae6ac2582f9 | |
parent | 3a07ba9745716aa270bc5b0fb2a56b1fc4053311 [diff] |
Implement app icon overlay when entering PiP This is done by - draw a bitmap with the theme background and app icon at its center - reparent the hardware buffer of that bitmap to the task leash - transform the bitmap leash to be unscaled and centered during the animation Video: http://recall/-/aaaaaabFQoRHlzixHdtY/cyuEoL0G1HOS8hjfRmlyPt Bug: 265998256 Test: turn on the flag and enter PiP, see video Change-Id: Ia7354d83e9b5701f1358b44b0db7bb32d48ccd2a