diff options
author | offain <fabian.leutenegger@bluewin.ch> | 2017-03-29 22:41:43 +0200 |
---|---|---|
committer | dd3boh <dade.garberi@gmail.com> | 2017-09-07 13:41:55 +0200 |
commit | 6e2a6cfe8c41d32f97152f5f9eebb0662855bc6a (patch) | |
tree | 47693b734a38b037339247bd363cbdbd9aa5ec15 | |
parent | a88a284a012da3d773f37ec12b41c8ee7877c941 (diff) |
z2_plus: import HWUI and Dalvik properties to system.prop
Define HWUI and Dalvik properties in system_prop.mk because AOSPA dont provide the preconfigured configuration files in their framwork.
The values i used are from 7.3.9 build and tweaked a little bit.
Signed-off-by: dd3boh <dade.garberi@gmail.com>
-rw-r--r-- | device.mk | 3 | ||||
-rw-r--r-- | system.prop | 22 |
2 files changed, 22 insertions, 3 deletions
@@ -70,9 +70,6 @@ PRODUCT_AAPT_PREF_CONFIG := xxhdpi TARGET_SCREEN_HEIGHT := 1920 TARGET_SCREEN_WIDTH := 1080 -# HWUI overrides -$(call inherit-product, frameworks/native/build/phone-xxhdpi-3072-hwui-memory.mk) - # Haters gonna hate.. PRODUCT_CHARACTERISTICS := nosdcard diff --git a/system.prop b/system.prop index 2f80a16..a059725 100644 --- a/system.prop +++ b/system.prop @@ -40,6 +40,15 @@ camera.disable_zsl_mode=1 # CNE persist.cne.feature=1 +# Dalvik properties +dalvik.vm.heapgrowthlimit=256m +dalvik.vm.heapstartsize=8m +dalvik.vm.heapsize=512m +dalvik.vm.heaptargetutilization=0.75 +dalvik.vm.heapminfree=512k +dalvik.vm.heapmaxfree=8m +dalvik.vm.dex2oat-min-free-mem=209715200 + # Data modules persist.data.mode=concurrent persist.data.netmgrd.qos.enable=true @@ -81,6 +90,19 @@ ro.gps.agps_provider=1 persist.speaker.prot.enable=true qcom.hw.aac.encoder=true +# HWUI properties +ro.hwui.texture_cache_size=72 +ro.hwui.layer_cache_size=48 +ro.hwui.r_buffer_cache_size=8 +ro.hwui.path_cache_size=32 +ro.hwui.gradient_cache_size=1 +ro.hwui.drop_shadow_cache_size=6 +ro.hwui.texture_cache_flushrate=0.4 +ro.hwui.text_small_cache_width=1024 +ro.hwui.text_small_cache_height=1024 +ro.hwui.text_large_cache_width=2048 +ro.hwui.text_large_cache_height=1024 + # Media flac.sw.decoder.24bit.support=true media.aac_51_output_enabled=true |