From 4751acc5c055d8b025b17e80ef977b1040073d8d Mon Sep 17 00:00:00 2001 From: Grace Cheng Date: Tue, 29 Nov 2022 03:01:36 +0000 Subject: [PATCH] Increase animation size and dialog width in BiometricPrompt, and change DT->LT color mapping for better visibility Increases animation asset size in BiometricPrompt, sets BP width to 560dp, and modifies DT->LT color mapping for better visibility Test: (manual) Open BP, observe new animation size, dialog width, and LT colors Fixes: 260015824 Change-Id: I6890058668b570ee3c73debdd00f31d78d26b3b1 --- .../IllustrationPreference/res/values/colors.xml | 1 + .../com/android/settingslib/widget/LottieColorUtils.java | 7 +++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/SettingsLib/IllustrationPreference/res/values/colors.xml b/packages/SettingsLib/IllustrationPreference/res/values/colors.xml index 0de7be0a5a080..5d6c343c1fbc0 100644 --- a/packages/SettingsLib/IllustrationPreference/res/values/colors.xml +++ b/packages/SettingsLib/IllustrationPreference/res/values/colors.xml @@ -40,6 +40,7 @@ #3c4043 #5f6368 #80868b + #9AA0A6 #bdc1c6 #dadce0 #e8eaed diff --git a/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/LottieColorUtils.java b/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/LottieColorUtils.java index 93b6acc9e160e..5e2c437353612 100644 --- a/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/LottieColorUtils.java +++ b/packages/SettingsLib/IllustrationPreference/src/com/android/settingslib/widget/LottieColorUtils.java @@ -40,10 +40,13 @@ public class LottieColorUtils { HashMap map = new HashMap<>(); map.put( ".grey600", - R.color.settingslib_color_grey300); + R.color.settingslib_color_grey400); + map.put( + ".grey700", + R.color.settingslib_color_grey500); map.put( ".grey800", - R.color.settingslib_color_grey200); + R.color.settingslib_color_grey300); map.put( ".grey900", R.color.settingslib_color_grey50);