From d38d3164125a96cab49424dd97537be5a9aa405e Mon Sep 17 00:00:00 2001 From: SianyiHuang Date: Mon, 30 May 2022 12:54:33 +0800 Subject: [PATCH 1/2] Config: Update Auto Brightness debounce and ambient threshold setting for p21 Bug: 234143168 Test: adb shell dumpsys display and check debounce and ambien threshold seting Change-Id: Ieaa8409ae3323f1118c08e5040b1a6dd7803daa0 --- .../base/core/res/res/values/config.xml | 153 ++++++++++-------- 1 file changed, 87 insertions(+), 66 deletions(-) diff --git a/bluejay/overlay/frameworks/base/core/res/res/values/config.xml b/bluejay/overlay/frameworks/base/core/res/res/values/config.xml index 3222ec0..fa97d2d 100644 --- a/bluejay/overlay/frameworks/base/core/res/res/values/config.xml +++ b/bluejay/overlay/frameworks/base/core/res/res/values/config.xml @@ -152,7 +152,7 @@ when adapting to brighter or darker environments. This parameter controls how quickly brightness changes occur in response to an observed change in light level that exceeds the hysteresis threshold. --> - 2000 + 1000 4000 @@ -169,73 +169,94 @@ 64 - - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - 9 - 10 - 20 - 30 - 40 - 50 - 60 - 70 - 80 - 90 - 100 - + + 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 + - - 11373 - 5000 - 4333 - 3666 - 3000 - 2760 - 2520 - 2280 - 2040 - 1800 - 800 - 527 - 500 - 470 - 396 - 322 - 248 - 174 - 99 - 99 - + + 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 + - - 853 - 700 - 683 - 666 - 650 - 640 - 630 - 620 - 610 - 600 - 500 - 500 - 440 - 385 - 348 - 311 - 274 - 237 - 200 - 200 - + + 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 + From c814fd4c90943bfa325218b1d1c1db598a8154c1 Mon Sep 17 00:00:00 2001 From: jimmyshiu Date: Wed, 20 Jul 2022 17:18:18 +0000 Subject: [PATCH 2/2] Remove universal touch boost Bug: 236781877 Test: PtsUiBench Change-Id: I038c56cce9eb5ec19b5e8619af16001b0f2ec0bf --- powerhint.json | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/powerhint.json b/powerhint.json index 6dda63d..560a6f8 100644 --- a/powerhint.json +++ b/powerhint.json @@ -144,7 +144,6 @@ "Path": "/proc/vendor_sched/ta_uclamp_min", "Values": [ "553", - "185", "1", "55" ], @@ -1287,32 +1286,6 @@ "Duration": 0, "Value": "1" }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Type": "MaskHint", - "Value": "BOOST_DISPLAY" - }, - { - "PowerHint": "ADPF_DISABLE_TA_BOOST", - "Type": "EndHint", - "Value": "BOOST_60HZ" - }, - { - "PowerHint": "BOOST_DISPLAY", - "Type": "DoHint", - "Value": "BOOST_60HZ" - }, - { - "PowerHint": "INTERACTION", - "Type": "DoHint", - "Value": "BOOST_DISPLAY" - }, - { - "PowerHint": "BOOST_60HZ", - "Node": "TAUClampBoost", - "Duration": 200, - "Value": "185" - }, { "PowerHint": "DISPLAY_IDLE", "Node": "FGPreferIdle",