diff options
| author | 2024-07-15 13:37:49 -0700 | |
|---|---|---|
| committer | 2024-07-15 22:12:41 +0000 | |
| commit | 252b4d996a03b8c631badf5e508f766e0bee89f2 (patch) | |
| tree | 8bae48b7ea2e3d628325589d9f140a9dab9efad0 /api/api.go | |
| parent | a312222cbd77b157d31393310fc61ff9583eb968 (diff) | |
Fix scale/translation for fixed rotation PiP enter
Make sure we are properly manipulating the leash during
swipe PiP to home with fixed rotation, by scaling until
the first edge matches the target bounds.
Also make sure to adjust the translation in the proper direction
for cases that involve rotation of the leash from either
ROTATION_90 or ROTATION_270.
These manipulations are also made sure to match those done in Shell
at the jumpcut (TRANSIT_PIP), when the launcher animation is at
fraction=1.0.
Wide video
Counter-clockwise: https://recall.googleplex.com/projects/6af09b54-0cd3-4ca5-ac80-10618382ff72/sessions/ed31b229-9100-4916-be54-27b91909ef12
Clockwise: https://recall.googleplex.com/projects/6af09b54-0cd3-4ca5-ac80-10618382ff72/sessions/7685431a-8ef2-493e-ba80-a7dbb64010c0
Non-wide video:
Counter-clockwise: https://recall.googleplex.com/projects/6af09b54-0cd3-4ca5-ac80-10618382ff72/sessions/c06e24f9-c1db-4f15-8ad3-6abe4c82bb77
Clockwise: https://recall.googleplex.com/projects/6af09b54-0cd3-4ca5-ac80-10618382ff72/sessions/81afd0d6-6057-40fa-a035-97470dc0561e
Bug: 352767168
Flag: EXEMPT bugfix
Test: swipe PiP to home with 21:9 video from landscape to portrait
Change-Id: I5a1b3f79c338ece3e26682c2ae3a52d9a9a226ab
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions