Commit Graph

5 Commits

Author SHA1 Message Date
xSylla
900a1ff365 monet: overlay: update brightness values from miui
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-08-07 19:33:15 +02:00
xSylla
21dfa4d75c Monet: overlay: Setup fingerprint position
* Fingerprint_sensor_location_fraction_y is calculated with this formula:
      FOD_SENSOR_Y / SCREEN_HEIGHT
     2025         / 2340          ~ 0,865384

Signed-off-by: xSylla <syllamodder@gmail.com>
2021-07-13 15:18:59 +02:00
xSylla
6bccac90c1 Monet: Update notch overlay path
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-07-10 12:06:12 +02:00
ghostrider-reborn
995beb6946 Monet: overlay: Use modified notch cutout from Mi A3
* The stock one taken from DevicesOverlay.apk is actually fake and ends up as a rectangle
   cutout which is of no use to us at all, and we even have cutout fill disabled which makes
   it completely pointless; the physical cutout doesn't look that good.

* Mi A3 has a notch cutout identical to ours so let's use its cutout config which i've
   extracted from framework-res and edited manually using https://yqnn.github.io/svg-path-editor/
   to better match our notch and statusbar height (80px).

* Now our notch cutout looks smooth and anti-aliased without any jagged edges, like on MIUI.

Signed-off-by: xSylla <syllamodder@gmail.com>
2021-07-05 16:53:03 +02:00
SebaUbuntu
6d327c6d3d Monet: Inherit from common tree
Signed-off-by: xSylla <syllamodder@gmail.com>
2021-06-15 11:37:47 +02:00