Commit Graph

272 Commits

Author SHA1 Message Date
Pranav Vashi
6ad6b05a6c Cherish: Bring back Gaming mode [3/3]
Signed-off-by: DennySPB <dennyspb@gmail.com>
Change-Id: I4ffb0bdf8453068eb049da4823fea6da33346446
2020-05-28 08:17:54 +07:00
Hưng Phan
879faa2953 Cherish:Add more switch styles[2/3] 2020-05-25 09:04:53 +07:00
SKULSHADY
378706a0fa Cherish:Switch styles [2/3] 2020-05-25 08:40:54 +07:00
ezio84
d0b86c6d5e Cherish: Wired/BT headset: make ringtone audio focus customizable [2/2]
Import GlobalSettingListPreference from https://github.com/crdroidandroid/android_packages_apps_crDroidSettings/blob/10.0/src/com/crdroid/settings/preferences/GlobalSettingListPreference.java
2020-05-06 21:47:01 +07:00
Roman Birg
e4a1bff5cb Cherish:Add Quick Settings Pulldown options [2/2] 2020-05-06 21:46:53 +07:00
Hưng Phan
e6cb3f7806 Cherish:Add about team 2020-04-29 11:12:38 +07:00
Hưng Phan
53cc02ec27 Revert "Cherish: Recognizing fingerprint animation [2/2]"
This reverts commit d8168a3afb44104c97c279c052da93c79c2753ff.
2020-04-29 10:48:14 +07:00
Stevespear426
464fcd9c34 Cherish: AOKP custom system animations [2/2] 2020-04-29 10:48:03 +07:00
Victor Lapin
86f075f743 preferences: PackageListAdapter: really sync mInstalledPackages
synchronized works as expected on final objects

Change-Id: I46897cb9bea214b538841a071bc4976d036f4f31
2020-04-28 17:26:23 +07:00
ezio84
7e67976c59 vendor: Add Slim Recents PackageListAdapter
thanks cm guys!

Change-Id: I90a775a79e1aee0dd945f73da97c53c6a985aefd
2020-04-28 17:26:13 +07:00
SpiritCroc
67cc377d58 Cherish: slimRecents: Changes for android 10
Change-Id: I6b1adf3e0b6bbfe3e3b36dff9e99d0d5439b5e1e
Signed-off-by: rohan <purohit.rohan@gmail.com>
2020-04-28 17:25:57 +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
00day0
7a81100ef2 Cherish: Recognizing fingerprint animation [2/2] 2020-04-28 17:25:11 +07:00
Alex
9d4cffdecb Cherish: Notch friendly carrier label [2/2] 2020-04-24 15:45:16 +00:00
Alex
f75ead2bb6 Cherish: Carrier label: Ensure the dialog matches other dialogs
Change-Id: I172fc3cba036dded75585ba444272855b4a912b9
2020-04-24 15:45:16 +00:00
Alex
e994676cd3 Cherish: Set a text length on the carrier label
Up til now this has been gone unnoticed. Without a text limit the user
could very easily blow up the statusbar to the point that is not usable.

Change-Id: I2813af9e12c6d29e020669e0626faec8422fedbe
2020-04-24 15:44:52 +00:00
beanstown106
fcfa74859b Cherish: Custom Carrier Label & Carrier Label Placement [2/2]
Credit/Thanks to @Altaf-Mahdi @beanstown106 and @martincz

Change-Id: Ia7b29f85d7a1286bd15dc4427727a683e133ab3f
2020-04-21 00:26:52 +07:00
Kshitij Gupta
ae423381b9 Cherish:Custom Rounded Corner and Padding preferences [2/2]
Extensions: Add Runtime Rounded Corner preferences

Change-Id: I6dd7b0c3b8fce13c738f2239ba5504b14d1cc568
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
Signed-off-by: Shubham Singh <coolsks94@gmail.com>

RoundCornerPreferences: Use frameworks default values

Change-Id: Ib5ad571bec311b75bc138bae238e5ca8ee005358
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>

RoundCornerPreferences: Evaluate framework values correctly

Change-Id: I81d9830d4cfc76a568d6862c344c1f44666e3bc9
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>

Allow using framework values for rounded corners [2/2]

Change-Id: I04ac74f7ea2062dfe7c3a783bdb08b65cb774d34
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>

RoundCorners: Allow radius to reach 60

- Some devices have almost 50. Allow configuring a bit over this.

Extensions: corners: Update seekbars when framework values toggled

- Clean up and refactor some older code
- Add new method to restore corner values to the seekbar prefs

Change-Id: Ib6869208c8cc0eeaf30acfe2126c1af52a21b01a
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
Signed-off-by: Shubham Singh <coolsks94@gmail.com>

Change-Id: I3cd485c178d74f507e78c9ad173a73d1650a7561
Signed-off-by: Kshitij Gupta <kshitijgm@gmail.com>
Signed-off-by: Shubham Singh <coolsks94@gmail.com>
Signed-off-by: SagarMakhar <sagarmakhar@gmail.com>
Signed-off-by: blinoff82 <blinov.in@gmail.com>
2020-04-19 22:27:14 +07:00
RakeshBatra
a8fcf1f3e7 Cherish:Add MaterialOcean and DarkGrey System Theme [3/3] 2020-04-19 00:08:31 +07:00
SuperDroidBond
b6057bf285 Cherish:Introduce RGB Gradient Picker [2/2] 2020-04-12 17:07:41 +07:00
AgentFabulous
22b278cc53 Cherish: Introduce RGB Accenter [2/2] 2020-04-11 15:40:45 +07:00
SuperDroidBond
9bb8517d45 Cherish:Add 3 New Themes - ChocoX & BakedGreen and DU's PitchBlack [3/3]
And fix all bugs in ThemeSettings
2020-04-11 15:40:40 +07:00
Mazda--
362adb0b25 Cherish: Add DU themes [3/3]
SDB: Adapt for AOSP Settings

Special Thanks to @imjyotiraditya for the help
2020-04-10 10:29:45 +07:00
ezio84
608519fb3a Color picker: allow to activate ongoing led light as color preview
needs this: 1fb051a04a

Signed-off-by: xyyx <xyyx@mail.ru>
2020-04-02 15:06:00 +07:00
ezio84
a18b40d5a2 Disable useless alphaslider for battery led customization 2020-04-02 15:06:00 +07:00
ezio84
8674143289 Battery light customization [2/2] 2020-04-02 15:05:52 +07:00
SuperDroidBond
ccc2b7f0cf Cherish: Add more charging animation for users [2/3] 2020-04-02 12:31:59 +07:00
Nauval Rizky
59ea268602 Cherish: Introduce Adjustable Blur Intensity [2/2]
Signed-off-by: Nauval Rizky <enuma.alrizky@gmail.com>
2020-04-02 08:51:36 +07:00
idoybh
590abebbef Cherish: Allow controlling QS blur alpha [2/2] 2020-04-02 08:51:28 +07:00
beanstown106
5ebf6e28bc Cherish:Fingerprint authentication vibration [2/2] 2020-03-31 10:18:11 +07:00
ezio84
d749919f35 Cherish:Status network traffic [2/2]
arrow-edits:
 - migrate to androidx

Change-Id: I1769659ce44be6be0187757627b82a8dabbc743d
2020-03-30 17:22:24 +07:00
spezi77
a895121e29 Cherish: Add battery styles and customizations for Android 10 [2/2]
Allows the user to tune:
- battery styles
- battery percentage
- battery charging text
2020-03-30 17:10:19 +07:00
TheStrix
3469e1146b Cherish: Implement battery styles (2/2)
spezi77:
- Adapted to our battery styles
- Note to myself: In Android10 battery percentage has become a global setting
2020-03-30 17:10:19 +07:00
yank555-lu
2e2089d6ee Cherish: date right/left position [2/2] 2020-03-30 17:10:19 +07:00
Lars Greiss
63157ec6d9 Cherish: Statusbar clock date customization (2/2) 2020-03-30 17:10:13 +07:00
beanstown106
868309ed94 Cherish: Incall vibration option [3/3]
* this works with google and aosp dialer :)

Adapted to PE

Change-Id: Ia3a239ef4c3c5e9ad6e1efae5def7e06f333cbfe
2020-03-25 15:46:32 +00:00
Pranav Vashi
fcf50d92ad support: Extend CustomSeekbarPreference
spezi77: Remove SeekBarPreferenceCham

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: spezi77 <spezi7713@gmx.net>
2020-03-23 17:31:36 +07:00
Anushek Prasal
fdc54b320d support: Extend MasterSwitchPreference 2020-03-23 17:31:36 +07:00
Anushek Prasal
dd1366136f support: MasterSwitchPreference: Fix settings not applying
Signed-off-by: spezi77 <spezi7713@gmx.net>
2020-03-23 17:31:36 +07:00
SpiritCroc
a07b60e8de support: MasterSwitchPreference: isChecked doesn't rely on existence of switch
When checking for isChecked in e.g. a preferenceFragment, we want to
know the setting value, independent of whether the preference already
has been inflated or not

Change-Id: Ie3e777388805d329fea6f56ef306a4c941993938
Signed-off-by: spezi77 <spezi7713@gmx.net>
2020-03-23 17:31:36 +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
SpiritCroc
cd35b45d96 Add switch preferences that hold system settings 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
Hưng Phan
ba9e20e869 Fix derp 2020-03-23 17:31:36 +07:00
xyyx
8a61ea170d Cherish: Move to androidx 2019-10-03 19:52:32 +07:00
xyyx
dc303b2607 Color Picker: Remove OnClick listener to fix disabling 2019-10-03 19:52:16 +07:00
xyyx
369891b075 CustomSeekBar: Fix NPE
08-23 20:07:44.650 31111 31111 E AndroidRuntime: Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.widget.TextView.setText(java.lang.CharSequence)' on a null object reference
08-23 20:07:44.650 31111 31111 E AndroidRuntime: 	at com.nitrogen.settings.preferences.CustomSeekBarPreference.setDefaultValue(CustomSeekBarPreference.java:240)
2019-10-03 19:52:04 +07:00
xyyx
745b46dffe Cherish: Add Oneplus3Parts to main menu 2019-10-03 19:51:32 +07:00