From 0d210f6395072db4a4c53d4cb8fac4a59a3965b4 Mon Sep 17 00:00:00 2001 From: Jorim Jaggi Date: Fri, 10 Jul 2015 14:24:44 -0700 Subject: 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 --- packages/SystemUI/src/com/android/systemui/doze/DozeLog.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/SystemUI/src/com/android/systemui/doze') 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); } -- cgit v1.1