From ec5501acd8d3e2762f751ab48d7ccc25ce0b11b8 Mon Sep 17 00:00:00 2001 From: Steven Ross Date: Tue, 13 Mar 2012 15:51:14 -0400 Subject: Adding lock icon to FaceLockAreaView on lockscreen fixes 5394522 This makes the transition from the backup to Face Unlock invisible to the user, using three layers: the base background layer (also used in Face Unlock) the spotlight mask layer (black alpha = .8), representing a size-0 spotlight The cancel button, which would incorrectly resize to full-screen if a View with a background were used instead of the current ImageView Change-Id: Ieb433baf171088e0af06f183fcdb5ddda6001f01 --- core/res/res/drawable-hdpi/ic_facial_backup.png | Bin 0 -> 583 bytes core/res/res/drawable-hdpi/intro_bg.png | Bin 0 -> 202336 bytes core/res/res/drawable-mdpi/ic_facial_backup.png | Bin 0 -> 520 bytes core/res/res/drawable-mdpi/intro_bg.png | Bin 0 -> 90061 bytes core/res/res/drawable-xhdpi/ic_facial_backup.png | Bin 0 -> 841 bytes core/res/res/drawable-xhdpi/intro_bg.png | Bin 0 -> 343210 bytes .../keyguard_screen_password_landscape.xml | 25 ++++++++++++++++++--- .../keyguard_screen_password_portrait.xml | 25 ++++++++++++++++++--- .../keyguard_screen_unlock_landscape.xml | 25 ++++++++++++++++++--- .../keyguard_screen_unlock_portrait.xml | 25 ++++++++++++++++++--- .../layout/keyguard_screen_password_landscape.xml | 25 ++++++++++++++++++--- .../layout/keyguard_screen_password_portrait.xml | 25 ++++++++++++++++++--- .../layout/keyguard_screen_unlock_landscape.xml | 25 ++++++++++++++++++--- .../res/layout/keyguard_screen_unlock_portrait.xml | 25 ++++++++++++++++++--- core/res/res/values/colors.xml | 2 +- 15 files changed, 177 insertions(+), 25 deletions(-) create mode 100644 core/res/res/drawable-hdpi/ic_facial_backup.png create mode 100644 core/res/res/drawable-hdpi/intro_bg.png create mode 100644 core/res/res/drawable-mdpi/ic_facial_backup.png create mode 100644 core/res/res/drawable-mdpi/intro_bg.png create mode 100644 core/res/res/drawable-xhdpi/ic_facial_backup.png create mode 100644 core/res/res/drawable-xhdpi/intro_bg.png diff --git a/core/res/res/drawable-hdpi/ic_facial_backup.png b/core/res/res/drawable-hdpi/ic_facial_backup.png new file mode 100644 index 000000000000..295610910dda Binary files /dev/null and b/core/res/res/drawable-hdpi/ic_facial_backup.png differ diff --git a/core/res/res/drawable-hdpi/intro_bg.png b/core/res/res/drawable-hdpi/intro_bg.png new file mode 100644 index 000000000000..a758e7dd1b89 Binary files /dev/null and b/core/res/res/drawable-hdpi/intro_bg.png differ diff --git a/core/res/res/drawable-mdpi/ic_facial_backup.png b/core/res/res/drawable-mdpi/ic_facial_backup.png new file mode 100644 index 000000000000..6ed1327a626a Binary files /dev/null and b/core/res/res/drawable-mdpi/ic_facial_backup.png differ diff --git a/core/res/res/drawable-mdpi/intro_bg.png b/core/res/res/drawable-mdpi/intro_bg.png new file mode 100644 index 000000000000..540da311dcc1 Binary files /dev/null and b/core/res/res/drawable-mdpi/intro_bg.png differ diff --git a/core/res/res/drawable-xhdpi/ic_facial_backup.png b/core/res/res/drawable-xhdpi/ic_facial_backup.png new file mode 100644 index 000000000000..942cf239fff9 Binary files /dev/null and b/core/res/res/drawable-xhdpi/ic_facial_backup.png differ diff --git a/core/res/res/drawable-xhdpi/intro_bg.png b/core/res/res/drawable-xhdpi/intro_bg.png new file mode 100644 index 000000000000..00466c539e8a Binary files /dev/null and b/core/res/res/drawable-xhdpi/intro_bg.png differ diff --git a/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml b/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml index 43d0a2c5b31f..2495b6771458 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_password_landscape.xml @@ -153,13 +153,32 @@ - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml b/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml index 8c02888b0e9b..fb62eb68d76b 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_password_portrait.xml @@ -156,13 +156,32 @@ - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml b/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml index 802ef822f9c3..53ecbac2935a 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_unlock_landscape.xml @@ -124,13 +124,32 @@ - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml b/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml index 40f24929f9ba..577668fe0da0 100644 --- a/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml +++ b/core/res/res/layout-sw600dp/keyguard_screen_unlock_portrait.xml @@ -119,13 +119,32 @@ - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/layout/keyguard_screen_password_landscape.xml b/core/res/res/layout/keyguard_screen_password_landscape.xml index 66d7fd79044c..3bea16ce45b6 100644 --- a/core/res/res/layout/keyguard_screen_password_landscape.xml +++ b/core/res/res/layout/keyguard_screen_password_landscape.xml @@ -208,7 +208,8 @@ /> - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/layout/keyguard_screen_password_portrait.xml b/core/res/res/layout/keyguard_screen_password_portrait.xml index 426b2f7f139e..6b409aa21678 100644 --- a/core/res/res/layout/keyguard_screen_password_portrait.xml +++ b/core/res/res/layout/keyguard_screen_password_portrait.xml @@ -199,7 +199,8 @@ /> - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/layout/keyguard_screen_unlock_landscape.xml b/core/res/res/layout/keyguard_screen_unlock_landscape.xml index 103865706fff..7f9aaa048f88 100644 --- a/core/res/res/layout/keyguard_screen_unlock_landscape.xml +++ b/core/res/res/layout/keyguard_screen_unlock_landscape.xml @@ -161,7 +161,8 @@ /> - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/layout/keyguard_screen_unlock_portrait.xml b/core/res/res/layout/keyguard_screen_unlock_portrait.xml index 336faa19b182..9a2e02455306 100644 --- a/core/res/res/layout/keyguard_screen_unlock_portrait.xml +++ b/core/res/res/layout/keyguard_screen_unlock_portrait.xml @@ -170,7 +170,8 @@ /> - + android:background="@drawable/intro_bg"> + + + + + + diff --git a/core/res/res/values/colors.xml b/core/res/res/values/colors.xml index b1a4b42498c7..5ff2c01167ae 100644 --- a/core/res/res/values/colors.xml +++ b/core/res/res/values/colors.xml @@ -113,7 +113,7 @@ #ff9a9a9a - #000000 + #CC000000 #fff3f3f3 -- cgit v1.2.3-59-g8ed1b