summaryrefslogtreecommitdiffstats
path: root/core/java/android/view
diff options
context:
space:
mode:
authorJorim Jaggi <jjaggi@google.com>2015-07-10 14:24:44 -0700
committerJorim Jaggi <jjaggi@google.com>2015-07-28 23:02:54 +0000
commit0d210f6395072db4a4c53d4cb8fac4a59a3965b4 (patch)
tree7b63f0a48ec2b0fa8b25604efb17ccade833b568 /core/java/android/view
parent751a96a040ada09199ca3356d9a515ec090d1237 (diff)
downloadframeworks_base-0d210f6395072db4a4c53d4cb8fac4a59a3965b4.zip
frameworks_base-0d210f6395072db4a4c53d4cb8fac4a59a3965b4.tar.gz
frameworks_base-0d210f6395072db4a4c53d4cb8fac4a59a3965b4.tar.bz2
Animation for touch, wake and unlock
- Add callback to inform SysUI when the screen has been unblocked and turned on. - Cleanup inconsistent messaging about device interactive/screen on and off. - Add callbacks to inform SysUI about screen states - Implement a quick fade for the scrim after touch, wake, and unlock. First, start with a black scrim on top of everything, and then fade it out. - Make sure we play the normal unlock animation when device is pulsing - Override navigation bar animations for touch, wake and unlock: Fade in the same manner as the scrim. Bug: 22571198 Bug: 21855614 Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
Diffstat (limited to 'core/java/android/view')
-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 be564f8..aaf6052 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -995,6 +995,12 @@ public interface WindowManagerPolicy {
public void screenTurningOn(ScreenOnListener screenOnListener);
/**
+ * Called when the device has actually turned on the screen, i.e. the display power state has
+ * been set to ON and the screen is unblocked.
+ */
+ public void screenTurnedOn();
+
+ /**
* Called when the device has turned the screen off.
*/
public void screenTurnedOff();