Commit Graph

8 Commits

Author SHA1 Message Date
Ido Ben-Hur 68d854141e
sm8150-common: DeviceSettings: Update HBM tile & switch on screen off
What happens is that HBM is being turned off in lower level and the node is not being updated.
Writing 0 to node when the screen turns off to go around that.

Service only runs when HBM is turned on.
it stops itself when the screen turns off / HBM is turned off

Also remove some useless code all around and slightly improve...

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:54:32 +05:30
Nauval Rizky 95a973312f
DeviceSettings: Digital-style icon for FPSInfo QS Tile
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
2021-04-05 07:54:22 +05:30
Ido Ben-Hur 519249de49
DeviceSettings: Add FPS overlay QS tile 2021-04-05 07:54:21 +05:30
Omkar Chandorkar 9f5bef8b55
sm8150-common: DeviceSettings: Update DC Dimming Tile icon
Credits to @Wizper99 for icon

Change-Id: I606c4307172734b652b511739fb588ad754e5225
2021-04-05 07:54:19 +05:30
Ido Ben-Hur 4beb4f6f85
sm8150-common: DeviceSettings: Launch main activity on long QS tile press
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-05 07:53:29 +05:30
Omkar Chandorkar b5efdf3edf
Le roi est mort, vive le roi!
(our meme way of saying aosip -> yaap)
2021-04-03 06:57:38 +05:30
Anirudh Gupta 033bbfadc5 sm8150-common: DeviceSettings: Add Touchscreen Gesture controls
Imported from LineagePart, adapted to LineageHW implementation present in fwb instead of lineage-sdk

Change-Id: I08064ca6c7a7e58783847677843522b818c583de
TouchscreenGestureSettings class written by:
Co-authored-by: Anushek Prasal <anushekprasal@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-02 14:18:27 +05:30
Anirudh Gupta aa5a4113c1 sm8150-common: Introduce DeviceSettings
Taken from: 99e6831dc4/DeviceSettings

Edits after:
 - Adapted to AndroidX
 - Includes all translations from pie cycle
 - Remove DisplayModes and Dolby
 - Add DC-Dimming, FPS Info tile, Refresh Rate preferences
 - Change layout to a cleaner look
 - Nuke KeyHandler
 - Change KeyHandler class and lib overlays to DeviceSettings
 - Make DC-Dimming and HBM QS tile reflect active status

Co-authored-by: darkobas <darkobas@gmail.com>
Co-authored-by: Max Weninger <max.weninger@gmail.com>
Co-authored-by: Vachounet <vachounet@live.fr>
Co-authored-by: kldoc <fred.berbigier@gmail.com>
Co-authored-by: Christian Oder <myself5@carbonrom.org>
Co-authored-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Co-authored-by: David Sn <divad.nnamtdeis@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-02 14:12:09 +05:30