OSDN Git Service

Maximize animation when activity is relaunched.
authorFilip Gruszczynski <gruszczy@google.com>
Sat, 5 Sep 2015 00:15:01 +0000 (17:15 -0700)
committerFilip Gruszczynski <gruszczy@google.com>
Tue, 8 Sep 2015 15:41:29 +0000 (08:41 -0700)
commit55a309f8e2a972a2f0ef0cd86736d3c2f47a75f6
treec2b400132acf0ac67ae159e021969ed3243b8271
parentc6c28731e5b49d5711d5cf22dd6db0e855a7932f
Maximize animation when activity is relaunched.

This is the first step towards maximize operation animations. It
builds upon preserving old window and starts clip+translate animation
of the new window from the frame of the old window. It mostly uses the
existing infrastructure, expanding the idea of opening apps list to
include also relaunching apps and treating maximize operation as an app
transition.

Change-Id: I7be402bd329c2fe5bf7d53a2a910532286a8b194
services/core/java/com/android/server/am/ActivityStackSupervisor.java
services/core/java/com/android/server/wm/AppTransition.java
services/core/java/com/android/server/wm/AppWindowToken.java
services/core/java/com/android/server/wm/WindowManagerService.java
services/core/java/com/android/server/wm/WindowState.java
services/core/java/com/android/server/wm/WindowStateAnimator.java
services/core/java/com/android/server/wm/WindowSurfacePlacer.java