From 9218687e4baaf0226ef16b58f78123d979711e5d Mon Sep 17 00:00:00 2001 From: Jim Miller Date: Wed, 4 Mar 2015 18:07:32 -0800 Subject: Implement additional fingerprint flows in Settings. - new onboarding flow ("locate sensor") - changed sensor location image - changed in-app sensor icon - remove fingerprint animation since it caused people to want to tap on it. - remove enrolled fingerprint templates when switching back to "none" or "slide" - use real in-app icon for fingerprint - much improved layout - basic landscape layout working - added 250ms delay to final enrollment step so it's not so jarring - delete is now working - rename wired, but not functional yet Bug 19592835 Change-Id: Ie3e73a2fc8f834f1b90e2746c4cc841216aa6031 --- res/drawable-nodpi/fingerprint_anim00.png | Bin 928 -> 0 bytes res/drawable-nodpi/fingerprint_anim01.png | Bin 3785 -> 0 bytes res/drawable-nodpi/fingerprint_anim02.png | Bin 6934 -> 0 bytes res/drawable-nodpi/fingerprint_anim03.png | Bin 11580 -> 0 bytes res/drawable-nodpi/fingerprint_anim04.png | Bin 14686 -> 0 bytes res/drawable-nodpi/fingerprint_anim05.png | Bin 15360 -> 0 bytes res/drawable-nodpi/fingerprint_anim06.png | Bin 14308 -> 0 bytes res/drawable-nodpi/fingerprint_anim07.png | Bin 13028 -> 0 bytes res/drawable-nodpi/fingerprint_anim08.png | Bin 11631 -> 0 bytes res/drawable-nodpi/fingerprint_anim09.png | Bin 9300 -> 0 bytes res/drawable-nodpi/fingerprint_anim10.png | Bin 6406 -> 0 bytes res/drawable-nodpi/fingerprint_anim11.png | Bin 3915 -> 0 bytes res/drawable-nodpi/fingerprint_anim12.png | Bin 928 -> 0 bytes .../fingerprint_in_app_indicator.png | Bin 35610 -> 0 bytes res/drawable-nodpi/fingerprint_sensor_location.png | Bin 15745 -> 0 bytes .../fingerprint_in_app_indicator.png | Bin 0 -> 52728 bytes res/drawable-xxhdpi/fingerprint_indicator.png | Bin 0 -> 11062 bytes .../fingerprint_sensor_location.png | Bin 0 -> 18792 bytes res/drawable/fingerprint_animation.xml | 35 ---------- res/drawable/fingerprint_progress_ring.xml | 21 ++++-- res/drawable/fingerprint_progress_ring_bg.xml | 22 ------- res/layout-land/fingerprint_enroll.xml | 69 ++++++++++---------- res/layout/fingerprint_enroll.xml | 71 +++++++++++---------- res/layout/fingerprint_rename_dialog.xml | 36 +++++++++++ res/values/colors.xml | 2 +- res/values/dimens.xml | 4 ++ res/values/strings.xml | 27 ++++++-- res/xml/security_settings_fingerprint.xml | 38 +++++++++++ 28 files changed, 188 insertions(+), 137 deletions(-) delete mode 100644 res/drawable-nodpi/fingerprint_anim00.png delete mode 100644 res/drawable-nodpi/fingerprint_anim01.png delete mode 100644 res/drawable-nodpi/fingerprint_anim02.png delete mode 100644 res/drawable-nodpi/fingerprint_anim03.png delete mode 100644 res/drawable-nodpi/fingerprint_anim04.png delete mode 100644 res/drawable-nodpi/fingerprint_anim05.png delete mode 100644 res/drawable-nodpi/fingerprint_anim06.png delete mode 100644 res/drawable-nodpi/fingerprint_anim07.png delete mode 100644 res/drawable-nodpi/fingerprint_anim08.png delete mode 100644 res/drawable-nodpi/fingerprint_anim09.png delete mode 100644 res/drawable-nodpi/fingerprint_anim10.png delete mode 100644 res/drawable-nodpi/fingerprint_anim11.png delete mode 100644 res/drawable-nodpi/fingerprint_anim12.png delete mode 100644 res/drawable-nodpi/fingerprint_in_app_indicator.png delete mode 100644 res/drawable-nodpi/fingerprint_sensor_location.png create mode 100644 res/drawable-xxhdpi/fingerprint_in_app_indicator.png create mode 100644 res/drawable-xxhdpi/fingerprint_indicator.png create mode 100644 res/drawable-xxhdpi/fingerprint_sensor_location.png delete mode 100644 res/drawable/fingerprint_animation.xml delete mode 100644 res/drawable/fingerprint_progress_ring_bg.xml create mode 100644 res/layout/fingerprint_rename_dialog.xml create mode 100644 res/xml/security_settings_fingerprint.xml (limited to 'res') diff --git a/res/drawable-nodpi/fingerprint_anim00.png b/res/drawable-nodpi/fingerprint_anim00.png deleted file mode 100644 index 97d2644..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim00.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim01.png b/res/drawable-nodpi/fingerprint_anim01.png deleted file mode 100644 index d6c86b8..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim01.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim02.png b/res/drawable-nodpi/fingerprint_anim02.png deleted file mode 100644 index ddc8ac3..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim02.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim03.png b/res/drawable-nodpi/fingerprint_anim03.png deleted file mode 100644 index 3435c46..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim03.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim04.png b/res/drawable-nodpi/fingerprint_anim04.png deleted file mode 100644 index 2f8f949..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim04.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim05.png b/res/drawable-nodpi/fingerprint_anim05.png deleted file mode 100644 index 47178b7..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim05.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim06.png b/res/drawable-nodpi/fingerprint_anim06.png deleted file mode 100644 index e0a29d1..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim06.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim07.png b/res/drawable-nodpi/fingerprint_anim07.png deleted file mode 100644 index d92d75b..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim07.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim08.png b/res/drawable-nodpi/fingerprint_anim08.png deleted file mode 100644 index 9c77868..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim08.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim09.png b/res/drawable-nodpi/fingerprint_anim09.png deleted file mode 100644 index 5ebaa0c..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim09.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim10.png b/res/drawable-nodpi/fingerprint_anim10.png deleted file mode 100644 index b1f9ca9..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim10.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim11.png b/res/drawable-nodpi/fingerprint_anim11.png deleted file mode 100644 index b8fb5d7..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim11.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_anim12.png b/res/drawable-nodpi/fingerprint_anim12.png deleted file mode 100644 index 97d2644..0000000 Binary files a/res/drawable-nodpi/fingerprint_anim12.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_in_app_indicator.png b/res/drawable-nodpi/fingerprint_in_app_indicator.png deleted file mode 100644 index 4af83e6..0000000 Binary files a/res/drawable-nodpi/fingerprint_in_app_indicator.png and /dev/null differ diff --git a/res/drawable-nodpi/fingerprint_sensor_location.png b/res/drawable-nodpi/fingerprint_sensor_location.png deleted file mode 100644 index 0486dba..0000000 Binary files a/res/drawable-nodpi/fingerprint_sensor_location.png and /dev/null differ diff --git a/res/drawable-xxhdpi/fingerprint_in_app_indicator.png b/res/drawable-xxhdpi/fingerprint_in_app_indicator.png new file mode 100644 index 0000000..fc56a9a Binary files /dev/null and b/res/drawable-xxhdpi/fingerprint_in_app_indicator.png differ diff --git a/res/drawable-xxhdpi/fingerprint_indicator.png b/res/drawable-xxhdpi/fingerprint_indicator.png new file mode 100644 index 0000000..fc5ef0f Binary files /dev/null and b/res/drawable-xxhdpi/fingerprint_indicator.png differ diff --git a/res/drawable-xxhdpi/fingerprint_sensor_location.png b/res/drawable-xxhdpi/fingerprint_sensor_location.png new file mode 100644 index 0000000..b95816f Binary files /dev/null and b/res/drawable-xxhdpi/fingerprint_sensor_location.png differ diff --git a/res/drawable/fingerprint_animation.xml b/res/drawable/fingerprint_animation.xml deleted file mode 100644 index a2c1030..0000000 --- a/res/drawable/fingerprint_animation.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - - - - - - - diff --git a/res/drawable/fingerprint_progress_ring.xml b/res/drawable/fingerprint_progress_ring.xml index a2d9cba..04578cd 100644 --- a/res/drawable/fingerprint_progress_ring.xml +++ b/res/drawable/fingerprint_progress_ring.xml @@ -15,15 +15,24 @@ --> - + + android:thickness="@dimen/fingerprint_ring_thickness" + android:useLevel="false"> + + + + + diff --git a/res/drawable/fingerprint_progress_ring_bg.xml b/res/drawable/fingerprint_progress_ring_bg.xml deleted file mode 100644 index 52d439b..0000000 --- a/res/drawable/fingerprint_progress_ring_bg.xml +++ /dev/null @@ -1,22 +0,0 @@ - - - - - diff --git a/res/layout-land/fingerprint_enroll.xml b/res/layout-land/fingerprint_enroll.xml index 8954d74..7bd41d1 100644 --- a/res/layout-land/fingerprint_enroll.xml +++ b/res/layout-land/fingerprint_enroll.xml @@ -62,62 +62,59 @@ - + android:layout_gravity="center" + android:gravity="center"> - + + android:layout_centerInParent="true"> + + - - - - + - - + - + + - + android:layout_gravity="center" + android:gravity="center"> - + + android:layout_centerInParent="true"> + + - - + - + - - + - + @@ -117,12 +119,15 @@