summaryrefslogtreecommitdiff
path: root/wifi/java/src
diff options
context:
space:
mode:
author Mateusz Cicheński <mateuszc@google.com> 2023-06-27 02:51:26 +0000
committer Mateusz Cicheński <mateuszc@google.com> 2023-06-28 16:16:21 +0000
commit771b7796214bb9da73d10cc583f9ab336ed40d96 (patch)
tree7ff7690560327119c498bfc2144cdc24969c2fc0 /wifi/java/src
parentc615401f232230e87a95ab735bc52d4076cdf089 (diff)
Make PipTransition use animators bounds for unhandled case
PipTransition is the last one to handle the rotation. It is first going through PipController.mRotationController, which sets the bounds to value A, then PipKeepClearAlgorithm updates those to B due to IME or shelf height adjustments, and finally PipTransition performs an unhandled PiP transition, but still uses the bounds from A, which are missing the keep clear area adjustment. The events are disjoint and we shouldn't rely on their ordering, hence keep clear area change should keep triggering animation. There is still a small flicker visible if the distance to travel by PiP is large (like with IME), because at that point the PipTransition callback comes before the animator finishes, thus putting it in the final position before the animators end through the finishTransaction. Bug: 285242520 Test: before http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/cLtiXGYUyItm2kNCCEkkWA Test: after http://recall/-/ekEuGtt9d9HWqkUtAzpHx8/iPs6fwdSXG3TE0IERmxA8 Change-Id: I713a02ae90c8bdd6ff11e43a5c4f9ff959d2342e
Diffstat (limited to 'wifi/java/src')
0 files changed, 0 insertions, 0 deletions