Commit Graph

39 Commits

Author SHA1 Message Date
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
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
Christian Oder
a27568245c HAFR: Update Search TextView
* Allow pressing search on keyboard to start the search
* Only allow single line in textview

Change-Id: I8dd91c4a84f03c228174b80494251254185f96e1
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-04 00:36:57 +07:00
Christian Oder
cebca8ba7d Cherish: Implement HideAppFromRecents (HAFR) Settings
Change-Id: I1afcab02d4daa1f2f01bc537fca9878a1eb0ad6b
Signed-off-by: Adin Kwok <adin.kwok@carbonrom.org>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-08-04 00:32:40 +07:00
AndroBuddy
8fd35f708f Themes: Redesign themes section
Add live previews for accents, icons shapes and more

Signed-off-by: AndroBuddy <anirudhchimpidi8@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-25 12:30:13 +07:00
AndroBuddy
22cb3c1afa Themes: Add Live previews for applied themes and fonts
Co-authored-by: ender1324 <ender1324@abv.bg>
Signed-off-by: AndroBuddy <anirudhchimpidi8@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-25 12:30:12 +07:00
faust93
dbc83ecb96 Cherish: Add AlarmsBlocker [2/2]
Made by faust93. Based on WakelockBlocker by maxwen

Included WakeLock: Layout Improvements (See image below) by Mazda--
- Moved switch to the right
- Replaced refresh/save icons to match stock lollipop theme
- Added padding to title/summary
- Removed drawables / add vector

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-09 11:46:56 +07:00
Alex Cruz
398e4eeca7 Cherish: Add WakelockBlocker [2/2]
Included WakeLock: Layout Improvements (See image below)
- Moved switch to the right
- Replaced refresh/save icons to match stock lollipop theme
- Added padding to title/summary
- Removed drawables / add vector

- http://i.imgur.com/5HMpfQw.png

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-07-05 12:32:55 +07:00
Hưng Phan
0f9dc577a4 Cherish:Replace FOD Cherish icon picker[2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-06-30 20:11:41 +07:00
taran
fbe24ca1fb Cherish:Fod Fix FOD icon Alignment
Change-Id: I3c1a26e341b31e3b246ff8b5e6af513b30669a1f
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-06-21 17:30:47 +07:00
Laker
b4cf712c1d Cherish: Add more FOD icons [2/2]
Signed-off-by: Ayan Mukherjee <mukherjeeayan725@gmail.com>
Change-Id: I1f145a081430bcca164dc137747e7d5b90d4387b
Signed-off-by: Ayan Mukherjee <mukherjeeayan725@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-06-21 10:45:16 +07:00
00day0
57d7195b7c [SQUASH] Cherish: FOD icon picker [2/2]
Stallix edit: Include OP8T Cyberpunk 2077 FOD icon

Squashed commit of the following:

commit c6f411938f422b9eaa9ba8ac6d78afe52155346e
Author: kondors1995 <normandija1945@gmail.com>
Date:   Fri Nov 27 12:40:12 2020 +0000

    convert to webp

    Change-Id: Ie2df0039158d5ed5cb9c5d7fe0045e2b74e0a500

commit 9425822e3c0da0255eeed94f9d691d7ae416201e
Author: AnierinB <anierinb@evolution-x.org>
Date:   Mon Feb 17 23:27:41 2020 +0000

    Evolution: Add fire_ice_ouroboros style FOD icon [2/2]

    Signed-off-by: AnierinB <anierinb@evolution-x.org>

commit e7e08fa488d54c9fe2a604d0bfa562483a12e5a0
Author: AnierinB <anierinb@evolution-x.org>
Date:   Sun Feb 9 02:30:43 2020 +0000

    Evolution: Add scratch style FOD icons [2/2]

    Co-authored-by: deadlyghost088 <raag.naidu@gmail.com>
    Co-authored-by: Joey Huab <joey@evolution-x.org>
    Signed-off-by: AnierinB <anierinb@evolution-x.org>
    Signed-off-by: Joey Huab <joey@evolution-x.org>

commit f1f6116c9f003738fb92c2669d30f7ba3936ab6d
Author: Joey Huab <team.evolutionx.rom@gmail.com>
Date:   Wed Jan 8 14:43:37 2020 +0800

    Evolution: Add Evo FOD icons [2/2]

    Co-authored-by: ecnivtwelve <ecnivtwelve@users.noreply.github.com>
    Co-authored-by: MartonDev <martondeveloper@gmail.com>
    Change-Id: I8b68b0e00149eae604694e7f3341616ccdaf6a14

commit de935762ae0040c624b30843e1554ebd8a47a926
Author: Stallix <team.evolutionx.rom@gmail.com>
Date:   Fri Jan 3 16:46:45 2020 +0000

    Evolution: Add more FOD icons [2/2]

    * Improve and re-write some codes
    * Use 3 columns for choosing the icons

    Change-Id: I43e48e8d0878bc9f5846ff81f4ad24228581709a

commit 1aed5e291cfa4736ce75f18fc939a407a6a5f4f5
Author: 00day0 <therandomuser11@gmail.com>
Date:   Mon Dec 16 21:46:12 2019 +0100

    FOD icon picker [2/2]

    * Add a footer to explain how users can add their own icons

    Co-authored-by: Stallix <thestallix@gmail.com>
    Signed-off-by: DennySPB <dennyspb@gmail.com>
    Change-Id: I38e1e79dc3bff68fef2f05cac23c622f413a96b8
    Signed-off-by: DennySPB <dennyspb@gmail.com>

Co-authored-by: Stallix <joey@evolution-x.org>
Change-Id: I5af323860a3036b25a79befdc8f593f2f9184211
Signed-off-by: Ayan Mukherjee <mukherjeeayan725@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-06-21 10:45:07 +07:00
Hưng Phan
af65a3a287 Cherish:CleanUp FOD
Revert "Cherish: Reorganize FOD animations"

This reverts commit 6d777e2d32.

Revert "Cherish: Add Cherish FOD icons [2/2]"

This reverts commit dfdb9fdaec.

Revert "Cherish: add even more FOD icons [2/2]"

This reverts commit 13fa45dc48.

Revert "Cherish: add more FOD animations [2/2]"

This reverts commit c86a947fea.

Revert "Cherish: add more FOD icons [2/2]"

This reverts commit f75f9eea7a.

Revert "Cherish: [SQUASH] Recognizing FP animation effects [2/2]"

This reverts commit 38f2036356.

Revert "Cherish: FOD pressed colors [2/2]"

This reverts commit df36803f09.

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

Revert "[SQUASH] Cherish: FOD icon picker [2/2]"

This reverts commit d5de3f33af.

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

Revert "Cherish: Add OP8T Cyberpunk 2077 FOD animation [2/2]"

This reverts commit e2f423252b.

Revert "Cherish:Hide FOD Animations preferences if device does not support it"

This reverts commit b5a1f3958b.

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

Revert "Cherish:Add recognizing FP animation effects and Recognizing fingerprint animation [2/2]"

This reverts commit c8a471c53d.

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

Revert "Cherish: Add more FOD icons [2/2]"

This reverts commit bdde870e34.

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

Revert "Cherish: FOD icon picker [2/2]"

This reverts commit 814c31b7b0.

Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-06-20 13:22:12 +07:00
LouisG1977
40d5a07d9a Cherish: Revamp UI Completely
Signed-off-by: Louis1977 <luisgonzales272@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-04-09 12:24:11 +07:00
LouisG1977
dfdb9fdaec Cherish: Add Cherish FOD icons [2/2]
Signed-off-by: Louis1977 <luisgonzales272@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-04-06 22:10:29 +07:00
Alexandru Scurtu
d984688149 Cherish: Add some FOD icons [2/2]
Co-authored-by: Abu Zaid <45061771+abu-zaid@users.noreply.github.com>
Co-authored-by: UnFunnyGuy <sarathexp@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-04-01 13:31:57 +07:00
Alexandru Scurtu
13fa45dc48 Cherish: add even more FOD icons [2/2]
Co-authored-by: Abu Zaid <45061771+abu-zaid@users.noreply.github.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-04-01 13:31:44 +07:00
Laker
f75f9eea7a Cherish: add more FOD icons [2/2]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2021-04-01 13:31:30 +07:00
Marko Man
36c33da733 Cherish:Add fixed PackageListAdapter
actually use OUR layout instead of the one in settings with happens to have the same name

Signed-off-by: xyyx <xyyx@mail.ru>
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: I21c6edbe6439982ae4b8756ba2c699f599f2094e
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-12-07 14:37:58 +07:00
Hưng Phan
b9f009f47d Revert "vendor: Add Slim Recents PackageListAdapter"
This reverts commit 7e67976c59.
2020-12-07 14:37:58 +07:00
kondors1995
d5de3f33af [SQUASH] Cherish: FOD icon picker [2/2]
Author: kondors1995 <normandija1945@gmail.com>
Date:   Fri Nov 27 12:40:12 2020 +0000

    convert to webp

    Change-Id: Ie2df0039158d5ed5cb9c5d7fe0045e2b74e0a500

commit 9425822e3c0da0255eeed94f9d691d7ae416201e
Author: AnierinB <anierinb@evolution-x.org>
Date:   Mon Feb 17 23:27:41 2020 +0000

    Cherish: Add fire_ice_ouroboros style FOD icon [2/2]

    Signed-off-by: AnierinB <anierinb@evolution-x.org>

commit e7e08fa488d54c9fe2a604d0bfa562483a12e5a0
Author: AnierinB <anierinb@evolution-x.org>
Date:   Sun Feb 9 02:30:43 2020 +0000

    Cherish: Add scratch style FOD icons [2/2]

    Co-authored-by: deadlyghost088 <raag.naidu@gmail.com>
    Co-authored-by: Joey Huab <joey@evolution-x.org>
    Signed-off-by: AnierinB <anierinb@evolution-x.org>
    Signed-off-by: Joey Huab <joey@evolution-x.org>

commit f1f6116c9f003738fb92c2669d30f7ba3936ab6d
Author: Joey Huab <team.evolutionx.rom@gmail.com>
Date:   Wed Jan 8 14:43:37 2020 +0800

    Cherish: Add Evo FOD icons [2/2]

    Co-authored-by: ecnivtwelve <ecnivtwelve@users.noreply.github.com>
    Co-authored-by: MartonDev <martondeveloper@gmail.com>
    Change-Id: I8b68b0e00149eae604694e7f3341616ccdaf6a14

commit de935762ae0040c624b30843e1554ebd8a47a926
Author: Stallix <team.evolutionx.rom@gmail.com>
Date:   Fri Jan 3 16:46:45 2020 +0000

    Cherish: Add more FOD icons [2/2]

    * Improve and re-write some codes
    * Use 3 columns for choosing the icons

    Change-Id: I43e48e8d0878bc9f5846ff81f4ad24228581709a

commit 1aed5e291cfa4736ce75f18fc939a407a6a5f4f5
Author: 00day0 <therandomuser11@gmail.com>
Date:   Mon Dec 16 21:46:12 2019 +0100

    FOD icon picker [2/2]

    * Add a footer to explain how users can add their own icons

    Co-authored-by: Stallix <thestallix@gmail.com>
    Signed-off-by: DennySPB <dennyspb@gmail.com>
    Change-Id: I38e1e79dc3bff68fef2f05cac23c622f413a96b8
    Signed-off-by: DennySPB <dennyspb@gmail.com>

Co-authored-by: Stallix <joey@evolution-x.org>
Change-Id: I5af323860a3036b25a79befdc8f593f2f9184211
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-11-30 10:40:08 +07:00
bigrushdog
2a1c9debc8 Cherish:HW Keys customization support [1/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:

DUI: Initial checkin for Oreo [4/7]
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
2020-10-03 15:36:13 +07:00
Hưng Phan
a526604f98 Cherish:Remove ColorSelectPreference 2020-10-02 09:07:54 +07:00
Josh Fox (XlxFoXxlX)
e02805e3aa Cherish: Add ColorSelectPreference
pulled from Omnilib repo from omnirom for history/authors check
https://github.com/omnirom/android_packages_apps_OmniLib/commits/android-10

Change-Id: I5999c551ce0273f5c3b25ff45179a10a9969bbe8
2020-09-06 21:20:28 +07:00
Stallix
bdde870e34 Cherish: Add more FOD icons [2/2]
* Improve and re-write some codes
* Use 3 columns for choosing the icons
2020-05-28 08:20:53 +07:00
00day0
814c31b7b0 Cherish: FOD icon picker [2/2]
* Adapt for CherishOS support
* Add a footer to explain how users can add their own icons
2020-05-28 08:20:53 +07:00
ezio84
7e67976c59 vendor: Add Slim Recents PackageListAdapter
thanks cm guys!

Change-Id: I90a775a79e1aee0dd945f73da97c53c6a985aefd
2020-04-28 17:26:13 +07:00
SpiritCroc
a8ff719262 Slim recents [2/3]
@SKULSHADY: Cleanup, fixes and adapt for SettingsPreferenceFragment
@rohanpurohit: bringup to 10

Change-Id: I7fa5703534c9eb76a555db9a6d3349cc2b6a2b2d
Signed-off-by: rohan <purohit.rohan@gmail.com>
2020-04-28 17:25:49 +07:00
Lars Greiss
316b875415 Add back DSLV / ActionListViewSettings
Contains updates by Griffin Millender <griffinn.millender@gmail.com> and
the SlimROMs team

AICPfy:
- make it play better with themes
- bring it to Oreo
- Update SettingsActivity to forward extras from PreferenceScreen to the new fragment
  (allows using DSLV from xml)

Change-Id: I7514cdfa3603ed6e24deeb251875a716a52a02b1
2020-04-28 17:25:22 +07:00
SpiritCroc
6636e195ec support: Add SystemSettingsMasterSwitchPreference
- Import MasterSwitchPreference from Settings(Lib)
- Add System setting variant + fix initial values
- Use icon_frame as ic in layout instead of icon_container to fix hiding
  icon
- Allow launching fragments with the android:fragment extra same as
  currently possible for PreferenceScreens
- Add possibility to reload value when it might have changed
  (best to call onResume when the value can also be changed from the
  sub preference screen)

@ZeNiXxX: Adapt to AndroidX

Original commit history for TwoTargetPreference from
frameworks/base/packages/SettingsLib:

commit 8a01abf592762c75bb92a9e1787227c44f1f4a8e
Author: Fan Zhang <zhfan@google.com>

    Adjust icon width to match the width with framework

commit 035ff93430b71ef856f299c9f676f8d340403e16
Author: Fan Zhang <zhfan@google.com>

    Move two target preference layout from settings to lib

Original commit history for MasterSwitchPreference.java:

commit e2ad415fdba79b27dfd2c98a2b01d56db9257c71
Author: Doris Ling <dling@google.com>

    Add content description to the master switch toggle button.

commit c68ae0b9fdd5f5a149364d0af7e8a9497a91adfd
Author: Julia Reynolds <juliacr@google.com>

    Channel settings updates

commit aa805e70ed0c7f4eaa66b6e6a0b79bf1b3b9d16d
Author: Doris Ling <dling@google.com>

    Allow settings preference title to span over multiple lines.

commit fe292515d88e803057a5b6077f67ce284b595d7a
Author: Fan Zhang <zhfan@google.com>

    Refactor the layout for MasterSwitch to a 2 target pref

commit 6467d2027e8fefd646af03c08d51d91386843463
Author: Doris Ling <dling@google.com>

    Extends the touch area for the switch in Master Switch preference.

commit 762a733afa26b3d49edfae81536c9fcbe9384483
Author: Julia Reynolds <juliacr@google.com>

    Allow switch preferences to span lines.

commit 56199e94876d4bbd89fb0272156702a321dd681e
Author: Fan Zhang <zhfan@google.com>

    Misc fix on network & internet screen for developer preview

commit c4c9f4d50eec659eb50f8ed671c27d8c6ef0c924
Author: Doris Ling <dling@google.com>

    Update Network & internet->Wi-Fi to use MasterSwitchPreference.

commit 1432cb852972daedd6c2fde78abb769b722fc47d
Author: Doris Ling <dling@google.com>

    Add new preference class MasterSwitchPreference.

Original commit history for preference_widget_master_switch.xml:

commit fe292515d88e803057a5b6077f67ce284b595d7a
Author: Fan Zhang <zhfan@google.com>

    Refactor the layout for MasterSwitch to a 2 target pref

commit 6467d2027e8fefd646af03c08d51d91386843463
Author: Doris Ling <dling@google.com>

    Extends the touch area for the switch in Master Switch preference.

commit 14c2050330b36a00b708049a691d4e1c39700586
Merge: 249077a0cd 56199e9487
Author: TreeHugger Robot <treehugger-gerrit@google.com>

    Merge "Misc fix on network & internet screen for developer preview"

commit 56199e94876d4bbd89fb0272156702a321dd681e
Author: Fan Zhang <zhfan@google.com>

    Misc fix on network & internet screen for developer preview

commit 4f1eca05be15b9a30757434ce6c11abe5e6db381
Author: Doris Ling <dling@google.com>

    Update the color for the master switch divider.

commit 1432cb852972daedd6c2fde78abb769b722fc47d
Author: Doris Ling <dling@google.com>

    Add new preference class MasterSwitchPreference.

Change-Id: I7ee76f4626223ec3c66ae7d10ebb87c88c5a8175
Signed-off-by: spezi77 <spezi7713@gmx.net>
2020-03-23 17:31:36 +07:00
SpiritCroc
baff4b6ed0 Add seekbar and list settings preferences
Taken from AICP
2020-03-23 17:31:36 +07:00
00day0
e0dc6f4d7a Cherish: ColorPicker: make it more user friendly
* Show RGB value instead of ARGB because most average users dont even know about alpha in hex color values
* Make edit text limited to 7 characters and one line
* Remove enter image button

Signed-off-by: 00day0 <therandomuser11@gmail.com>
Signed-off-by: NurKeinNeid <mralexman3000@gmail.com>
2020-03-23 17:31:36 +07:00
ezio84
249c4a342a Color picker: show hex input box on top
so when showing keyboard to edit text the box will be
still visible

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:42:35 +07:00
Alex Cruz
0950761101 Improve color picker layout / cleaned up some of the code
- Fixed possible NPE with calling getWindow()
- Remove unnecessary panel of preset colors underneath the color picker
- Changed dialog to AlertDialog to match LED color picker

While this doesn't look EXACTLY like the LED color picker, this along with
the commit below bring it closer than ever before.

http://gerrit.dirtyunicorns.com/#/c/1199/

Change-Id: I13bc40d1882676d92e5c4ae4bfcf25865e88dad1

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:42:25 +07:00
ezio84
8dc8247882 New custom seekbar: more improvements
fix value txt being cutted when too long

allow to set a custom string to show instead of the
numeric value when value is defaultValue
2019-10-03 19:42:11 +07:00
ezio84
bbd8f269b5 New fresh look for CustomSeekbar
Oreo prefs style

thanks @Mazda-- for suggestion on how to remove the top divider

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:42:00 +07:00
Lars Greiss
0c156f71ba Added modded marginov color picker
-- Adapt for Preference being part of support library

Change-Id: Ic721fdc7f63607d972d203e1a13097e8870bce2f
2019-10-03 19:40:34 +07:00
d34d
88870041dc Add CustomSeekBarPreference
Change-Id: I374ceb023a418f72778539d1c227ee987b3978a1

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 12:28:43 +07:00