summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/doze
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 /packages/SystemUI/src/com/android/systemui/doze
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 'packages/SystemUI/src/com/android/systemui/doze')
-rw-r--r--packages/SystemUI/src/com/android/systemui/doze/DozeLog.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/doze/DozeLog.java b/packages/SystemUI/src/com/android/systemui/doze/DozeLog.java
index 3f72125..9eb768c 100644
--- a/packages/SystemUI/src/com/android/systemui/doze/DozeLog.java
+++ b/packages/SystemUI/src/com/android/systemui/doze/DozeLog.java
@@ -244,12 +244,12 @@ public class DozeLog {
}
@Override
- public void onScreenTurnedOn() {
+ public void onStartedWakingUp() {
traceScreenOn();
}
@Override
- public void onScreenTurnedOff(int why) {
+ public void onFinishedGoingToSleep(int why) {
traceScreenOff(why);
}