summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-09-21 00:34:05 -0700
committerDianne Hackborn <hackbod@google.com>2009-09-21 17:26:41 -0700
commitbfe319e06aa56c081d0d94d64a8181291d7f7388 (patch)
treed0015a99d27fd84554b4b8757304f4b017f75d50 /core/java/android/view
parenta7719af31290bea50d822b535b6a886ba7a88097 (diff)
downloadframeworks_base-bfe319e06aa56c081d0d94d64a8181291d7f7388.zip
frameworks_base-bfe319e06aa56c081d0d94d64a8181291d7f7388.tar.gz
frameworks_base-bfe319e06aa56c081d0d94d64a8181291d7f7388.tar.bz2
Turn animations on by default.
Add API to skip the animation for a particular start activity, so that a latter better one can be used. Fix Theme.NoDisplay to actually work. Fiddle with various animations: don't do a different animation for task switching, try a scale animation for switching in/out of the wallpaper. Adjust the animation duration so that at normal speed we have something more like the slower animation option (so slow is now the default). Change-Id: Ieba9f3db0bd9a762a19b327a3ecccbc7b547893d
Diffstat (limited to 'core/java/android/view')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index 45ff27e..cc5aeb1 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -314,7 +314,9 @@ public interface WindowManagerPolicy {
public boolean showLw(boolean doAnimation);
}
- /** No transition happening. */
+ /** Not set up for a transition. */
+ public final int TRANSIT_UNSET = 0;
+ /** No animation for transition. */
public final int TRANSIT_NONE = 0;
/** Window has been added to the screen. */
public final int TRANSIT_ENTER = 1;