Commit Graph

35 Commits

Author SHA1 Message Date
j7b3y
2cd6ed5947 Revert "Add support for OEM fast charger detection"
This reverts commit 69cc5afe54.
2024-12-18 22:53:34 +09:00
j7b3y
69cc5afe54 Add support for OEM fast charger detection 2024-12-18 22:47:46 +09:00
j7b3y
847825f591 cupid: Show refresh rate stuffs 2024-12-11 13:20:07 +09:00
j7b3y
145ccbebeb cupid: add screenoffudfps 2024-12-11 12:44:02 +09:00
j7b3y
c189a25a3c cupid: add config_showRefreshRateQsTile 2024-12-11 12:39:00 +09:00
Arian
76c293c0ac cupid: overlay: Drop brightness backlight/nit mapping
The max value probably takes HBM into account.
Despite the comment in config_autoBrightnessDisplayValuesNits
stating that these overlays are necessary, neither stock nor
modern pixels set these overlays. So remove the values instead
of guessing nit values :)

Change-Id: I973016599bd87ba1d18ae027a2b3259b346a4c1b
2024-11-19 22:34:54 +01:00
SianyiHuang
2ca01d63c2 cupid: Config: Update Auto Brightness debounce and ambient threshold setting
Bug: 233283720
Test: adb shell dumpsys display and check debounce and ambien threshold
seting

Change-Id: I36cc5cf257869c37304c6525d1965a61da5bd037
2024-11-19 22:34:54 +01:00
Arian
44ef1d7a7c Revert "cupid: overlay: Increase auto brightness debounce time"
This did not really help

This reverts commit 29e85577aa.
2024-11-19 22:34:54 +01:00
Luofan Chen
2645106122 cupid: overlay: Nfc: Add targetName and move to vendor
The overlay policy of the NFC package requires the RRO to be in
vendor/system/product partition, but not odm partition, and the name
"NfcCustomization" should be specified.

Test: Open NFC setting and verify that the secure NFC setting ispresent
Change-Id: Ibc9f4f7167986af386d109079538ebcdf7c0b7a2
2024-11-14 10:33:17 +01:00
Beverly
e3746e59ab cupid: overlay: Update pixel pitch
Bug: 319894241
Flag: ACONFIG com.android.systemui.device_entry_udfps_refactor DEVELOPMENT
Test: manual

Change-Id: Iaa9576cb95ebe73043b7030b2b176f67bc90e3a1
2024-10-24 18:54:26 +02:00
basamaryan
53d8d95611 cupid: Move to Xiaomi fingerprint AIDL
Change-Id: I68dba7184034fd37454c7d32a065f041cb611625
2024-10-24 18:53:22 +02:00
Arian
d00f8f31ee Revert "cupid: overlay: Commonize config_dozeUdfpsLongPressSensorType"
This reverts commit 0125d58043.
2024-09-30 11:12:17 +02:00
Arian
955d2598a9 Revert "cupid: overlay: Commonize wireless charging overlay"
This reverts commit 29ca39719e928103550f812fdb40b2bdd09d82f9.
2024-09-30 11:12:17 +02:00
Arian
17ee052635 cupid: overlay: Commonize wireless charging overlay
This will be enabled in sm8450-common if the wireless charging
file paths exist.

Change-Id: Ib0437c39e0551eaa7d5b03d9c993495dd8d0fc55
2024-09-30 11:12:17 +02:00
Arian
5422b860cc cupid: overlay: Commonize config_dozeUdfpsLongPressSensorType
A new overlay in sm8450-common enables this based on the
`ro.vendor.sensors.xiaomi.udfps` proprerty now.

Change-Id: Idf0112acf55fa6bfec39a36ec46a514fb02ada33
2024-09-30 11:12:17 +02:00
Arian
5efe4c65ad cupid: overlay: Drop old config_udfps_illumination_transition_ms
This was removed in commit [1] ("Refactor UDFPS display logic and remove illumination").

[1]: 6eda3a1d1a

Change-Id: I9c727f5afe26a7fc10d51cfeb670fa2944f3a790
2024-09-30 11:12:17 +02:00
Arian
e2f1c23707 cupid: overlay: Commonize config_biometric_sensors
Change-Id: Ia0df1c0ccdef5f504b3971aa443dee9771d19912
2024-09-30 11:12:17 +02:00
Arian
29e85577aa cupid: overlay: Increase auto brightness debounce time
Our light sensor is getting confused when the screen brightness changes
in a rather dark environment and sometimes jumps between 0 and a higher
brightness leading to a raise in brightness, but then the sensor
over-corrects the read brightness and reports 0 again. Try to fix this
by giving the sensor some more time to debounce.

Change-Id: Ice8ad0b4e34af16bc905f84c27bd491378617cae
2024-09-30 11:12:17 +02:00
Bruno Martins
dccff436c4 cupid: overlay-lineage: Declare support for wireless charging
Change-Id: Iba6a8b357779a3bb2134f2fc0878819339615239
2024-08-27 19:31:40 +02:00
Josh Tsuji
b1b2b1db0a cupid: overlay: Add physical button/sensor locations
Bug: 181020504
Change-Id: Ifb45b7daeb07246dbc3a80c36c21e40ead87e674
Test: these were physically measured on device
2024-08-21 11:38:52 +02:00
Omkar Chandorkar
11bd973373 cupid: overlay: Move UDFPS enroll radius to settings
- required after LineageOS/android_packages_apps_Settings@af35c7c

Change-Id: I79ecd91513df0d195e1d15d20b4438d1b283743f
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-08-21 11:36:20 +02:00
Omkar Chandorkar
149e205b3c cupid: overlay: Enable secure NFC functionality
Change-Id: I4e9acc7d8ec14237512aadf100d564984aa5a896
Co-authored-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2024-05-22 01:42:22 +02:00
Arian
e8c070896a cupid: overlay: Decommonize brightness overlays
Change-Id: I830e690f92454b58833937646eb8a166cfdad5ea
2024-03-14 18:31:26 +01:00
Arian
03e8bfcf73 cupid: overlay: Beautify FrameworksResCupid
Change-Id: I9eca49066390e53f338b6ac8079a132537e4bdcc
2024-03-14 18:12:39 +01:00
AdarshGrewal
4eb911b64f cupid: overlay: Redo cutout overlays
Xiaomi for some reason uses mainBuiltInDisplayCutoutRectApproximation
as mainBuiltInDisplayCutout. Let's create a new mainBuiltInDisplayCutout,
make it a circle and fill it to avoid aliasing in the cutout area.

Change-Id: I9b822cdb79f72daaa0a334bfbee98ad255dfd04d
Signed-off-by: Jens Reidel <adrian@travitia.xyz>
2023-06-15 17:50:20 +02:00
Arian
eb1a8aa34e cupid: overlay: Enable 60 fps video in aperture
Change-Id: Ic5265ca2722182a414fccb6f3be460832e247ed3
2023-01-07 02:44:09 +01:00
LuK1337
cb2b49fa1f cupid: overlay: Configure aux camera for Aperture
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-01-06 13:34:45 +01:00
Arian
a91ac8fc09 cupid: overlay: Import display cutout and rounded corner configurations
Change-Id: I169f8b61c3f1345e3b612db8f9c15dd4963e6425
2022-06-19 17:50:01 +02:00
Cosmin Tanislav
8ab10ce2c5 cupid: Add support for udfps long press sensor
Change-Id: I7196dce967c9adbc62bb5156ade749c92c7780a1
2022-06-18 22:16:44 +02:00
Arian
5f830e3e6b cupid: overlay: Add corner content padding
Change-Id: Ie4f9b253c25a9de9669fffa46121e5513e91fb32
2022-06-18 12:38:30 +02:00
Ayush Dubey
a8335e1ae6 cupid: overlay: Set keyguard bottom margin
Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
Change-Id: Ia5991b3f729fcb027e9ec13bda8057f04ef0aa25
2022-06-18 12:38:30 +02:00
Arian
4191e3ef6d cupid: overlay: Import power_profile from V13.0.16.0.SLCEUXM
Change-Id: I56acb96ff07f18eb025315bdf794d77ae38ccc15
2022-06-17 18:51:21 +02:00
Arian
b7f5050666 cupid: overlay: Add fingerprint overlays
Change-Id: I71ac9af898e929252b826b7e70d47f1575c9e9f7
2022-06-17 18:32:40 +02:00
Roshan Pius
b639813dd5 cupid: overlay: Add WifiResCupid
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2022-04-03 19:25:48 +02:00
LuK1337
97fb0f6075 cupid: Set default Settings.Global.DEVICE_NAME according to MIUI
MIUI uses ro.product.vendor.marketname for default device name.

Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2022-04-03 19:25:48 +02:00