Minimum brightness is obtained from stock by disabling auto-brightness
and operating the brightness slider to minimum with running
cat /sys/class/backlight/panel0-backlight/brightness
This fetches a value of 4, the value that we currently have
is 4/2047. However, the display dtsi exposes the range of
1 - 4095, so 4/4095 is being applied. The same value is
applied for both dim and doze.
Default brightness setting is applied as 1023/4095
Change-Id: I0b2513be866728f3ddf93f7fbe296d78d862c813
* Stock oplus camera does not expose 480p videos on any cameras and they are not needed.
* Rear Main camera: 60fps video is supported on oplus camera but unexposed, so lets expose it.
* Front cam: Only HD and FHD qualities are exposed and only upto 30fps in oplus camera. The same modes are exposed properly.
* UW: Supports upto HD FHD 30|60 fps but with shitty quality even in oplus camera. Oplus camera switches to main lens if 4k quality is selected. 60fps remains unexposed, so lets expose it
* Microscope supports HD 30|60 FPS modes. But unsupported FHD quality is exposed too.
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