12 Commits

Author SHA1 Message Date
pjgowtham
a9fe8fcc4f ferrari: Redo brightness configuration and move partially to displayconfig
* 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
2025-06-07 21:53:38 +05:30
pjgowtham
e92ab26554 ferrari: Initial tree update from RMX3301_14.0.0.801(EX01)
Change-Id: I14581196331c7ba714c352c3fbca330683eedabf
2025-06-07 21:53:38 +05:30
pjgowtham
350b505868 ferrari: Update fod sensor location for ferrarri
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
2024-10-22 20:03:17 +05:30
jabashque
76eda3c25c
lemonadep: overlay: Set peak refresh rate to 120 Hz
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
2023-12-19 01:55:00 +02:00
pjgowtham
3ebd863242
lemonadep: Move some parts from common
Following adding support for lunaa and martini

Change-Id: Idaab654774f31bf8bfc44d87f3779ea6cc8db94b
2023-04-10 13:19:00 +03:00
LuK1337
ebf4e54ccf lemonadep: Update config_udfps_sensor_props based off SF dumpsys
See OnScreenFingerprintPressedIcon#0 HWC layer size and location.

Change-Id: I69971c1ead040934fcaee641ee8fc6cd66fe26a3
2022-10-22 14:16:29 +02:00
shawnlin
6321ae0241
lemonadep: Fixed status bar glitch for apps that access internal resource dimen
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
2022-06-11 23:06:14 +03:00
Michael Bestas
8bf6efd855 lemonadep: overlay: Use smaller status bar in landscape
Change-Id: I8177887d4c8665d4fd6725318b0679b7b1be2c4b
2022-05-29 20:26:44 +02:00
Michael Bestas
c1c399d375 lemonadep: overlay: Align status bar icons with cutout
Change-Id: Ib18e6c4cd4a21e36f5f45ac5f7b894a824e434f3
2022-05-29 20:26:44 +02:00
Alexander Koskovich
797f2ec01d lemonadep: overlay: Update power profile from LE2125_11.C.48
Change-Id: I4770beaaca21a28c4cfed0db44b38497ea0d51c4
2022-05-29 20:26:44 +02:00
Alexander Koskovich
b6089fd9f5 lemonadep: overlay: Add white balance overlays from LE2125_11.C.48
[LuK1337]: Remove common overlays while at it.

Change-Id: Ie59f9207478965c6eaf840807635a82933e13303
2022-05-29 20:26:44 +02:00
Alexander Koskovich
1c49159bab lemonadep: overlay: Convert to RRO packages
Change-Id: Iae6ef9fa9743bd2447991ad11d38fa184b12981d
2022-05-29 20:26:44 +02:00