From 6e2a6cfe8c41d32f97152f5f9eebb0662855bc6a Mon Sep 17 00:00:00 2001 From: offain Date: Wed, 29 Mar 2017 22:41:43 +0200 Subject: 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 --- system.prop | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'system.prop') 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 -- cgit v1.2.3