* Updated minimum brightness calculation from 4/2047 to 4/4095
to align with display DTSI's max level (qcom,mdss-brightness-min-level = 1,
qcom,mdss-brightness-max-level = 4095).
* Synced screenBrightnessRamp with Oplus SM8650.
* screenBrightnessMap is preferred as it supports only floating-point values.
* Calculated High Brightness Mode (HBM) transition point as 2047/(4095-4).
The transition lux is also obtained from OplusSmartBrightnessController.
* Removed some overlays so as to prefer the defaults.
* Update auto brightness overlays from stock display dumpsys under
OplusSmartBrightnessController.
Change-Id: I0b2513be866728f3ddf93f7fbe296d78d862c813
sensorlocationX is calculated as width/2
sensorlocationY is calculated as (height - persist.vendor.fingerprint.optical.iconlocation) ie (3216 - 753 = 2463)
sensorRadius is calculated as persist.vendor.fingerprint.optical.iconsize/2 ie (228/2 = 114)
config_udfpsEnrollProgressBar is calculated as sensorRadius+5
Change-Id: If6556437abc7c760a45bd3f73f34e38f5d9bb3f2
We enabled smooth display in sm8350-common, but we purposely left out
setting the max refresh rate there as not all the sm8350 devices have
the same peak refresh rate. Set it for each device instead.
Change-Id: I26963dd1e26bf39ef2613a3ffc784a0128a3e3b1
Bring back old usage of status_bar_height, status_bar_height_portrait,
and status_bar_height_landscape by set the size containing cutout size.
Bug: 216782082
Test: make
Change-Id: I0bf97352bc07e45d7694f9512266f08e7139c103