Commit Graph

73 Commits

Author SHA1 Message Date
Hưng Phan
0fd0dbe361 Cherish:Cherish:[SQUASH]Add tunables for clock position
Cherish: Add tunables for clock position
Author: Hendrik Hagendorn <git@finnq.de>
Date:   Sun Jan 15 10:00:12 2017 +0100
    Tuner: Move clock seconds option to status bar settings

    Change-Id: I532c179f06b934009d48433e50b69660247ee295

Author: Luca Stefani <luca.stefani.ge1@gmail.com>
Date:   Sun Jul 29 14:19:08 2018 +0200
    SystemUI: Fix default clock blacklist value

    Change-Id: Ibdc4f6a707569ddb417854760cf579daca989ebb

Author: LuK1337 <priv.luk@gmail.com>
Date:   Wed Aug 1 18:10:39 2018 +0200
    SystemUI: Initialize mClockVisibleByUser to android:visibility

    * Fixes ~ triple clock ~ after leaving from Google SUW.

    Change-Id: I3ceea4400b3057e2b6b1f221f9074b1d451133ea

Author: LuK1337 <priv.luk@gmail.com>
Date:   Thu Sep 27 12:24:19 2018 +0200
    SystemUI: Fix clock icon blacklist handling

    * This makes sure clock isn't on blacklist before
      calling showClock(animate);

    Change-Id: I7f77a83aa6c109e1682d764fb22701375ae5ba1e

Author: LuK1337 <priv.luk@gmail.com>
Date:   Tue Apr 2 20:56:25 2019 +0200
    SystemUI: Don't hide right clock when heads up is visible

    * https://gitlab.com/LineageOS/issues/android/issues/436

    Change-Id: I85a6cd2dff79e6b97d8a7db552c22d611bf25dbd

Author: LuK1337 <priv.luk@gmail.com>
Date:   Wed Oct 30 15:48:38 2019 +0100
    SystemUI: Fix up right clock handling when showing heads up

    * Oops, we somehow forgot to import this code from 16.0 ;-;

    Change-Id: Ic4195a30da2870f569f07fc323e4b939320ab6c8

Author: Michael W <baddaemon87@gmail.com>
Date:   Mon Jun 1 14:43:31 2020 +0200
    SystemUI: Make clock truly invisible

    * When the clock is set to left and then hidden, the notification
      icons, which would appear on the left first transition to the
      right to make place for the clock then finally snap into place
    * The same happens when the clock was set to show right and then
      is hidden: The battery, wifi, etc. icons do leave space for the
      (not displayed) clock and then snap to the right
    * This patch fixes the behavior

    Change-Id: Ic68b1001becb91da6f1aeaca95a7312b36e1d2a1

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sat Apr 10 22:52:25 2021 +0200
    SystemUI: Make center clock layout safe insets aware

    This effectively fixes wrongly centered clock layout on
    devices with side notch / hole punch.

    Change-Id: I7cb8cbbe628397c50d37e23ba1853368e61a1fc9

Author: LuK1337 <priv.luk@gmail.com>
Date:   Sun Apr 11 09:47:17 2021 +0200
    SystemUI: Move network traffic monitor under same layout as clock

    This effectively fixes wrongly network monitor layout on
    devices with side notch / hole punch.

    Change-Id: I217b886d8da75eab7636066f4822f5fd6dbc9aff

Author: Volodymyr Zhdanov <wight554@gmail.com>
Date:   Tue Nov 9 20:53:56 2021 +0200
    SystemUI: fix clock dark/light mode switching

    * move ClockController init to PhoneStatusBarView
    * move add/remove dark receiver logic to ClockController

    Change-Id: I6464af6e8aa130ea54fe7bfa19858c8930a29b1e

Change-Id: Icdc039d13fd2676c1eb979a81fb77f9a6ec59b4a
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Cherish:Add tunables for clock AM/PM style
Conflicts:
	packages/SystemUI/src/com/android/systemui/statusbar/policy/Clock.java

Cherish: Add support for clock auto-hiding
Hide statusbar clock when launcher is visible. Useful when you already have a clock as widget.

Change-Id: I03dfc81bc055f2f865ac704e3bf9d9d104fac272
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

CherishAdd separate tunable for clock seconds
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:15:59 +07:00
Danesh Mondegarian
bf5e41b4c8 Cherish:Statusbar brightness control [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:11:59 +07:00
StarkDroid
5a8c6f7259 Cherish: Status bar Clock background chip [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-02 08:14:12 +07:00
Hưng Phan
75097c1370 Cherish:Move double tap gestures to statusbar/lockscreen
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-28 09:34:18 +07:00
Hưng Phan
341a2c58e3 Cherish:Battery styles: Add battery styles and customizations [2/2]
ezio84: Battery styles: cleanup [2/2]
neobuddy89: Simplify code and add battery percentage when charging
neobuddy89: Battery Styles: Add customization for QS [2/2]
neobuddy89: Allow setting battery percent view on left [2/2]
DennySPb: Add back big dotted and big circle battery indicator
palaych: Add a summary to battery styles and customizations

Co-authored-by: ezio84 <brabus84@gmail.com>
Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 23:18:45 +07:00
DennySPB
a9eeef47ba Cherish: Add volte options
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 10:55:54 +07:00
jhonboy121
49c21b2da7 Cherish: Add some features for status bar
Statusbar icon [2/2]

Option to Display Data Disabled Indicator Icon [2/2]

Allow using 4G icon instead LTE [2/2]

Make roaming indicator optional [2/2]

old style mobile data indicators [2/2]

Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 08:22:56 +07:00
ezio84
afdba0599c Cherish:Status network traffic [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 08:22:54 +07:00
Hưng Phan
3c58bb7cd8 Cherish:Cleanup for android 12
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-14 23:38:02 +07:00
Hưng Phan
a04b56b4a8 Revert "Cherish:Status bar notification ticker [2/2]"
This reverts commit ff938b9273.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-10-08 13:44:39 +07:00
SuperDroidBond
7430dbadce Cherish: user selectable VoWiFi Icons [2/2]
Co-authored-by: DennySPb <dennyspb@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-09-11 20:33:14 +07:00
SuperDroidBond
15fc59ddf5 Cherish:[SQUASHED] SystemUI: user selectable VoLTE Icons [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-09-11 20:32:50 +07:00
LorDClockaN
246c09b035 Cherish:Statusbar weather [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-25 10:37:05 +07:00
Hưng Phan
59293d7ff4 Cherish:Comeback "[SQUASHED] Custom Carrier Label & Carrier Label Placement [1/2]"
This reverts commit a40ab20879.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-25 09:57:09 +07:00
Hưng Phan
8dfadcc4f7 Revert "Cherish:Statusbar weather font color, size [2/2]"
This reverts commit 346bd04b1e.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Revert "[SQUASH]Cherish:Status bar weather [2/2]"

This reverts commit 8534a50c8b.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-25 09:57:08 +07:00
Hưng Phan
a40ab20879 Cleanup some commits:
Revert "[SQUASHED] Custom Carrier Label & Carrier Label Placement [1/2]"

This reverts commit 69d6ea5f4a.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Revert "Cherish: Explain to the user why LS Blur is disabled"

This reverts commit 7d79cc9d06.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Revert "Cherish: Hide LS blur option if homescreen and LS wallpaper are different"

This reverts commit 8b8a6de242.

Revert "Cherish: Add lockscreen background blur [2/2]"

This reverts commit d979103998.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Revert "Cherish:Notifications background opacity [2/2]"

This reverts commit d05ae2705d.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-19 17:30:25 +07:00
LorDClockaN
346bd04b1e Cherish:Statusbar weather font color, size [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-09 11:47:40 +07:00
LorDClockaN
8534a50c8b [SQUASH]Cherish:Status bar weather [2/2]
@hungphan2001:Bring to Android 11

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-09 11:47:39 +07:00
Steve Kondik
4c472169f0 Cherish: Forward-port notification counters [2/2]
Change-Id: Ia491aa89e5d9c82594c16f5c79dbd1bec3039d26
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-06-28 12:14:11 +07:00
Hưng Phan
ee2f393723 Cherish:Add all icons for cherish settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-05-30 21:35:27 +07:00
Kshitij Gupta
7c352e5482 Cherish: notch-city: Add 3 mode display cutout handler [3/3]
[AgentFabulous - POSP]
- Add the respective control in here
- Also add a little video illustration I made to go along with it :)

Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Change-Id: I8fe68610a50e2a430363dc09f4a9adb8a4563ad0
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-05-28 18:14:47 +07:00
cjybyjk
0f1e289798 Cherish: add StatusBar Lyric [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-05-28 10:52:01 +07:00
Pranav Vashi
ff938b9273 Cherish:Status bar notification ticker [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-05-28 10:52:00 +07:00
Hưng Phan
fef56edee2 Cherish:Remove Vowifi and VoLTE
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-05-22 16:01:05 +07:00
Hưng Phan
d5d633f949 Revert "Cherish: Allow to switch back to pre P mobile type icon style [2/2]"
This reverts commit e4498a5ea6.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-04-24 10:57:16 +07:00
neobuddy89
bc1ce679eb Cherish: Custom logo customizations [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-03-11 10:26:08 +07:00
TheStrix
2db17deaef Cherish: Add statusbar battery options
Allows the user to tune:
- battery styles
- battery percentage

rcstar6696:
- Adapted to our battery styles

Change-Id: Icf9d072442d09b3a5dada4c21404eff5539d5c12
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-03-09 09:51:53 +07:00
Hưng Phan
7bfdbcccc0 Revert Old battery styles
Revert "Cherish:Add option to show battery percent & estimate [2/2]"

This reverts commit 9a8e252169.

Revert "Cherish:Add big and big dotted circle [2/2]"

This reverts commit be26a12a22.

Revert "Cherish:Add Solid battery style from PA [2/2]"

This reverts commit 404108fea3.

Revert "Cherish:Add battery styles and customizations for Android 11 [2/2]"

This reverts commit dca03924b9.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-03-09 09:42:56 +07:00
SagarMakhar
32ae733a33 Cherish:Update mobile data icon instantly when toggled
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-03-06 21:00:01 +07:00
Vachounet
e4498a5ea6 Cherish: Allow to switch back to pre P mobile type icon style [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-02-11 22:20:00 +07:00
beanstown106
69d6ea5f4a [SQUASHED] Custom Carrier Label & Carrier Label Placement [1/2]
SuperDroidBond Edit- Port Carrier Label Font Size, Style & Color from AOSP Ex & RR Nougat
                     Use the lock clock font arrays.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-12-27 02:16:45 +07:00
Pranav Vashi
ec31a01004 Cherish: Make roaming indicator optional [2/2]
Change-Id: I632fd55d508128949b66553a8d05ce90d31e3529
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-28 00:57:21 +07:00
Hưng Phan
5c5b0a00db Revert "Cherish: Statusbar brightness control"
This reverts commit 3563c5f051.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-28 00:57:20 +07:00
cphelps76
5d1fe22359 Cherish: Add BatteryBar customizations [2/2]
Change-Id: I6ffcb245db5479e8d818cc31ceb573e17e38f0bb
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-21 01:51:12 +07:00
Lars Greiss
19f919964c Cherish:Statusbar Clock n Date customization (2/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-19 00:39:30 +07:00
Sebastian
3563c5f051 Cherish: Statusbar brightness control
Change-Id: Ia0a944f1b54698d57e74483cdf15fb48b4dd52c0
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-18 23:38:32 +07:00
varund7726
0280a1acb8 Cherish: Option to Display Data Disabled Indicator Icon [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-15 20:24:10 +07:00
ezio84
8fc38f317f Cherish:Status network traffic [2/2]
Change-Id: I914065e7f44e2b7a0299c2f219ec519e07b16b68
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-11 14:41:23 +07:00
Pranav Vashi
dca03924b9 Cherish:Add battery styles and customizations for Android 11 [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-09 09:58:10 +07:00
DennySPB
976fa6a904 Add four more selectable VoWiFi icons [2/2]
Change-Id: Ie185d857649a49323460a2a91acbbd049acc8a29
Signed-off-by: DennySPb <dennyspb@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-05 13:00:52 +07:00
DennySPB
8ed683d6a6 Optional VoWiFi icon [2/2]
Change-Id: Ie749adb282bde9e70c3e57a1daec4e945e128195
Signed-off-by: DennySPb <dennyspb@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-05 12:57:46 +07:00
SuperDroidBond
13a8fe00b0 VoLTE Icon - User Selectable VoLTE Icon [2/2]
Change-Id: I1dc8a6cee76dcd5519f5eb1edee0ac620c0a2560
Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Signed-off-by: DennySPB <dennyspb@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-04 14:18:49 +07:00
DennySPB
d3294ccf88 Cherish: VoLTE icon toggle [2/2]
Change-Id: I8c2d9c1a1f1554bf0f2c7cf355fff9abb0137263
Signed-off-by: DennySPB <dennyspb@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-04 14:15:20 +07:00
DennySPB
896b34541b Cherish: 4G instead of LTE option [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-04 14:11:47 +07:00
Hưng Phan
b301c69b76 Cherish:Run NavBar tuner and StatusBar tuner 2020-10-03 14:08:38 +07:00
Hưng Phan
e6308bab52 Cherish:Intitial for Android 11
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-01 00:46:50 +07:00
bigrushdog
f9657adfb8 [SQUASH]DerpQuest: Add Battery Bar [2/2]
AquariOS:
    Fixed color preferences to stick - @calebcabob

I'd like to thank and show respect to the following contributors for this
fantastic feature

Lokesh Chamane <lokesh.chamane@pac-rom.com>
SpiritCroc <spiritcroc@gmail.com>
westcripp <korukaltan@gmail.com>

commit fe5fa0cb0b74348d5e0e8172b17ab0f2d272dbf3
Author: Lokesh Chamane <lokesh.chamane@pac-rom.com>
Date:   Thu Aug 4 23:37:17 2016 -0600

    BatteryBar: Gradient Color [2/2]

    Change-Id: If85baf2e724f9c6cdef868af323be039b47e49ad
    Signed-off-by: mydongistiny <jaysonedson@gmail.com>

commit 0f046e9887f547ff130a925d02d75d0a74b369f4
Author: SpiritCroc <spiritcroc@gmail.com>
Date:   Mon May 2 02:52:00 2016 -0700

    Battery bar enhancements [2/2]

    Add color settings for charging & low battery
    Add reversed alignment setting

    Change-Id: I51f7e0499971ed344d8faa6e63d4f89558946cb7
    Signed-off-by: mydongistiny <jaysonedson@gmail.com>

commit be722a66ed4243831c48f45997a4cf1c442bc335
Author: westcripp <korukaltan@gmail.com>
Date:   Sat Jan 10 04:14:45 2015 +0200

    Settings: Add back batterybar [2/2]

    Change-Id: I67b0a971fe9f0b6f5443d8ca7336d5e28e86bccd
    Signed-off-by: mydongistiny <jaysonedson@gmail.com>

Change-Id: I4ad46c0e294b8fcf443926b5bb6d11930d981f91

@idoybh (DerpFest) edits:
    * Improved and simplified the code
    * Converted to a MasterSwitchPreference
    * Added to settings search index

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-09-06 21:22:21 +07:00
Hưng Phan
fad857d2ba Cherish:Toggle for bolt icon when charging [2/2]
Make sure the switch is enabled only when relevant
2020-09-06 21:22:12 +07:00
Hưng Phan
54f4f77b82 Cherish:Cleanup battery estimate for QS [2/2]
This reverts commit 32e16fdb993da72996aa8814f943e9d063100872.
2020-09-06 21:21:08 +07:00
spezi77
b94088a52f Cherish:Text battery style: Toggle for bolt icon when charging [2/2].
Signed-off-by: spezi77 <spezi7713@gmx.net>
2020-08-18 22:03:33 +07:00