Commit Graph

12 Commits

Author SHA1 Message Date
Anay Wadhera 0f787ef3af ParanoidSystemUI: Use Google home icon on home controls lockscreen if app is installed
Change-Id: I038f378f935f77b33b8ac893e17fdbcd7f986052
2023-02-18 15:59:04 +00:00
Jake Weinstein 2070309ccd ParanoidSystemUI: Define symbols for Alert Slider
Change-Id: I399973c1d1957eea72dc9a841b784360629b0bb4
2023-02-02 00:35:02 +09:00
Jake Weinstein 9eca1288be ParanoidSystemUI: Separate AOSP and non-AOSP configs
Change-Id: I6db27f195a5b55e575bdf47d0ef1d5baf7e59ff2
2023-02-02 00:34:44 +09:00
Jake Weinstein d6200862e4 ParanoidSystemUI: Move Alert Slider location config here
It doesn't make sense to define this in frameworks/base

Change-Id: I853ea39082c08fe6823a7cd1698af0c1051374c9
2023-02-01 16:29:11 +09:00
Jake Weinstein 028a64f673 ParanoidSystemUI: Move config to aospa_config.xml
Change-Id: I8b48f1afd1ccdddc3d61c0a60fe068a07d89cd8c
2023-02-01 16:28:17 +09:00
Anushek Prasal c30fe1347a
ParanoidSystemUI: Improve alert slider dialog.
- Convert px to dip
- Modify the dialog to match toast
- Fix positioning for OP7 Pro slider
- Remove unused dimens and drawables

Edit: set position values to 0 for neutrality. They should
be adapted by overriding in each device tree.

Change-Id: I6bf3ad449a76f7145ab3db697ac57becd788a1f2
2023-01-20 02:44:27 +01:00
Chris Crump 41fc5d8071
ParanoidSystemUI: Introduce user interface for Alert Sliders.
Ported from OxygenOS and reworked for our alert slider
implementation. We target AudioManager instead of Zen,
icons are also the same as aosp and the dialog uses the
material theme as well as support for our themes.

To use, the alert slider config must be enabled. By default,
the dialog shows on the left side. To move it to the right
side, set the location config to 1.

Change-Id: I0522b849a8aeb3af0936eec4c0def894931cc564
2023-01-20 02:44:27 +01:00
Michael Bestas aa7ac23466 ParanoidSystemUI: Add heads up tile
* Icon designed and made by Andrew Fluck.

Signed-off-by: Mesquita <mesquita@aospa.co>
Co-authored-by: Andrew Fluck <andrew@aospa.co>
Old-Change-Id: I9bb734652273f7d35284a39d22adb94bad1e00ec
Change-Id: Ic5a0894422963524e75643bcdf91970de1e85592
2023-01-16 14:43:08 -05:00
Christian Oder 042d6dbcb4 ParanoidSystemUI: Introduce Data Switch QS Tile
* Based on OnePlus' OxygenOS tile, reworked to work with AOSP toggling without requirements on proprietary telephony-ext features

idoybh (YAAP): Adapt to A12

[ghostrider-reborn]
- Set secondary label to SIM1 or SIM2 instead of just "On"

[Jyotiraditya Panda <jyotiraditya@aospa.co>]
- Code cleanup and improvements

[Andrew Fluck <andrew@aospa.co>]
- Update SIMs QS icons

Change-Id: Ie2e280c07f24f9da6b4ee218b72501a2713ce429
Co-authored-by: Andrew Fluck <andrew@aospa.co>
Signed-off-by: Hernán Castañón Álvarez <herna@paranoidandroid.co>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2023-01-16 14:42:19 -05:00
Keith Mok 26b393d521 ParanoidSystemUI: Add caffeine QS tile
* Caffeine Tile icon designed by Andrew Fluck

[Adin Kwok] Add long press to infinity to caffeine qs tile

[ghostrider-reborn] Updated for android 12

Co-authored-by: Adin Kwok <adin@adin.dev>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Change-Id: If54ea27ddf179c2de39b61850163e14173727698
2023-01-16 14:41:45 -05:00
Tobias Merkel 6276e0c150 ParanoidSystemUI: Introduce custom QSFactory
Change-Id: Id3886c998b3d7cfc1f173addc63bb0c2bbcde2a7
2023-01-16 05:27:01 +00:00
Chris Crump 9531109ba1
Initial Paranoid SystemUI module
Based on and referenced from https://github.com/StatiXOS/android_packages_apps_Statix_SystemUI

Change-Id: I99689c4b9e3bdd45ca849e7e199c99fe1b98a387
2023-01-04 16:32:07 +01:00