summaryrefslogtreecommitdiffstats
path: root/core/java/android/view/WindowManagerPolicy.java
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-08-19 12:39:43 -0700
committerDianne Hackborn <hackbod@google.com>2009-08-19 17:45:56 -0700
commitf8fbdb6b920562473dc47046924ac8ffed0b8daf (patch)
tree24caa0567a13d5f7d3b6691c30a2edcfaf0029d6 /core/java/android/view/WindowManagerPolicy.java
parent7773e87178ba4978184198d83aa68498887a878f (diff)
downloadframeworks_base-f8fbdb6b920562473dc47046924ac8ffed0b8daf.zip
frameworks_base-f8fbdb6b920562473dc47046924ac8ffed0b8daf.tar.gz
frameworks_base-f8fbdb6b920562473dc47046924ac8ffed0b8daf.tar.bz2
Add wallpaper transition animations.
The window manager now detects when a transition between two wallpaper activities is happening, and switches to a new set of animations for that. The animations I defined here are just an arbitrary something that can work in this case.
Diffstat (limited to 'core/java/android/view/WindowManagerPolicy.java')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index f4e9900..ea08f33 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -344,6 +344,12 @@ public interface WindowManagerPolicy {
public final int TRANSIT_TASK_TO_FRONT = 10;
/** A window in an existing task is being put below all other tasks. */
public final int TRANSIT_TASK_TO_BACK = 11;
+ /** A window in a new activity is being opened on top of an existing one,
+ * and both are on top of the wallpaper. */
+ public final int TRANSIT_WALLPAPER_ACTIVITY_OPEN = 12;
+ /** The window in the top-most activity is being closed to reveal the
+ * previous activity, and both are on top of he wallpaper. */
+ public final int TRANSIT_WALLPAPER_ACTIVITY_CLOSE = 13;
/** Screen turned off because of power button */
public final int OFF_BECAUSE_OF_USER = 1;