phone-xxhdpi-2048-hwui-memory.mk 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. #
  2. # Copyright (C) 2013 The CyanogenMod Project
  3. #
  4. # Licensed under the Apache License, Version 2.0 (the "License");
  5. # you may not use this file except in compliance with the License.
  6. # You may obtain a copy of the License at
  7. #
  8. # http://www.apache.org/licenses/LICENSE-2.0
  9. #
  10. # Unless required by applicable law or agreed to in writing, software
  11. # distributed under the License is distributed on an "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. # See the License for the specific language governing permissions and
  14. # limitations under the License.
  15. #
  16. # Provides overrides to configure the HWUI memory limits
  17. PRODUCT_PROPERTY_OVERRIDES += \
  18. ro.hwui.texture_cache_size=72 \
  19. ro.hwui.layer_cache_size=48 \
  20. ro.hwui.r_buffer_cache_size=8 \
  21. ro.hwui.path_cache_size=32 \
  22. ro.hwui.gradient_cache_size=1 \
  23. ro.hwui.drop_shadow_cache_size=6 \
  24. ro.hwui.texture_cache_flushrate=0.4 \
  25. ro.hwui.text_small_cache_width=1024 \
  26. ro.hwui.text_small_cache_height=1024 \
  27. ro.hwui.text_large_cache_width=2048 \
  28. ro.hwui.text_large_cache_height=1024