aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiangyi <sam.andrew.jiang@gmail.com>2014-11-18 17:22:00 +0100
committerAndreas Blaesius <skate4life@gmx.de>2015-01-02 20:25:25 +0100
commit6ac600e5b4b5a6f78a5c764e3e47708d0f6b5dd6 (patch)
tree7924366968a92fcd8573b358ccb20874131b8d2c
parente83d9f3429f03103600dd3a40c30aa98fbc3a3ba (diff)
downloaddevice_samsung_espressowifi-6ac600e5b4b5a6f78a5c764e3e47708d0f6b5dd6.zip
device_samsung_espressowifi-6ac600e5b4b5a6f78a5c764e3e47708d0f6b5dd6.tar.gz
device_samsung_espressowifi-6ac600e5b4b5a6f78a5c764e3e47708d0f6b5dd6.tar.bz2
P31XX: Use fake shadows and hardware layers for recents
SGX540 doesn't have the greatest graphics performance. Change-Id: Id73427b5f24a473765caa344604f19a81f6ccabc
-rw-r--r--common-overlay/frameworks/base/packages/SystemUI/res/values/config.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/common-overlay/frameworks/base/packages/SystemUI/res/values/config.xml b/common-overlay/frameworks/base/packages/SystemUI/res/values/config.xml
index d5470ba..28c2362 100644
--- a/common-overlay/frameworks/base/packages/SystemUI/res/values/config.xml
+++ b/common-overlay/frameworks/base/packages/SystemUI/res/values/config.xml
@@ -23,4 +23,11 @@
<!-- Whether we're using the tablet-optimized recents interface (we use this
value at runtime for some things) -->
<bool name="config_recents_interface_for_tablets">true</bool>
+
+ <!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
+ for devices where the java drawing of round rects may be slow -->
+ <bool name="config_recents_use_hardware_layers">true</bool>
+
+ <!-- Whether to use cheap, less good looking shadows for recents -->
+ <bool name="config_recents_fake_shadows">true</bool>
</resources>