From 6417e2be02e90af551619caf17b78e5d1b0a071f Mon Sep 17 00:00:00 2001 From: Alexander Winkowski Date: Sun, 7 Aug 2022 09:43:49 +0000 Subject: [PATCH] miatoll: Pull brightness overlays from raviole Adapted for miatoll's display specifications (450 nits), converted floats to integers. Change-Id: I7936e8b10d9ac6bc74efc8fdf6623c827d65c6da --- .../base/core/res/res/values/config.xml | 300 ++++++------------ 1 file changed, 104 insertions(+), 196 deletions(-) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 53e8663..0868f94 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -42,16 +42,28 @@ lux * (1.0f + CONSTRAINT_VALUE). When the current lux is higher than this threshold, the screen brightness is recalculated. See the config_ambientThresholdLevels description for how the constraint value is chosen. --> - - 5 - 5 - 10 - 30 - 100 - 400 - 600 - 1000 - + + 11373 + 5000 + 4333 + 3666 + 3000 + 2760 + 2520 + 2280 + 2040 + 1800 + 800 + 527 + 500 + 470 + 396 + 322 + 248 + 174 + 99 + 99 + - - 800 - 800 - 800 - 800 - 800 + + 853 + 700 + 683 + 666 + 650 + 640 + 630 + 620 + 610 + 600 500 500 - 500 - + 440 + 385 + 348 + 311 + 274 + 237 + 200 + 200 + - + + 1 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 10 + 20 30 + 40 + 50 + 60 + 70 + 80 + 90 100 - 800 - 2000 - 4000 - + - - 5 - 5 - 5 - 5 - 15 - 24 - 37 - 47 - 61 - 76 - 83 - 83 - 83 - 87 - 93 - 107 - 117 - 124 - 133 - 166 - 182 - 270 - 315 - 373 - 442 - 455 - - - - - 3 - 3 - 3 - 3 - 8 - 13 - 20 - 25 - 33 - 41 - 45 - 45 - 45 - 47 - 50 - 58 - 63 - 67 - 72 - 90 - 99 - 150 - 175 - 208 - 248 - 255 - + + 5 + 10 + 18 + 22 + 24 + 31 + 35 + 41 + 48 + 56 + 66 + 80 + 98 + 125 + 162 + 208 + 265 + 328 + 450 + - + 1 2 + 3 4 - 5 8 - 13 - 17 - 21 - 26 - 30 - 34 - 39 - 60 - 140 - 310 - 400 - 500 - 600 - 1000 - 1200 - 1500 - 2100 - 3000 - 3500 - 4000 - + 12 + 20 + 33 + 55 + 90 + 148 + 245 + 403 + 665 + 1097 + 1808 + 2981 + 5000 + - - @null + 1 - 10 - 15 - 30 - 45 - 60 - 75 - 90 - 105 - 120 - 135 - 150 - 165 - 180 - 195 - 210 - 225 - 240 255 - + - - @null - 4 - 22 - 30 - 68 - 95 - 133 - 165 - 192 - 218 - 255 - 290 - 326 - 352 - 384 - 399 - 422 - 432 - 442 - 455 - - - - - @null - - - - - @null - - - - - - - - 100% + + 2 + 450 + - 1000 - 1000 - - - 308 - - - 246 + 2000 + 4000