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
Loading
Please register or sign in to comment