commit | 9d3e31e67c509a0c9d09228ba95fdb893cf61a5a | [log] [tgz] |
---|---|---|
author | Hongwei Wang <hwwang@google.com> | Tue Jun 15 12:04:17 2021 -0700 |
committer | Hongwei Wang <hwwang@google.com> | Tue Jun 15 12:04:17 2021 -0700 |
tree | 23c93249114d27aaed91341f1888af1420b22638 | |
parent | b8cec440cc0840c18c67856714b22ab9a365738c [diff] |
Use RectFSpringAnim for auto-enter-pip Make SwipePipToHomeAnimator a subclass of RectFSpringAnim and use the bounds calculated from latter for auto-enter-pip transition. Note that the landscape to portrait case may not fully comply to RectFSpringAnim as we calculate the position separately in SwipePipToHomeAnimator. Video: http://recall/-/aaaaaabFQoRHlzixHdtY/CWBPU2A6vB8CeTFRanQLx Bug: 184789411 Test: manual, see video Change-Id: I67dae09e682b7d8f1a1f08995eb3bcf76bdf7417