Commit Graph

870 Commits

Author SHA1 Message Date
Hưng Phan
f5a35bbf31 New Crowdin updates (#185)
* New translations cherish_strings.xml (Romanian)

* New translations cherish_strings.xml (French)

* New translations cherish_strings.xml (Spanish)

* New translations cherish_strings.xml (Arabic)

* New translations cherish_strings.xml (Czech)

* New translations cherish_strings.xml (Danish)

* New translations cherish_strings.xml (German)

* New translations cherish_strings.xml (Greek)

* New translations cherish_strings.xml (Finnish)

* New translations cherish_strings.xml (Hebrew)

* New translations cherish_strings.xml (Hungarian)

* New translations cherish_strings.xml (Italian)

* New translations cherish_strings.xml (Japanese)

* New translations cherish_strings.xml (Korean)

* New translations cherish_strings.xml (Kurdish)

* New translations cherish_strings.xml (Dutch)

* New translations cherish_strings.xml (Norwegian)

* New translations cherish_strings.xml (Polish)

* New translations cherish_strings.xml (Portuguese)

* New translations cherish_strings.xml (Russian)

* New translations cherish_strings.xml (Slovak)

* New translations cherish_strings.xml (Serbian (Cyrillic))

* New translations cherish_strings.xml (Swedish)

* New translations cherish_strings.xml (Turkish)

* New translations cherish_strings.xml (Ukrainian)

* New translations cherish_strings.xml (Chinese Simplified)

* New translations cherish_strings.xml (Chinese Traditional)

* New translations cherish_strings.xml (English)

* New translations cherish_strings.xml (Vietnamese)

* New translations cherish_strings.xml (Portuguese, Brazilian)

* New translations cherish_strings.xml (Indonesian)

* New translations cherish_strings.xml (Persian)

* New translations cherish_strings.xml (Hindi)

* New translations cherish_strings.xml (Malayalam)

* New translations cherish_strings.xml (Latin)

* New translations cherish_strings.xml (Nepali)

* New translations cherish_strings.xml (Kurmanji (Kurdish))

* New translations cherish_strings.xml (Sorani (Kurdish))

* New translations cherish_strings.xml (Lao)

* New translations cherish_strings.xml (Turkish, Cyprus)
2023-03-20 02:18:23 +07:00
Hưng Phan
469a6573bd New Crowdin updates (#184)
* New translations cherish_strings.xml (Portuguese)

* New translations cherish_strings.xml (Portuguese, Brazilian)

* New translations cherish_strings.xml (Indonesian)

* New translations cherish_strings.xml (Vietnamese)
2023-03-20 02:18:23 +07:00
Adin Kwok
9bf590b8cb Cherish: Smart Pixels [2/2]
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:23 +07:00
minaripenguin37
686384593a Cherish: Make combined signal icons configurable at runtime [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:23 +07:00
00day0
d585c862fe Cherish: Introduce OOS style notification clear all button [2/2]
aslo bring custom style notif clear

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:22 +07:00
travarilo
77c2ee8c48 Cherish:Toggle data usage view on QS footer [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:22 +07:00
Hưng Phan
eb4dc21e49 Cherish:clean some changes in volte/vowifi
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:22 +07:00
Hưng Phan
816dc32004 New Crowdin updates (#182)
* New translations cherish_strings.xml (Spanish)

* New translations cherish_strings.xml (Arabic)

* New translations cherish_strings.xml (Russian)

* New translations cherish_strings.xml (Romanian)

* New translations cherish_strings.xml (French)

* New translations cherish_strings.xml (Czech)

* New translations cherish_strings.xml (Danish)

* New translations cherish_strings.xml (German)

* New translations cherish_strings.xml (Greek)

* New translations cherish_strings.xml (Finnish)

* New translations cherish_strings.xml (Hebrew)

* New translations cherish_strings.xml (Hungarian)

* New translations cherish_strings.xml (Italian)

* New translations cherish_strings.xml (Japanese)

* New translations cherish_strings.xml (Korean)

* New translations cherish_strings.xml (Kurdish)

* New translations cherish_strings.xml (Dutch)

* New translations cherish_strings.xml (Norwegian)

* New translations cherish_strings.xml (Polish)

* New translations cherish_strings.xml (Portuguese)

* New translations cherish_strings.xml (Slovak)

* New translations cherish_strings.xml (Serbian (Cyrillic))

* New translations cherish_strings.xml (Swedish)

* New translations cherish_strings.xml (Turkish)

* New translations cherish_strings.xml (Ukrainian)

* New translations cherish_strings.xml (Chinese Simplified)

* New translations cherish_strings.xml (Chinese Traditional)

* New translations cherish_strings.xml (English)

* New translations cherish_strings.xml (Vietnamese)

* New translations cherish_strings.xml (Portuguese, Brazilian)

* New translations cherish_strings.xml (Indonesian)

* New translations cherish_strings.xml (Persian)

* New translations cherish_strings.xml (Hindi)

* New translations cherish_strings.xml (Malayalam)

* New translations cherish_strings.xml (Latin)

* New translations cherish_strings.xml (Nepali)

* New translations cherish_strings.xml (Kurmanji (Kurdish))

* New translations cherish_strings.xml (Sorani (Kurdish))

* New translations cherish_strings.xml (Lao)

* New translations cherish_strings.xml (Turkish, Cyprus)

* New translations cherish_strings.xml (Spanish)

* New translations cherish_strings.xml (Russian)
2023-03-20 02:18:22 +07:00
El Dainosor
0bb076c36a Cherish: Add support for UI Styles
Not a great previewer but for now it'll do the work

[nurkeinneid]:
- adapt to our ThemeUtils
- restore original copyright header - crdroid did nothing here

Change-Id: I432578a4b3c652d7ad3e00a93e11bfb3e199b4a5
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:21 +07:00
Hưng Phan
48d035e6c8 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>
2023-03-20 02:18:21 +07:00
Hưng Phan
e4b5b5cc00 New translations cherish_strings.xml (Spanish) (#180)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:21 +07:00
jhonboy121
8f80cc77e8 Cherish:update edge light preferences
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:21 +07:00
Hưng Phan
5df14a0546 Import some SystemSettingColorPickerPreference
This reverts commit f547af0ea1.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:20 +07:00
Jesse Chan
057344a855 Cherish:Implement click to take partial screenshot [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:20 +07:00
ezio84
ded28bde05 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>
2023-03-20 02:18:20 +07:00
Hưng Phan
f78ac10568 New Crowdin updates
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:20 +07:00
TikkiTikki
fe80d5f19a Pulse: Vertical mirror [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:19 +07:00
TikkiTikki
287a6d9b01 Pulse: Custom gravity and Center mirrored [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:19 +07:00
TikkiTikki
94ae0f8021 Cherish: Solid render: Round lines [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:19 +07:00
Pranav Vashi
70d5bb6c71 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>
2023-03-20 02:18:19 +07:00
jhonboy121
2e141ae231 Cherish:add edge light customizations[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:18 +07:00
Dil3mm4
f2dc67526c Feature: reticker [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:18 +07:00
jhonboy121
7e9ea36502 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>
2023-03-20 02:18:18 +07:00
jhonboy121
a410b4c687 AppLockSettingsPC: use DashboardFragment as the type for host
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:18 +07:00
jhonboy121
da941652b3 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>
2023-03-20 02:18:17 +07:00
jhonboy121
fc7a0c985e applock: adapt for API changes
Signed-off-by: jhonboy121 <alfredmathew05@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:17 +07:00
jhonboy121
54db7593c1 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>
2023-03-20 02:18:17 +07:00
Hưng Phan
5d558e3fa6 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>
2023-03-20 02:18:16 +07:00
Pranav Vashi
be914d42f7 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>
2023-03-20 02:18:16 +07:00
Pranav Vashi
fdc7d141b2 cherish: Smart Charging (2/4)
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:16 +07:00
Hưng Phan
947f09d0fd Udfps authentication / error vibration [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:18:09 +07:00
Hưng Phan
2e6379af48 UDFPS Haptic: re-enable it
This reverts commit 060f87564a.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:17:15 +07:00
LorDClockaN
36d726583e Cherish: Power/reboot menu transparency (1/2)
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:51 +07:00
LorDClockaN
fb7620418e Cherish: Rotation anim to Power and reboot menu [1/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:51 +07:00
westcripp
80b3130cf7 Cherish: Add 7 more power menu animations [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:51 +07:00
Nico60
fe954cf9e4 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>
2023-03-20 02:16:51 +07:00
Alex Cruz
38ea21a9bb Cherish: Power Menu animations [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:50 +07:00
Hưng Phan
d24ab995b4 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>
2023-03-20 02:16:50 +07:00
jhonboy121
326d16b46c 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>
2023-03-20 02:16:50 +07:00
Pranav Vashi
1e6d42be5d Cherish: QS layout customizations
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:50 +07:00
StarkDroid
11b60a3164 Cherish: Add QS Panel Styles [2/3]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:49 +07:00
ezio84
fb3d2e57b3 Cherish: Allow doubletap/longpress power to toggle torch [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:49 +07:00
Pranav Vashi
9fb7d1d563 Cherish:Add ability to toggle bluetooth battery level [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:49 +07:00
spkal01
26276a9b3d Cherish:Make app icons in statusbar optional [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:49 +07:00
Steve Kondik
4abec14f98 Cherish:Forward-port notification counters [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:48 +07:00
jhonboy121
b996e3c204 Cherish:Allow toggling privacy indicators [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:48 +07:00
Hưng Phan
8637958601 Cherish:Nuke udfp haptic feedback now
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:40 +07:00
Stealth1226
2557431b1c Cherish: Auth ripple toggle
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2023-03-20 02:16:04 +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