Loading packages/SystemUI/res/values/colors.xml +6 −0 Original line number Diff line number Diff line Loading @@ -117,4 +117,10 @@ <!-- The color of the navigation bar icons. Need to be in sync with ic_sysbar_* --> <color name="navigation_bar_icon_color">#E5FFFFFF</color> <!-- Shadow color for the first pixels around the fake shadow for recents. --> <color name="fake_shadow_start_color">#44000000</color> <!-- Shadow color for the furthest pixels around the fake shadow for recents. --> <color name="fake_shadow_end_color">#03000000</color> </resources> packages/SystemUI/res/values/config.xml +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ <!-- The number of app icons we keep in memory --> <integer name="config_recents_max_icon_count">20</integer> <!-- Whether to use cheap, less good looking shadows for recents --> <bool name="config_recents_fake_shadows">false</bool> <!-- The theme to use for RecentsActivity. --> <item type="style" name="config_recents_activity_theme">@style/RecentsTheme.Wallpaper</item> Loading packages/SystemUI/res/values/dimens.xml +7 −1 Original line number Diff line number Diff line Loading @@ -292,7 +292,7 @@ <dimen name="unlock_falsing_threshold">80dp</dimen> <!-- Lockscreen falsing threshold for quick settings. --> <dimen name="qs_falsing_threshold">80dp</dimen> <dimen name="qs_falsing_threshold">40dp</dimen> <!-- Falsing threshold used when dismissing notifications from the lockscreen. --> <dimen name="swipe_helper_falsing_threshold">70dp</dimen> Loading Loading @@ -496,4 +496,10 @@ <!-- The maximum width of the navigation bar ripples. --> <dimen name="key_button_ripple_max_width">95dp</dimen> <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card and the shadow. --> <dimen name="fake_shadow_inset">1dp</dimen> <dimen name="fake_shadow_size">8dp</dimen> </resources> packages/SystemUI/src/com/android/systemui/recents/Constants.java +0 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,6 @@ public class Constants { public static final boolean EnableDevAppInfoOnLongPress = true; // Enables the search bar layout public static final boolean EnableSearchLayout = true; // Enables the dynamic shadows behind each task public static final boolean EnableShadows = true; // Enables the thumbnail alpha on the front-most task public static final boolean EnableThumbnailAlphaOnFrontmost = false; // This disables the bitmap and icon caches Loading packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +2 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ public class RecentsConfiguration { /** Misc **/ public boolean useHardwareLayers; public int altTabKeyDelay; public boolean fakeShadows; /** Dev options and global settings */ public boolean lockToAppEnabled; Loading Loading @@ -274,6 +275,7 @@ public class RecentsConfiguration { // Misc useHardwareLayers = res.getBoolean(R.bool.config_recents_use_hardware_layers); altTabKeyDelay = res.getInteger(R.integer.recents_alt_tab_key_delay); fakeShadows = res.getBoolean(R.bool.config_recents_fake_shadows); } /** Updates the system insets */ Loading Loading
packages/SystemUI/res/values/colors.xml +6 −0 Original line number Diff line number Diff line Loading @@ -117,4 +117,10 @@ <!-- The color of the navigation bar icons. Need to be in sync with ic_sysbar_* --> <color name="navigation_bar_icon_color">#E5FFFFFF</color> <!-- Shadow color for the first pixels around the fake shadow for recents. --> <color name="fake_shadow_start_color">#44000000</color> <!-- Shadow color for the furthest pixels around the fake shadow for recents. --> <color name="fake_shadow_end_color">#03000000</color> </resources>
packages/SystemUI/res/values/config.xml +2 −0 Original line number Diff line number Diff line Loading @@ -39,6 +39,8 @@ <!-- The number of app icons we keep in memory --> <integer name="config_recents_max_icon_count">20</integer> <!-- Whether to use cheap, less good looking shadows for recents --> <bool name="config_recents_fake_shadows">false</bool> <!-- The theme to use for RecentsActivity. --> <item type="style" name="config_recents_activity_theme">@style/RecentsTheme.Wallpaper</item> Loading
packages/SystemUI/res/values/dimens.xml +7 −1 Original line number Diff line number Diff line Loading @@ -292,7 +292,7 @@ <dimen name="unlock_falsing_threshold">80dp</dimen> <!-- Lockscreen falsing threshold for quick settings. --> <dimen name="qs_falsing_threshold">80dp</dimen> <dimen name="qs_falsing_threshold">40dp</dimen> <!-- Falsing threshold used when dismissing notifications from the lockscreen. --> <dimen name="swipe_helper_falsing_threshold">70dp</dimen> Loading Loading @@ -496,4 +496,10 @@ <!-- The maximum width of the navigation bar ripples. --> <dimen name="key_button_ripple_max_width">95dp</dimen> <!-- Inset shadow for FakeShadowDrawable. It is used to avoid gaps between the card and the shadow. --> <dimen name="fake_shadow_inset">1dp</dimen> <dimen name="fake_shadow_size">8dp</dimen> </resources>
packages/SystemUI/src/com/android/systemui/recents/Constants.java +0 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,6 @@ public class Constants { public static final boolean EnableDevAppInfoOnLongPress = true; // Enables the search bar layout public static final boolean EnableSearchLayout = true; // Enables the dynamic shadows behind each task public static final boolean EnableShadows = true; // Enables the thumbnail alpha on the front-most task public static final boolean EnableThumbnailAlphaOnFrontmost = false; // This disables the bitmap and icon caches Loading
packages/SystemUI/src/com/android/systemui/recents/RecentsConfiguration.java +2 −0 Original line number Diff line number Diff line Loading @@ -121,6 +121,7 @@ public class RecentsConfiguration { /** Misc **/ public boolean useHardwareLayers; public int altTabKeyDelay; public boolean fakeShadows; /** Dev options and global settings */ public boolean lockToAppEnabled; Loading Loading @@ -274,6 +275,7 @@ public class RecentsConfiguration { // Misc useHardwareLayers = res.getBoolean(R.bool.config_recents_use_hardware_layers); altTabKeyDelay = res.getInteger(R.integer.recents_alt_tab_key_delay); fakeShadows = res.getBoolean(R.bool.config_recents_fake_shadows); } /** Updates the system insets */ Loading