20 Commits

Author SHA1 Message Date
64886f5410 cmi: overlay-lineage: Enable screen-off UDFPS support 2025-11-27 10:17:55 +00:00
Demon000
6ab2148f84 cmi: Support UDFPS on AoD 2025-11-17 16:32:06 +00:00
Beverly
a4631fc4c3 cmi: overlay: Update pixel pitch
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor
DEVELOPMENT
Test: manual

Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2025-01-23 23:22:04 +01:00
luffitys
f81fd46e5d cmi: overlay: Import device brightness overlays
Change-Id: Id1eb627fa2fdc579c849d5ee0123dee51f396c0b
2024-10-08 17:33:05 +02:00
Daniel Banacki
6c25adb795 cmi: overlay: Switch to cmi battery capacity
Change-Id: I89929a3cf374a485d5d7357bfadc0bb1dc048504
2024-07-05 21:14:12 +02:00
Bartłomiej Rudecki
c396116ddf umi: overlay: Configure cutout 2024-02-23 17:45:46 +08:00
Mike Ma
4dd29464bb umi: overlay: Power profile audio & video support
Add power consumed by audio and video hardware to power profile.
Attribute these power to specific app.
Bug: 70531798
Test: PowerProfileTest
Test: BatteryStatsHelperTest
Test: PowerCalculatorTest
Change-Id: I4811efa14ce97983258cd59bfd328181fe95baf4
2024-02-07 21:34:09 +08:00
Bruno Martins
74c2f0648a umi: overlay: Set BT controller voltage in the power profile
This was usually set in frameworks/base, but the overlay has been
deprecated in Android 13.

Change-Id: Ie1dc66c34e562179003e6294241bd5900859248a
2024-02-07 21:34:09 +08:00
shawnlin
03e8a7cd6c umi: 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
2024-02-07 21:34:09 +08:00
Georg Veichtlbauer
4b1a4e8d92 umi: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2024-02-07 21:34:09 +08:00
me-cafebabe
1ecdeaa8d0 umi: Differentiate FOD position values for hwlevel P0.1 and P1
According to stock init.umi.rc
2022-05-22 03:15:57 +08:00
TheScarastic
9ec86d7214 umi: Setup udfps overlays
* FOD radius = MIUI radius value / 2
 * FOD x position = MIUI x position value + (MIUI radius value / 2)
 * FOD y position = MIUI y position value + (MIUI radius value / 2)
 * FOD enroll progress radius = (MIUI radius value / 2) + 5

[cafebabe note: Use /vendor/build.prop values for now]

Change-Id: Ie8add9eb4958bbb55d83d4d2809eb53b1822d15e
Signed-off-by: Sebastiano Barezzi <barezzisebastiano@gmail.com>
2022-05-22 03:15:57 +08:00
shawnlin
01fa1eb93a umi: Remove resource overlays for system bar heights
With the new added APIs, we don't need to overlay status_bar_height that
contains cutout size and quick_qs_offset_height anymore.

Bug: 186604541
Test: make
Change-Id: I36d869866ed03d3996b7b0d8cc6d3f6bb6ab624d
2022-05-22 02:57:52 +08:00
Albert I
f43b647c7f umi: overlay: Enable display burn-in protection
Signed-off-by: Albert I <kras@raphielgang.org>
2022-05-22 02:57:52 +08:00
me-cafebabe
f2c878b9fe umi: overlay: Add left margin to carrier text on lock screen 2022-05-22 02:57:52 +08:00
me-cafebabe
a48681aefe umi: overlay: Import device overlays 2022-05-22 02:57:52 +08:00
Ramii Ahmed
18ad7fab66 lmi: Decommonize AOD overlays
* Not all devices have an AMOLED display

Change-Id: I7ef064c1e1456bb72e37ae7d90a412912b5fdc07
2021-06-09 11:57:59 +02:00
Andrew Fluck
450bb4b62b lmi: overlay: Use a mask for rounded corners
Change-Id: I02814f4d80d83aeb5f9e52fb51cb839fbac41594
2021-06-03 15:44:35 +02:00
Sebastiano Barezzi
95c24a70fe lmi: Add overlay for status bar height
Change-Id: I208449351d871ffc480749b3d17d4cd3be391dcc
2021-06-03 15:44:35 +02:00
Sebastiano Barezzi
3acff6a9ee lmi: Inherit from common tree
Change-Id: Icaf0e5cb7dbb8c75b81bf9008433ab51a9b34531
2021-06-03 01:05:54 +02:00