Commit Graph

814 Commits

Author SHA1 Message Date
Hưng Phan
f0e2d0c06a New Crowdin updates (#181)
* New translations cherish_strings.xml (Spanish)

* New translations cherish_strings.xml (Russian)

* New translations cherish_strings.xml (Arabic)

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-19 11:10:29 +07:00
Hưng Phan
0155637105 New translations cherish_strings.xml (Spanish) (#180)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-19 11:10:14 +07:00
jhonboy121
b88457ea22 Cherish:update edge light preferences
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 14:45:40 +07:00
Hưng Phan
3d397149c9 Import some SystemSettingColorPickerPreference
This reverts commit f547af0ea1.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 14:22:38 +07:00
Jesse Chan
e151956146 Cherish:Implement click to take partial screenshot [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 00:56:32 +07:00
ezio84
184cf4afbb Cherish:Less boring heads up option [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 00:54:36 +07:00
Hưng Phan
d86bf2d701 New Crowdin updates
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 00:51:09 +07:00
TikkiTikki
a1b356b32c Pulse: Vertical mirror [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 00:50:17 +07:00
TikkiTikki
b462d887bf Pulse: Custom gravity and Center mirrored [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 00:50:09 +07:00
TikkiTikki
5b6b1c5166 Cherish: Solid render: Round lines [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-16 00:49:50 +07:00
Pranav Vashi
238a7f000f 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-12-16 00:49:36 +07:00
jhonboy121
c54c2eb6c2 Cherish:add edge light customizations[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-14 01:16:40 +07:00
Dil3mm4
a432d51465 Feature: reticker [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-14 01:14:41 +07:00
jhonboy121
9a2b851b32 Cherish: applock: early return in setChecked if backing field has the same value
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-14 00:59:33 +07:00
jhonboy121
9c831df1e0 AppLockSettingsPC: use DashboardFragment as the type for host
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-14 00:11:53 +07:00
jhonboy121
4aedefa4d7 Cherish: use a new task stack for app lock fragments
* fixes fragments staying in recents on going home
* also made other preferences do binder calls asynchronously

Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-14 00:11:32 +07:00
jhonboy121
7e7aa11228 applock: adapt for API changes
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-14 00:10:57 +07:00
jhonboy121
21d34ff4e4 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-12-14 00:10:44 +07:00
Hưng Phan
735a2a81ee cherish: 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>
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:29:46 +07:00
Pranav Vashi
0cbb9e2cbd Battery Styles: Introduce Battery Landscape [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: helliscloser <mrumais@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:29:38 +07:00
Pranav Vashi
1526c11a2f cherish: Smart Charging (2/4)
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:29:23 +07:00
Beanstown
6857a13e3e Udfps authentication / error vibration [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:28:44 +07:00
DanipunK1
c045b4a2c9 UDFPS Haptic: re-enable it
This reverts commit 060f87564a.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:28:36 +07:00
LorDClockaN
117c3c83fe Cherish: Power/reboot menu transparency (1/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:28:30 +07:00
LorDClockaN
527b6b1421 Cherish: Rotation anim to Power and reboot menu [1/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:27:53 +07:00
westcripp
967434722f Cherish: Add 7 more power menu animations [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:27:46 +07:00
Nico60
de7d1336ff Cherish: [SQUASHED] Add animations to quick settings
- Add animations to quick settings tiles [1/2]
- Add faster qs tile animation speeds (1/2)
- Add interpolators to qs tiles animation [1/2]

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:27:35 +07:00
Alex Cruz
4cfd21f9d9 Cherish: Power Menu animations [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 23:27:01 +07:00
Hưng Phan
be4bc81a9d 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-12-13 23:24:43 +07:00
jhonboy121
3ce2d1ae4f 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-12-13 23:23:19 +07:00
Pranav Vashi
d87f7fc83d Cherish: QS layout customizations
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 09:22:52 +07:00
StarkDroid
89203d1e4a Cherish: Add QS Panel Styles [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-13 09:22:35 +07:00
ezio84
aa4ad58e36 Cherish: Allow doubletap/longpress power to toggle torch [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:44:47 +07:00
Pranav Vashi
4f1a57e28d Cherish:Add ability to toggle bluetooth battery level [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:43:07 +07:00
spkal01
9a73c5ca57 Cherish:Make app icons in statusbar optional [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:42:59 +07:00
Steve Kondik
0d73b73e46 Cherish:Forward-port notification counters [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:42:50 +07:00
jhonboy121
8613cce5f3 Cherish:Allow toggling privacy indicators [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:42:40 +07:00
Hưng Phan
d2ee255ca1 Cherish:Nuke udfp haptic feedback now
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:42:14 +07:00
Rishawn
0cd7b21c75 Cherish: Auth ripple toggle
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:41:50 +07:00
spkal01
b46dacfa96 Cherish: Configurable udfps color
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:41:44 +07:00
Vachounet
16c2a8fb30 Cherish: Custom fp icon
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:41:36 +07:00
SagarMakhar
a686f8748f Cherish: Bring back UDFPS icons and Animations [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:41:29 +07:00
spkal01
1eb8840e57 Cherish: Add Udfps Settings
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:41:17 +07:00
spkal01
dee8f900dc Cherish: Settings Customization
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-12 14:39:55 +07:00
LorDClockaN
4e51d0c413 Cherish:Toast icon switch [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-11 21:36:27 +07:00
SpiritCroc
0603dc8bbf Cherish:Add kill button to notification guts [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-11 21:18:12 +07:00
Pranav Vashi
0d052b6a4b 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-12-11 21:18:01 +07:00
Alex Cruz
825f83f0b8 Cherish:Pimp the power menu out [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-11 21:16:30 +07:00
Pranav Vashi
a9d7b858b2 Alert Slider: Add toggle to disable notifications [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2022-12-11 21:16:19 +07:00
Hưng Phan
7c3bcc8509 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-12-11 21:15:03 +07:00