From d0702a973d9c5796f6ba17460198d12675b1fea9 Mon Sep 17 00:00:00 2001 From: Shiyong Li Date: Mon, 30 Jan 2023 19:08:46 +0000 Subject: [PATCH] ripcurrent: add display config file Copied from R4 display config file with disabling auto brightness because ambient light sensor on ripcurrent dev board might not be working. Bug: 243634950 Test: check display brightness after fastboot -w Change-Id: I45c4084d94330a3cd0fa147c6cbc10b430d44906 Signed-off-by: Shiyong Li --- device-ripcurrent.mk | 3 + .../base/core/res/res/values/config.xml | 234 ++++++++++++++++++ 2 files changed, 237 insertions(+) create mode 100644 ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml diff --git a/device-ripcurrent.mk b/device-ripcurrent.mk index fac54d1..e1e6962 100644 --- a/device-ripcurrent.mk +++ b/device-ripcurrent.mk @@ -34,6 +34,9 @@ $(call soong_config_set,lyric,camera_hardware,ripcurrent) $(call soong_config_set,lyric,tuning_product,ripcurrent) $(call soong_config_set,google3a_config,target_device,ripcurrent) +# display +DEVICE_PACKAGE_OVERLAYS += device/google/shusky/ripcurrent/overlay + # Init files PRODUCT_COPY_FILES += \ device/google/shusky/conf/init.ripcurrent.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.ripcurrent.rc diff --git a/ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml b/ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml new file mode 100644 index 0000000..97d8b95 --- /dev/null +++ b/ripcurrent/overlay/frameworks/base/core/res/res/values/config.xml @@ -0,0 +1,234 @@ + + + + + + true + + + false + + + 6 + + + 0.0 + + + 1.0 + + + 0.17429718 + + + 0 + + + 120 + + + + 2 + + + 5 + + + + 120 + + + 60 + + + + 1 + 2 + 3 + 4 + 8 + 12 + 20 + 33 + 55 + 90 + 148 + 245 + 403 + 665 + 1097 + 1808 + 2981 + 5000 + 10000 + 20000 + + + + + 5.139055 + 9.962018965 + 18.34822964 + 21.55068128 + 24.0167788 + 30.62162162 + 35.09486396 + 41.2249643 + 47.6760716 + 55.73002427 + 66.24126116 + 79.67614115 + 98.04727274 + 125.1221991 + 161.6875093 + 208.4885553 + 264.8221315 + 327.8974352 + 401.1676739 + 750.0 + 900.0 + + + + 1000 + 4000 + + + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 20 + 30 + 40 + 50 + 60 + 70 + 80 + 90 + 100 + 200 + 300 + 400 + 500 + 1000 + 2000 + 3000 + 4000 + + + + 5186 + 4333 + 3666 + 2999 + 2759 + 2519 + 2279 + 2039 + 1799 + 799 + 527 + 499 + 470 + 517 + 565 + 612 + 660 + 708 + 742 + 636 + 582 + 549 + 369 + 294 + 269 + 220 + 220 + + + + 525 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 + 500 + 500 + 440 + 385 + 382 + 379 + 376 + 373 + 371 + 367 + 387 + 397 + 403 + 380 + 345 + 333 + 283 + 283 + + +