diff options
author | John Spurlock <jspurlock@google.com> | 2014-08-21 09:44:39 -0400 |
---|---|---|
committer | John Spurlock <jspurlock@google.com> | 2014-08-21 16:06:11 -0400 |
commit | e15452bb49d2531eee3086acb4763dd125f8053a (patch) | |
tree | e3e71eaf7c6baaddeed5f310880949f4417f09a2 /packages/SystemUI/res | |
parent | 0df011725ce254c39cf2b83e337247f439c99f82 (diff) | |
download | frameworks_base-e15452bb49d2531eee3086acb4763dd125f8053a.zip frameworks_base-e15452bb49d2531eee3086acb4763dd125f8053a.tar.gz frameworks_base-e15452bb49d2531eee3086acb4763dd125f8053a.tar.bz2 |
Doze: Improve icon treatment when dozing.
Instead of inverting them, simply desaturate. Also, apply
a constant background to small icons and give them some
transparency.
Bug:17137319
Change-Id: Id772b4fcd9ffa461bec26b87a74302012fb27867
Diffstat (limited to 'packages/SystemUI/res')
-rw-r--r-- | packages/SystemUI/res/values/colors.xml | 1 | ||||
-rw-r--r-- | packages/SystemUI/res/values/config.xml | 3 | ||||
-rw-r--r-- | packages/SystemUI/res/values/ids.xml | 1 |
3 files changed, 5 insertions, 0 deletions
diff --git a/packages/SystemUI/res/values/colors.xml b/packages/SystemUI/res/values/colors.xml index 40870bf..dea14e9 100644 --- a/packages/SystemUI/res/values/colors.xml +++ b/packages/SystemUI/res/values/colors.xml @@ -105,4 +105,5 @@ <color name="search_panel_card_color">#ffffff</color> <color name="keyguard_user_switcher_background_gradient_color">#77000000</color> + <color name="doze_small_icon_background_color">#ff434343</color> </resources> diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml index 42d9734..52dc000 100644 --- a/packages/SystemUI/res/values/config.xml +++ b/packages/SystemUI/res/values/config.xml @@ -189,6 +189,9 @@ <!-- Doze: interval between pulses when following the notification light --> <integer name="doze_notification_pulse_interval">30000</integer> + <!-- Doze: alpha to apply to small icons when dozing --> + <integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff --> + <!-- Volume: time to delay dismissing the volume panel after a click is performed --> <integer name="volume_panel_dismiss_delay">200</integer> diff --git a/packages/SystemUI/res/values/ids.xml b/packages/SystemUI/res/values/ids.xml index 6418930..4e93cd8 100644 --- a/packages/SystemUI/res/values/ids.xml +++ b/packages/SystemUI/res/values/ids.xml @@ -34,5 +34,6 @@ <item type="id" name="alpha_animator_start_value_tag"/> <item type="id" name="top_inset_animator_start_value_tag"/> <item type="id" name="height_animator_start_value_tag"/> + <item type="id" name="doze_saved_filter_tag"/> </resources> |