Commit Graph

352 Commits

Author SHA1 Message Date
Stallix
6d47b7ee00 Cherish:User toggle for unlimited photos storage [2/2]
User toggle for StreamProp [2/2]
User toggle for GamesProp [2/2]

Co-authored-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-05-28 12:20:24 +07:00
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
Hưng Phan
2966b6b5b5 fix path LineageHardwareManager 2022-05-28 12:19:03 +07:00
Joey Huab
581bbbb03d Cherish: Bring back Monet settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-04-07 13:10:46 +07:00
Hưng Phan
3c365eaecd Revert "Cherish: Clean hide clock"
This reverts commit 6326cc1ab8.
2022-03-30 11:57:45 +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
202cdc1d67 Revert some commits
Revert "Cherish: Black theme [2/3]"

This reverts commit 41392e2a62.

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

Revert "Cherish: Bring back Monet settings"

This reverts commit c2cf740c03.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-29 09:28:18 +07:00
Alex
9b1b715f48 Navbar: Add navbar layout custom
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Navbar: Add navbar layout preference

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

Navbar: Add navbar arrow keys switch

Change-Id: I9e15f7737559b169e3f58d70999779a1e7109577
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-29 09:28:17 +07:00
Vachounet
23549703f6 Cherish: Custom FOD Icon [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-26 13:42:53 +07:00
SuperDroidBond
35e75fc2d6 UDFPS Settings: beautifications
Move all UDFPS Settings to separate menu for ease of removal
for non-udfps devices

Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-26 13:42:53 +07:00
SagarMakhar
72f3241d7d [SQUASH] Bring back Udfps icons and Animations [2/3]
Change-Id: I21db60139dceaa595324a2a35f05ed39006eec66
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>

Bring back icon shapes, icon packs, fonts Customisation

Signed-off-by: sb6596 <shubhamprince111@gmail.com>
Change-Id: I0a80a90faa83d94ec8652fc48faee8e1ae710f09
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-26 13:42:52 +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
Hưng Phan
6326cc1ab8 Cherish: Clean hide clock
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-23 00:01:26 +07:00
Joey Huab
c2cf740c03 Cherish: Bring back Monet settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-22 09:40:01 +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
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
4720f3c724 Hardware key disable support
Change-Id: I42f8b3b9423e218eb612bb8ff57baa58280392e6
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 21:31:39 +07:00
maxwen
2960d8c445 Custom button light [2/2]
*DU Edits*

- Adapt to our custom seekbar
- Wrap preferences/seekbar with a category / update strings
- Add check to remove preferences depending on bool (config_button_brightness_support)

Change-Id: I90531723f8751a92766e96f5409d979a2f5bd524
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 20:17:35 +07:00
GodfatherX64
6c28bcff30 Hardware key: Enable single tap rebinding for hwkey back and home
Initially, this policy was put in place to safeguard
the UX by preventing a usecase where the device could
be put in a state without back or home available. However,
if a user puts the device in this state, it is easy enough
to navigate to button settings to fix it

Change-Id: I6b71f9e54fcb99356e07f236e9ed926ac5fc017e
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:35 +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
Hưng Phan
841c59487b Cherish:fix overlay reset after reboot in preview
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:37 +07:00
Pranav Vashi
eaff2938c5 Cherish: Add signal and wifi icon style theming
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:36 +07:00
SagarMakhar
773e46b857 Cherish: Bring back icon shapes, icon packs, fonts customization
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:36 +07:00
Aston-Martinn
39307c0279 Introduce Custom Statusbar Signal & Wi-Fi icons [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:36 +07:00
Pranav Vashi
09d27c829b Cherish: Add adaptive icon shape customization
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:35 +07:00
Hưng Phan
77f38037b3 Cherish:move all theming stuffs to our Theme Settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:35 +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
spezi77
8118c376c5 NetworkTraffic: Fix flawed logic when de-/activating controls.
Introduced in commit https://github.com/pixeldust-project-caf/android_packages_apps_PixelDustSettings/commit/575da06

Signed-off-by: spezi77 <spezi7713@gmx.net>
Change-Id: I316096eb94c1611998500f9c9a1e931e896b1bfc
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:34 +07:00
SKULSHADY
3b1960c6ea NetworkTraffic: Show single traffic for statusbar & allow custom font size [2/2].
Based on commits by idoybh, SKULSHADY and SDB:
* https://github.com/pixeldust-project-caf/android_packages_apps_PixelDustSettings/commit/8f52988
* https://github.com/pixeldust-project-caf/android_packages_apps_PixelDustSettings/commit/0a5424b

Co-authored-by: Ido Ben-Hur <idoybh2@gmail.com>
Co-authored-by: SuperDroidBond <superdroidbond@yahoo.com>
Signed-off-by: spezi77 <spezi7713@gmx.net>
Change-Id: I26c826066569af2cb07c2a9e6c03f6c71f8a18f7
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:34 +07:00
Genkzsz11
a855197418 Cherish: Interval net visibility
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
Jon Haus
bc63f10c90 Cherish: Network Traffic [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:32 +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
xyyx
580e5cf28a BatterySettings: Move to androidx
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:34:31 +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
Ido Ben-Hur
fdc85e21ef Cherish: Allow customizing footer text [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-17 00:33:16 +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
Ido Ben-Hur
a0c75390da Cherish: Conditionally hide screen off FOD
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:37 +07:00
Ido Ben-Hur
d4994c66d9 Cherish: Show the summary for flash on call
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:36 +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
39d8d998eb AODSchedule: Correctly display summary
Properly support all locales and time formats
and improve some code

Signed-off-by: Sagarrokade006 <Sagarrokade006@gmail.com>
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
acras01
fc1572674a Cherish: Complete Allow toggling combined signal icons [2/2]
Change-Id: I5b39d5000fc3b1af94f88a5f8dbc62b82e400388

Co-authored-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-15 00:41:32 +07:00