Commit Graph

4 Commits

Author SHA1 Message Date
SKULSHADY 04b69b8f8f
sm8150-common: DeviceSettings: Add a scrollable image view layout
- from Havoc-Devices/android_device_oneplus_settings@720debd

Derpfest edits:
- Migrate to androidx

EvoX edits:
- Adapt to DeviceSettings
- Swap display mode preview images 1 & 2

Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Signed-off-by: AnierinB <anierinb@evolution-x.org>
2021-04-03 06:57:51 +05:30
Omkar Chandorkar 130b2ee69e
sm8150-common: DeviceSettings: nuke night mode
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
2021-04-03 06:57:49 +05:30
maxwen c4f611099a sm8150-common: DeviceSettings: Hide start margin of seek bar preference
Also fix layout of preference

Change-Id: I5758f3f76750d2e817bee003c616384eb575e154
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@aosip.dev>
2020-05-02 14:12:10 +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