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:39:06 +0100
commit4bd1555d02bcec1b037ae305325314b533efddd8 (patch)
treeaff29ae53587f22ab1dbd0fc1b8d75b2455a702c
parentf1c61491ffff1112203006fc6c2a5726f3d2ed30 (diff)
downloaddevice_samsung_espresso3g-4bd1555d02bcec1b037ae305325314b533efddd8.zip
device_samsung_espresso3g-4bd1555d02bcec1b037ae305325314b533efddd8.tar.gz
device_samsung_espresso3g-4bd1555d02bcec1b037ae305325314b533efddd8.tar.bz2
P51XX: 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>