Commit Graph

321 Commits

Author SHA1 Message Date
jhonboy121
d3bdfeccb1 applock: adapt for API changes
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-28 10:28:17 +07:00
jhonboy121
4d7b651c13 Cherish:introduce app lock
* AppLockCredentialActivity is a stripped down version of ConfirmDeviceCredentialActivity in Settings

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-27 22:43:01 +07:00
ezio84
9f425ed7e1 Cherish: Allow doubletap/longpress power to toggle torch [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-24 11:38:17 +07:00
spkal01
10762bcf05 Cherish: Configurable udfps color
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-15 00:57:53 +07:00
Vachounet
eda2ea4ae9 Cherish: Custom fp icon
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-14 23:36:33 +07:00
SagarMakhar
a9d39862a6 Cherish: Bring back UDFPS icons and Animations [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-14 23:35:11 +07:00
spkal01
4b4b2ba49c Cherish: Add Udfps Settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-14 23:31:37 +07:00
spkal01
bb4d205f59 Cherish: Bring Back LsClock settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-14 23:25:28 +07:00
spkal01
451d85b554 Cherish: Settings Customization
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-14 11:15:18 +07:00
jhonboy121
d8b45d674a Cherish:add edge light customizations[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:15:59 +07:00
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
jhonboy121
7c02f3bf4d Cherish: improve app list fragment
* properly constrained image view and max lines of both label and package views
* use lifecycle scope inherent to fragments instead of creating new coroutine scopes
* fetch package list from pm every time refreshList is called
* early release locks when refreshing list
* properly annotate setDisplayCategory method
* keep AppListAdapter as a regular nested class instead of an inner class for reusability

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:15:58 +07:00
idoybh
5112b06122 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-09-09 07:15:58 +07:00
idoybh
23f87707d3 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-09-09 07:15:58 +07:00
idoybh
3613fa0d8a 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-09-09 07:15:57 +07:00
Pranav Vashi
0590d07893 Cherish: [SQUASH] User toggle for unlimited photos storage and GamesProp [2/2][2/2]
Co-authored-by: spezi77 <spezi7713@gmx.net>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:15:56 +07:00
Pranav Vashi
e1a4c986a6 Alert Slider: Add toggle to disable notifications [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:15:55 +07:00
Hưng Phan
135aefde28 Cherish:Add some button settings
Hardware key: Customization support[2/2]

Volume Rocker Wake [2/2]

Volume key cursor control (2/2)

Co-authored-by: jhenrique09 <jhsv09@gmail.com>
Co-authored-by: Max <xyyx@mail.ru>
Co-authored-by: bigrushdog <randall.rushing@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:15:48 +07:00
Alex
b6c4c176e5 Cherish:Allow enabling compact layout of navigation bar[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:11:59 +07:00
strwbrry143
d76fdf8d23 Cherish: Trigger systemui restart for qs style option
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-09-09 07:11:58 +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
jhonboy121
f479baa3a5 Cherish: Add navbar layout inversion tuning [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 08:22:55 +07:00
Bruno Martins
49bf415d75 Cherish: Introduce {Global,Secure,System}MainSwitchPreference
Change-Id: I04cf71ea60b3ecde3c8be039ab320e8730ca4b3f
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 08:22:54 +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
beanstown106
693fa1a354 Cherish: incall vibration options [3/3]
*allow setting vibration when call is connected
*allow setting vibration when call is disconnected
*allow setting vibration for call waiting
*this works with google and aosp dialer :)

Change-Id: Id1a431124174571f8d0091825af2418971cfe35d
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 08:22:41 +07:00
Roman Birg
2a091387f9 Cherish: Add quick settings pull down with one finger [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-27 02:43:16 +07:00
ezio84
ead96ff61d Disable useless alphaslider for battery led customization
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-26 08:00:37 +07:00
ezio84
43c9ebd5d8 Cherish:Battery light customization [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-26 08:00:24 +07:00
Hưng Phan
d957ab4bbf Cherish:fix overlay reset after reboot in preview
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-26 07:57:23 +07:00
Pranav Vashi
adeec30b04 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-08-26 07:57:23 +07:00
SagarMakhar
a733a216f4 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-08-26 07:57:23 +07:00
Aston-Martinn
a7cb077cdb Introduce Custom Statusbar Signal & Wi-Fi icons [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-26 07:57:23 +07:00
Pranav Vashi
f1e4eae93d Cherish: Add adaptive icon shape customization
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-26 07:57:22 +07:00
Hưng Phan
f22f3ab622 Cherish:move all theming stuffs to our Theme Settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-26 07:57:16 +07:00
Hưng Phan
3873d41256 Cherish:Remove Utils
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-08-25 22:31:17 +07:00
jhonboy121jhonboy121
aa23b6c0f3 Cherish: Import BasePreferenceController and DashboardFragment from Krypton
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-03-14 23:38:10 +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
Roman Birg
d429dca7c2 Cherish:Add left and right virtual buttons while typing [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-10-08 11:46:14 +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
948392031d VoLTE-VoWifi Icon Style: let user know it need SystemUI restart
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-09-25 22:05:07 +07:00
Hưng Phan
10aadd9e46 Cherish: Add back footer text
This reverts commit 45c73083bd.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-09-01 18:32:23 +07:00
spezi77
0979fe036f Cherish: Rounded corners: Cleanup and improvements
* Fix reset corner radius to default fw value
* Remove commented code for Content Padding, which is not going to happen in A11

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-09-01 09:12:52 +07:00
SuperDroidBond
b8f6aff761 GamingMode: Add our HW keys support [3/3]
SDB: Also remove the switch from now-hw-key devices
     and remove gesture hide toggle from HW Key Devices
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-31 23:38:47 +07:00
Advaith Bhat
8921ede1d6 Cherish: Allow setting Lottie animation size [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-28 21:30:38 +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
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
cjybyjk
5040d8afb9 Cherish: Add GamingMode support [3/3]
Change-Id: I27960bbbf982a4cd855524baa743ed6647a2f0be
Reviewed-on: https://review.exthmui.cn/c/android_packages_apps_exTHmSettings/+/209
Signed-off-by: cjybyjk <cjybyjk@zjnu.edu.cn>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-25 09:56:55 +07:00
Hưng Phan
f47e3db4c0 Cherish:[QUASH]Revert Gaming Mode
Revert "Cherish: Option to disable all headsup notifications for Gaming mode [2/2]"

This reverts commit bda00a0719.

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

Revert "Prevent NPE in gaming mode settings"

This reverts commit 568bd02088.

Revert "Gaming mode: stop using masterswitch preference"

This reverts commit f58718e4ae.

Revert "GameMode: remove hwkeys toggle on non-hwkeys devices"

This reverts commit 7a5e86f2e5.

Revert "Cherish:Bring back Gaming mode [3/3]"

This reverts commit c1e9a0df45.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-18 10:14:44 +07:00