Commit Graph

256 Commits

Author SHA1 Message Date
spkal01
ec836d4606 Cherish: Settings Customization
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-05-28 12:20:18 +07:00
Hưng Phan
9dedf283bc "Revert "TopLevelSettings: custom settings layout [3/3]"
This reverts commit 837e5f2d0c.

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

Revert "Revert "TopLevelSettings: custom settings layout [3/3]""

This reverts commit 2a3921c969.

Revert "TopLevelSettings: custom settings layout [3/3]"

This reverts commit 42d357e1a2.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-05-28 12:19:05 +07:00
R15Hi
086c474e2a Cherish: Add 14 New VoLTE icon [2/2]
Thankful to
1. Flowder:- https://t.me/flowdor
2. Iconic icon:- https://t.me/IconicIcons
3. Acherus:- https://t.me/acherussubstratum

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-05-28 12:19:04 +07:00
R15Hi
4b6b57e542 Battery Styles: Added 9 more battery styles [2/2]
Thanks to Another substratum theme for many icons:- https://t.me/AnotherTheme
Thanks to @Fakeriz for battery icon style A.
Thanks to @Ndikarizki for battery icon style B.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-05-28 12:19:04 +07:00
703joko
b4e9642307 Cherish: Introduce Battery Landscape [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-05-28 12:19:04 +07:00
Hưng Phan
77104f5445 Revert "Cherish:Hide extended qs brightness slider"
This reverts commit ae82e06f22.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-31 20:58:40 +07:00
Hưng Phan
837e5f2d0c Revert "Revert "TopLevelSettings: custom settings layout [3/3]""
This reverts commit 2a3921c969.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-29 19:31:26 +07:00
Hưng Phan
2a3921c969 Revert "TopLevelSettings: custom settings layout [3/3]"
This reverts commit 42d357e1a2.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-23 08:59:38 +07:00
Pranav Vashi
8bd5be5eda Cherish:Pulse initial checkin for Android 12 [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-21 08:17:47 +07:00
Pranav Vashi
5161803844 Cherish:Add Lockscreen album art filter [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-21 08:16:50 +07:00
spkal01
42d357e1a2 TopLevelSettings: custom settings layout [3/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-21 08:14:17 +07:00
Hưng Phan
0aab504f62 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-03-21 08:13:17 +07:00
Hưng Phan
ee4fb9ccbe Cleanup clock position[2/2]
Revert "Cherish:fix-up: statusbar clock date customization (2/2)"

This reverts commit 0b61f74039.

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

Revert "Cherish: Add option to auto hide status-bar clock [2/2]"

This reverts commit 6bc14947d6.

Revert "Cherish:Status bar clock/date customizations [2/2]"

This reverts commit eb7d3bf5c1.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-18 17:21:37 +07:00
bigrushdog
7db326c976 Cherish: Screen off animations [2/2]
Change-Id: Idcba49c5e8389314412457269f9b2577469d29d2
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 21:31:59 +07:00
bigrushdog
54a5962b6e Hardware key: Customization support [2/2]
Based on DUI

jhenrique09 edits: make it DUI independent

Original commit message:
Same robust action library as used on software navigation. Supports
single tap, double tap, and long press. As a precautionary measure,
single tap back and single tap home are fixed and can not be changed.
Camera button actions are not supported at this time. We will bring
in wake key support at a later time.

Also includes:

Change-Id: I29ff38678821ca80db36d49d3b10d8ac29a6b4de
DUI: Initial checkin for Oreo [4/7]
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: mhkjahromi <m.h.k.jahromi@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 20:17:28 +07:00
Myself5
7a11dc7e80 Cherish: Introduce full circle battery style[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 09:33:02 +07:00
spezi77
4c5cdef705 NetworkTraffic: Cleanup and align to the new implementation.
* Also port "Show single traffic and allow custom font size [2/2]"
* Thanks to neobuddy for showing how the code can be slimmed down:
  https://github.com/crdroidandroid/android_packages_apps_crDroidSettings/commit/cab6d64

Signed-off-by: spezi77 <spezi7713@gmx.net>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:34 +07:00
SKULSHADY
f083d98042 Cherish: Improve Network traffic
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:33 +07:00
Anushek Prasal
22a871caa2 Network Traffic: Allow to choose display mode [1/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:33 +07:00
Anushek Prasal
02f68e76af Cherish: Add Network traffic location
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:33 +07:00
xyyx
1185608377 Cherish: add dotted circle style (2/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:32 +07:00
Danesh M
b0292b2445 BatteryMeterDrawable: add text style (2/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:32 +07:00
Sven Dawitz
3a3df7da3b Forward Port Battery Styles
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:31 +07:00
Danesh M
2ff574b8c7 Implement battery percent styles (2/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:31 +07:00
kufikugel
0b61f74039 Cherish:fix-up: statusbar clock date customization (2/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 01:46:36 +07:00
Meticulus
ba9728d512 Cherish: Live Volume Steps [2/2]
Change-Id: I1e4ced6a7b7c963419fe1656e25b76f596a61959
Signed-off-by: Jason Edson <jaysonedson@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 01:44:39 +07:00
SuperDroidBond
2b68764181 Cherish: Ambient Pulse Light: add layout style for top n bottom [2/2]
Co-Authored-By: bezke <1642612+bezke@users.noreply.github.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:36 +07:00
AnkitGourav
32b8f56a92 Cherish: Ambient Edge Pulse style [2/2]
Co-Authored-By: bezke <1642612+bezke@users.noreply.github.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:35 +07:00
AnkitGourav
8db67ec20d Cherish: Add reverse animation direction [2/2]
Co-Authored-By: bezke <1642612+bezke@users.noreply.github.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:35 +07:00
idoybh
fb5f6fa3ca Cherish:Add ambient edge lightning settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:34 +07:00
idoybh
81a02dd369 AODSchedule: Add support for mixed time & sun modes [2/2]
Also make the code a bit more readable

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:34 +07:00
idoybh
9d7a94864c Cherish: Allow scheduling always on display [2/2]
From sunset to sunrise or at a custom time

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:33 +07:00
Ido Ben-Hur
e2c957756f Cherish: Allow to flash on call only when entirely silent [3/3]
In addition improve the strings

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:31 +07:00
PMS22
3a4a64be72 Cherish: Add Flashlight blink on incoming calls [3/3]
- Thanks to Shripal17 for suggesting list preference
  instead of a toggle
- Add a device specific flashlight check

idoybh edits: The current check is for isRingerAudiable and
not for DND - change var names and strings so it'll not mislead any
future developer or any user

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:30 +07:00
Nico60
382eeb9172 Cherish: Add interpolators to qs tiles animation [2/2]
Change-Id: I702fdb87ed821290b5a895381f7b987e3a36a58d
Signed-off-by: mydongistiny <jaysonedson@gmail.com>
Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:30 +07:00
Nico60
f802e64457 Cherish: Add animations to quick settings tiles [2/2]
Change-Id: I2e4009027d35a519a8e8b3b17e41b4dcd829c307
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:28 +07:00
DennySPB
34b5dd698a Cherish: Add volte and vowifi options
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:21 +07:00
Lars Greiss
eb7d3bf5c1 Cherish:Status bar clock/date customizations [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:19 +07:00
Roman Birg
8392239373 Cherish:Add QS pull down with one finger [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:18 +07:00
Lokesh Chamane
eae80f6e34 Cherish: HeadsUp snooze function [2/2]
5.1 introduced a snooze feature which activates when swiping up.
Default snooze time is 1 minute. Let's make it configurable!

Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Change-Id: Ieac7f6182597c2285c1ddf40e2e75cce680682e7
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:18 +07:00
Lars Greiss
5ddc665991 HeadsUp: add timeout option (2/2)
Forward ported to marshmallow/nougat By: @BeansTown106
removed the none option as we now have a headsup minimum time of 2seconds
added 5sec option as that is the new default in marshmallow

Signed-off-by: Arghya Chanda <arghyac35@gmail.com>
Change-Id: I6af7fef23f1cdb62390bd4bf8b81b5ca9bdb2a8d
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:17 +07:00
ezio84
6be9e8b3f3 Allow doubletap/longpress power to toggle torch [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:06 +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
703joko
06dad1e1f6 Cherish: Introduce Battery Landscape | Left Battery Text [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-09-25 22:05:07 +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
SuperDroidBond
b2626d388c Cherish[SQUASHED] System Charging Animation [2/2]
ChargingAnimation : change both Wired & Wiresless Charging animation [2/2]

ChargingAnimation: move option to Xtras

SDB: also add dependency with Charging Animation toggle

ChargingAnimations: add a few more animations [2/2]

ChargingAnimation : bring back the default one [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-09-11 20:32:34 +07:00
Advaith Bhat
fb90dc38b9 Cherish: Lottie Animation selection for Keyguard clock styles [2/2]
SDB: disable it as per the clock selection option
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-28 21:26:36 +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