12 Commits

Author SHA1 Message Date
shawnlin
d0f205a410
miatoll: overlay: 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: I44a5722d3dccf9c47916eb636def6a505eea480f
2022-06-14 19:53:15 +02:00
Ramii Ahmed
4909f36020
miatoll: overlay: Set side FPS properties
* Don't set displayID as it's display-independent

Change-Id: Ic89a13494f0703fc38f1541260c9fa62b9775d7e
2022-06-10 19:03:35 +01:00
Vaisakh Murali
c610508366
miatoll: overlay: Match newer APIs for statusbar heights
AOSP with 12L added new statusbar height calculation method using
cutouts. Adapt to them.

Change-Id: Icd3c2d6965eab032f0647199b76daaab6eeba5b3
2022-03-31 16:58:18 +01:00
Palakurthi Sreekanth
a01b3c584f
miatoll: overlay: Set correct fingerprint/power button location
Change-Id: I2488df46c56a89e17175faad30629dd8ee505dc9
Signed-off-by: chiru2000 <chiranthangadi123@gmail.com>
2022-01-23 06:01:07 +00:00
Palakurthi Sreekanth
b3576e6d44
miatoll: overlay: Set an overlay to indicate power button FPS
* This is required for the ripple unlock animation at start from power button side introduced with S

Change-Id: I980896d4715c9392a15b96761f6ac0fe04d1f7a1
Signed-off-by: chiru2000 <chiranthangadi123@gmail.com>
2022-01-23 05:59:30 +00:00
Alexander Winkowski
09547f1516
miatoll: Fix overlays location
Change-Id: I3afd7903dae56b440fe7f1ba977706ef1b58fe6d
2022-01-23 05:52:56 +00:00
Volodymyr Zhdanov
0a795c898d
miatoll: Increase statusbar height a bit
* I want punch hole to be centered on statubar

Change-Id: I7005e79ef486f562bd6aa29fcb365fb256f035ae
2022-01-01 18:47:42 +00:00
Demon000
0401c46d04
miatoll: overlay: Import power profile
Change-Id: Ib17bdbcd52a5772a50979cb8b04e549ebffe345a
2021-08-30 06:27:09 +02:00
Fiona Campbell
9d53a0f318
miatoll: overlay: Add brightness float values to config file.
Test: manual testing - ensure that the brightness value in
Settings>Display>Brightness Level can go the full range from 0% to 100%.

[wight554: adapted for our value]
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: Ife1f2796bb3b8ec5f508903afd30a31556b49cbe
2021-08-30 06:27:09 +02:00
Demon000
1cb3f52127
miatoll: overlay: Adjust ramp rates for 255 max brightness
Change-Id: Icd06c1b785e617a2be5094b430912124fb1e5b81
2021-08-30 06:27:09 +02:00
Demon000
19be89258c
miatoll: overlay: Define automatic brightness overlays
Change-Id: I959af93638b2710244dc75fdd394861997699c26
2021-08-30 06:27:09 +02:00
Demon000
55501ac6e4
miatoll: overlay: Define status bar overlays
Change-Id: I0297066b5e6a1dab3bc03b49ee7a51127e2ee21a
2021-08-30 06:27:08 +02:00