diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-07-10 14:24:44 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-07-28 23:02:54 +0000 |
commit | 0d210f6395072db4a4c53d4cb8fac4a59a3965b4 (patch) | |
tree | 7b63f0a48ec2b0fa8b25604efb17ccade833b568 /packages/SystemUI/res/anim | |
parent | 751a96a040ada09199ca3356d9a515ec090d1237 (diff) | |
download | frameworks_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/res/anim')
-rw-r--r-- | packages/SystemUI/res/anim/navbar_fade_in.xml | 22 |
1 files changed, 22 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2015 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<alpha xmlns:android="http://schemas.android.com/apk/res/android" + android:fromAlpha="0.0" + android:toAlpha="1.0" + android:interpolator="@android:interpolator/linear_out_slow_in" + android:duration="200"/> |