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/res/anim/navbar_fade_in.xml | 22 ++++++++++++++++++++++ packages/SystemUI/res/values/styles.xml | 5 +++++ 2 files changed, 27 insertions(+) create mode 100644 packages/SystemUI/res/anim/navbar_fade_in.xml (limited to 'packages/SystemUI/res') diff --git a/packages/SystemUI/res/anim/navbar_fade_in.xml b/packages/SystemUI/res/anim/navbar_fade_in.xml new file mode 100644 index 0000000..e3429e6 --- /dev/null +++ b/packages/SystemUI/res/anim/navbar_fade_in.xml @@ -0,0 +1,22 @@ + + + + diff --git a/packages/SystemUI/res/values/styles.xml b/packages/SystemUI/res/values/styles.xml index 1889862..8241ddf 100644 --- a/packages/SystemUI/res/values/styles.xml +++ b/packages/SystemUI/res/values/styles.xml @@ -206,6 +206,11 @@ @*android:anim/shrink_fade_out_from_bottom + + -- cgit v1.1