From 719da4fbb7f927613b2cfc253129522ab132700f Mon Sep 17 00:00:00 2001 From: Tim Zimmermann Date: Wed, 3 Nov 2021 15:57:05 +0100 Subject: [PATCH] sm7125: import brightness overlays from stock * Dropped vendor-specific range > 255 from config_screenBrightnessBacklight (stuck at bootanimation otherwise) * Dropped the same amount of entries from the end of config_screenBrightnessNits (otherwise autobrightness won't work) Change-Id: I31956340b0ac66b6e9456df46d0b22493ede0d02 --- .../base/core/res/res/values/config.xml | 568 ++++++++++++++++++ 1 file changed, 568 insertions(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index bb5620b..2732d1a 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -189,6 +189,574 @@ 40000 + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 + 217 + 218 + 219 + 220 + 221 + 222 + 223 + 224 + 225 + 226 + 227 + 228 + 229 + 230 + 231 + 232 + 233 + 234 + 235 + 236 + 237 + 238 + 239 + 240 + 241 + 242 + 243 + 244 + 245 + 246 + 247 + 248 + 249 + 250 + 251 + 252 + 253 + 254 + 255 + + + + + 11 + 15 + 22 + 27 + 31 + 35 + 55 + 75 + 95 + 106 + 112 + 119 + 134 + 157 + 220 + 378 + 378 + 468 + 515 + 563 + 610 + 658 + 705 + 753 + 776 + 800 + 800 + + + + + 2 + 2.31094 + 2.76562 + 3.29698 + 3.88518 + 4.51962 + 5.19353 + 5.90213 + 6.64185 + 7.4099 + 8.20403 + 9.02238 + 9.86339 + 10.7257 + 11.60817 + 12.50976 + 13.42957 + 14.36681 + 15.32074 + 16.29071 + 17.27612 + 18.27643 + 19.29114 + 20.31978 + 21.36193 + 22.41719 + 23.4852 + 24.5656 + 25.65808 + 26.76233 + 27.87806 + 29.005 + 30.14291 + 31.29154 + 32.45066 + 33.62005 + 34.79951 + 35.98884 + 37.18785 + 38.39637 + 39.61422 + 40.84124 + 42.07727 + 43.32216 + 44.57577 + 45.83796 + 47.10859 + 48.38753 + 49.67467 + 50.96987 + 52.27303 + 53.58403 + 54.90277 + 56.22914 + 57.56303 + 58.90436 + 60.25302 + 61.60893 + 62.972 + 64.34213 + 65.71925 + 67.10327 + 68.49412 + 69.89171 + 71.29598 + 72.70684 + 74.12423 + 75.54807 + 76.97831 + 78.41487 + 79.85769 + 81.3067 + 82.76186 + 84.22308 + 85.69033 + 87.16354 + 88.64265 + 90.12761 + 91.61837 + 93.11487 + 94.61707 + 96.12491 + 97.63835 + 99.15733 + 100.68181 + 102.21175 + 103.7471 + 105.28781 + 106.83385 + 108.38516 + 109.94171 + 111.50346 + 113.07037 + 114.6424 + 116.2195 + 117.80165 + 119.3888 + 120.98091 + 122.57796 + 124.17991 + 125.78672 + 127.39835 + 129.01479 + 130.63597 + 132.26189 + 133.89252 + 135.52779 + 137.16771 + 138.81223 + 140.46133 + 142.11497 + 143.77313 + 145.43578 + 147.10287 + 148.77441 + 150.45035 + 152.13068 + 153.81534 + 155.50433 + 157.19763 + 158.8952 + 160.59702 + 162.30307 + 164.0133 + 165.72774 + 167.4463 + 169.169 + 170.89581 + 172.62671 + 174.36166 + 176.10066 + 177.84367 + 179.59067 + 181.34166 + 183.0966 + 184.85547 + 186.61826 + 188.38493 + 190.15547 + 191.92989 + 193.70811 + 195.49016 + 197.27602 + 199.06563 + 200.85902 + 202.65614 + 204.45699 + 206.26154 + 208.06976 + 209.88167 + 211.69724 + 213.51642 + 215.33922 + 217.16563 + 218.99564 + 220.8292 + 222.6663 + 224.50696 + 226.35114 + 228.1988 + 230.04997 + 231.90462 + 233.76271 + 235.62427 + 237.48923 + 239.35762 + 241.22942 + 243.10458 + 244.98312 + 246.86504 + 248.75027 + 250.63885 + 252.53075 + 254.42593 + 256.32443 + 258.2262 + 260.1312 + 262.0395 + 263.951 + 265.86572 + 267.7837 + 269.70483 + 271.62915 + 273.55667 + 275.48734 + 277.42114 + 279.35812 + 281.2982 + 283.2414 + 285.1877 + 287.1371 + 289.08957 + 291.0451 + 293.00372 + 294.9654 + 296.93005 + 298.89777 + 300.8685 + 302.84222 + 304.81894 + 306.79865 + 308.78134 + 310.76697 + 312.75555 + 314.74707 + 316.74155 + 318.73892 + 320.7392 + 322.7424 + 324.7485 + 326.75745 + 328.7693 + 330.784 + 332.80154 + 334.82193 + 336.84518 + 338.87122 + 340.9001 + 342.9318 + 344.96625 + 347.0035 + 349.04358 + 351.0864 + 353.13196 + 355.1803 + 357.23138 + 359.2852 + 361.34174 + 363.401 + 365.46298 + 367.52765 + 369.59503 + 371.66507 + 373.73782 + 375.81323 + 377.8913 + 379.97202 + 382.0554 + 384.1414 + 386.23004 + 388.32132 + 390.4152 + 392.5117 + 394.61075 + 396.71246 + 398.8167 + 400.92355 + 403.033 + 405.14496 + 407.2595 + 409.3766 + 411.49622 + 413.61838 + 415.74307 + 417.87027 + 420 + +