summaryrefslogtreecommitdiffstats
path: root/core/java/android
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2014-05-30 23:17:03 +0200
committerJorim Jaggi <jjaggi@google.com>2014-05-31 02:48:06 +0200
commite29b2dbc762bfa66093d76f5a65f55328d8753c9 (patch)
tree715078ec5618bb210f671a9a8679289a301ffb95 /core/java/android
parent283c907a6a84c5d9ffe38d3468e76131e6917105 (diff)
downloadframeworks_base-e29b2dbc762bfa66093d76f5a65f55328d8753c9.zip
frameworks_base-e29b2dbc762bfa66093d76f5a65f55328d8753c9.tar.gz
frameworks_base-e29b2dbc762bfa66093d76f5a65f55328d8753c9.tar.bz2
Fade scrim in unlock animation.
This also introduces a startTime which gets sent from window manager to SystemUI, which tells when the animation should start, to allow for a more synchronized animation with fading out the scrim and fading in the activity behind. Bug: 15163546 Change-Id: I16212b1ef9eb76f1f98734da1d14fc5b7e626937
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index d45d686..2b4677c 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -1199,6 +1199,9 @@ public interface WindowManagerPolicy {
/**
* Notifies the keyguard to start fading out.
+ *
+ * @param startTime the start time of the animation in uptime milliseconds
+ * @param fadeoutDuration the duration of the exit animation, in milliseconds
*/
- public void startKeyguardExitAnimation(long fadeoutDuration);
+ public void startKeyguardExitAnimation(long startTime, long fadeoutDuration);
}