Pass the transform from Launcher to SysUI

Video: http://rcll/aaaaaabFQoRHlzixHdtY/hT5SXvaCy28P4UtfuoKiDw
Bug: 181342797
Test: see video
Change-Id: Id70d89b6dc82c7b9a33bd998b9ebdeb31703c37d
This commit is contained in:
Hongwei Wang
2021-03-09 15:17:09 -08:00
parent e76e1e564a
commit 5a4d91e54d
3 changed files with 39 additions and 12 deletions
@@ -149,10 +149,14 @@ public class RecentsAnimationController {
* accordingly. This should be called before `finish`
* @param taskId for which the leash should be updated
* @param destinationBounds bounds of the final PiP window
* @param windowCrop bounds to crop as part of final transform.
* @param float9 An array of 9 floats to be used as matrix transform.
*/
public void setFinishTaskBounds(int taskId, Rect destinationBounds) {
public void setFinishTaskBounds(int taskId, Rect destinationBounds, Rect windowCrop,
float[] float9) {
UI_HELPER_EXECUTOR.execute(
() -> mController.setFinishTaskBounds(taskId, destinationBounds));
() -> mController.setFinishTaskBounds(taskId, destinationBounds, windowCrop,
float9));
}
/**