summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-08-08 17:00:47 +0200
committerJorim Jaggi <jjaggi@google.com>2014-08-12 20:52:26 +0000
commit76a1623afc170a13923b68f3256057d8adeb7937 (patch)
tree458a7e24ffb9da76391bb683bebfa73d2baa7f6b /core/java/android
parent9a0b289f060e68e42d3db0b843d55cf920f3da12 (diff)
Preparations for lockscreen launch animations
- Update unlock animations to new spec to make the consistent with lockscreen launch animations. - Introduce disappearing motion for security views which runs before we actually dismiss Keyguard. - If a window is running the un-force-hide animation, treat as it would have the wallpaper flag set so the wallpaper stays until the animation is completely done. - Run an animation on the wallpaper if the wallpaper is going away. Bug: 15991916 Bug: 16234603 Bug: 15326120 Change-Id: I063aa4f269ddcf75b9a705e90f0c3056b541b642
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index 5f0fa1841323..b6c650da9753 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -738,7 +738,13 @@ public interface WindowManagerPolicy {
* Create and return an animation to re-display a force hidden window.
*/
public Animation createForceHideEnterAnimation(boolean onWallpaper);
-
+
+ /**
+ * Create and return an animation to let the wallpaper disappear after being shown on a force
+ * hiding window.
+ */
+ public Animation createForceHideWallpaperExitAnimation();
+
/**
* Called from the input reader thread before a key is enqueued.
*