diff options
| author | Hongwei Wang <hwwang@google.com> | 2019-12-19 22:19:49 +0000 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2019-12-19 22:19:49 +0000 |
| commit | 41df8e465cb2a068f2ed443bedef13155d7e781a (patch) | |
| tree | 730f270d71aa67f462bee08110b6d0b8a85c9de5 /core/java/android | |
| parent | 2e673a1a9b8f719275fe1b6edbb4d30f197e4be9 (diff) | |
| parent | ebf1808abcffff462e0c714b1c4ee6e4d051257d (diff) | |
Merge "Move rotation bounds calculation into SysUI"
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/view/IPinnedStackController.aidl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/java/android/view/IPinnedStackController.aidl b/core/java/android/view/IPinnedStackController.aidl index f1d152ba29af..00edb3a29e87 100644 --- a/core/java/android/view/IPinnedStackController.aidl +++ b/core/java/android/view/IPinnedStackController.aidl @@ -45,4 +45,17 @@ interface IPinnedStackController { * {@param animationDuration} suggests the animation duration transitioning to PiP window. */ void startAnimation(in Rect destinationBounds, in Rect sourceRectHint, int animationDuration); + + /** + * Notifies the controller to reset on bounds animation, if there is any. + * This could happen when screen rotation is happening and we need to notify the WM to reset + * any running bounds animation on the pinned stack. + * {@param bounds} here is the final destination bounds. + */ + void resetBoundsAnimation(in Rect bounds); + + /** + * Reports the current default and movement bounds to controller. + */ + void reportBounds(in Rect defaultBounds, in Rect movementBounds); } |
