From 51ed1b3fb1f66fe982b071be8b888b44cb242d43 Mon Sep 17 00:00:00 2001 From: RoyYH Lee Date: Fri, 1 Sep 2023 12:08:28 +0800 Subject: [PATCH] display: set default and enable adaptive brightness Bug: 284857378 Test: dumpsys log shows correct information, include mDisplayDeviceConfig & BrightnessConfiguration Change-Id: I6ee8e908bf8a21dac1f4ff95d5f424ef0e0ba0d3 --- .../base/core/res/res/values/config.xml | 202 ++++++++++++++++++ device-comet.mk | 2 + 2 files changed, 204 insertions(+) diff --git a/comet/overlay/frameworks/base/core/res/res/values/config.xml b/comet/overlay/frameworks/base/core/res/res/values/config.xml index 9f553de..d332627 100644 --- a/comet/overlay/frameworks/base/core/res/res/values/config.xml +++ b/comet/overlay/frameworks/base/core/res/res/values/config.xml @@ -21,6 +21,208 @@ 0.335 + + true + + + 6 + + + 0.0 + + + 1.0 + + + 0.087114228 + + + + 1 + 2 + 3 + 4 + 8 + 12 + 15 + 20 + 33 + 55 + 90 + 148 + 245 + 403 + 665 + 1097 + 1808 + 3000 + 6000 + 9000 + 10000 + 14000 + 20000 + 25000 + 31000 + 51000 + 81000 + + + + + 5.139055 + 9.962018965 + 18.34822964 + 21.55068128 + 24.0167788 + 32.5 + 46 + 53.26923077 + 54.61538462 + 58.11538462 + 62.1394 + 67.13133333 + 79.67614115 + 98.04727274 + 125.1221991 + 161.6875093 + 208.4885553 + 264.8221315 + 328.5869521 + 627.4315413 + 826.8584866 + 867.85582302 + 1041.39662279 + 1227.52633489 + 1331.28933608 + 1414.57566867 + 1553.22826182 + 1614.01031782 + + + + 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 + + + + 105% + 52dp 52dp 52dp diff --git a/device-comet.mk b/device-comet.mk index a90f3be..fd6652b 100644 --- a/device-comet.mk +++ b/device-comet.mk @@ -24,6 +24,8 @@ $(call inherit-product-if-exists, vendor/google_devices/zumapro/proprietary/devi $(call inherit-product-if-exists, vendor/google_devices/comet/proprietary/comet/device-vendor-comet.mk) $(call inherit-product-if-exists, vendor/qorvo/uwb/qm35-hal/Device.mk) +DEVICE_PACKAGE_OVERLAYS += device/google/comet/comet/overlay + # Disable modem until b/291009607 is fixed BOARD_WITHOUT_RADIO := true