diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-05-20 14:13:23 -0700 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-05-26 13:34:34 -0700 |
commit | 864e64bacee1d09b60c1c8741b7195cf6ce7aa22 (patch) | |
tree | 4fdb93f457e3b14b609b4799d09da67b0ac8e794 /packages/SystemUI/res/drawable/lockscreen_fingerprint_error_state_to_fp_animation.xml | |
parent | 6f63a27584e555622ecf1be733983640c276d423 (diff) | |
download | frameworks_base-864e64bacee1d09b60c1c8741b7195cf6ce7aa22.zip frameworks_base-864e64bacee1d09b60c1c8741b7195cf6ce7aa22.tar.gz frameworks_base-864e64bacee1d09b60c1c8741b7195cf6ce7aa22.tar.bz2 |
Polish animations for fingerprint icon
- Make error state animation faster.
- Add animation for
-- Draw on when turning on the screen
-- Draw off when unlocking
-- Error state -> normal state
Bug: 21269675
Change-Id: If09c0a35ce194fbeeb86151d45b4cfa81c9999c5
Diffstat (limited to 'packages/SystemUI/res/drawable/lockscreen_fingerprint_error_state_to_fp_animation.xml')
-rw-r--r-- | packages/SystemUI/res/drawable/lockscreen_fingerprint_error_state_to_fp_animation.xml | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/packages/SystemUI/res/drawable/lockscreen_fingerprint_error_state_to_fp_animation.xml b/packages/SystemUI/res/drawable/lockscreen_fingerprint_error_state_to_fp_animation.xml new file mode 100644 index 0000000..0351524 --- /dev/null +++ b/packages/SystemUI/res/drawable/lockscreen_fingerprint_error_state_to_fp_animation.xml @@ -0,0 +1,53 @@ +<?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 + --> +<animated-vector + xmlns:android="http://schemas.android.com/apk/res/android" + android:drawable="@drawable/lockscreen_fingerprint_error_state_to_fp" > + <target + android:name="white_fingerprint_ridges" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_white_fingerprint_ridges_animation" /> + <target + android:name="ridge_5_path" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_ridge_5_path_animation" /> + <target + android:name="ridge_7_path" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_ridge_7_path_animation" /> + <target + android:name="ridge_6_path" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_ridge_6_path_animation" /> + <target + android:name="ridge_2_path" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_ridge_2_path_animation" /> + <target + android:name="ridge_1_path" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_ridge_1_path_animation" /> + <target + android:name="group_2" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_group_2_animation" /> + <target + android:name="path_2" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_path_2_animation" /> + <target + android:name="path_1" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_path_1_animation" /> + <target + android:name="group_1" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_group_1_animation" /> + <target + android:name="path_3" + android:animation="@anim/lockscreen_fingerprint_error_state_to_fp_path_3_animation" /> +</animated-vector> |