OSDN Git Service

Implement transition for docking task in recents #4
authorJorim Jaggi <jjaggi@google.com>
Mon, 14 Mar 2016 16:50:37 +0000 (17:50 +0100)
committerJorim Jaggi <jjaggi@google.com>
Fri, 25 Mar 2016 21:41:31 +0000 (14:41 -0700)
commit8448f339f9207aa1e554b1a1e537ce269462807a
tree98c554b61ae2d0a565e94367213dd982e4705af9
parentde63d441d7daf0503bcc6d5fd3f4f7efe06e23d3
Implement transition for docking task in recents #4

Convert aspect scaled animations from using scaling to achieve
the translation to use translation animations directly. We set
the pivot point to the middle of the thumbnail and then manually
translate the surface.

This will allow us to use curved motion in transition when docking
a task from recents.

Bug: 27607141
Change-Id: I5ef3bf2352baace2a3829097d2d7da8f04857ec6
services/core/java/com/android/server/wm/AppTransition.java
services/core/java/com/android/server/wm/AppWindowAnimator.java
services/core/java/com/android/server/wm/WindowManagerService.java
services/core/java/com/android/server/wm/WindowSurfacePlacer.java