commit | 5400de3599222d5ba2a688fb438b901343cff34c | [log] [tgz] |
---|---|---|
author | Ben Lin <linben@google.com> | Wed May 06 19:28:09 2020 -0700 |
committer | Ben Lin <linben@google.com> | Fri May 15 15:55:27 2020 -0700 |
tree | 6887ac793bc1dff15fae593fb603ac689329b923 | |
parent | 0a1a911a5e2162f8d083508da0fd029cc40880c1 [diff] |
Update bound as user moves PIP, and reuse it for snapAlgorithm reentry. Update PipTaskOrganizer's last reported bounds as user moves the PIP around. We then use this bound to calculate the snap fraction, and then restore it on display rotation. Bug: 147155783 Test: Start PIP, move PIP to different corner, rotate - same corner. Change-Id: Ieb7054d9b66557aae63260767689d6523d87cdca