Commit Graph

571 Commits

Author SHA1 Message Date
SpiritCroc
baff4b6ed0 Add seekbar and list settings preferences
Taken from AICP
2020-03-23 17:31:36 +07:00
xyyx
b602f24567 Navbar: Fix missed title 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
00day0
06805c7814 OxygenOS styled dismiss all button [2/2] 2020-03-23 17:31:36 +07:00
Hưng Phan
b2e208e670 Cherish: Add path NavBarSettings in menu 2020-03-23 17:31:36 +07:00
xyyx
948252390c LockscreenCharging: squashed (3/3)
based on:
[1/2] Settings: show more battery info on lockscreen when charging by yank555-lu
2020-03-23 17:31:36 +07:00
xyyx
745b46dffe Cherish: Add Oneplus3Parts to main menu 2019-10-03 19:51:32 +07:00
Roger Truttmann
ed2eedb07a New Personalization icons 2019-10-03 19:50:05 +07:00
xyyx
9fce824e13 Add alert_dialog_padding_material 2019-10-03 19:47:18 +07:00
ezio84
301473dca2 Color Picker: use oval preview
this code was in old light customization settings commit, no idea who made it

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:44:41 +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
Alex Cruz
c665521d8c Replace colorpicker action set png with vector
Change-Id: Ie44e1e91234706bb80f1ac56c72a68e1fe8eff07

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:41:48 +07:00
ezio84
86eb4dba0a margaritov color picker: add a proper landscape layout
preview:
https://s30.postimg.org/dvr6fyza9/Screenshot_20170104_155921.png

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:41:37 +07:00
Randall Rushing
635b911717 ColorPickerPreference: Introduce set default button when attribute is set
Set a default value using the "defaultColorValue" settings namespace
attribute. The general idea is often we want set a value of say "-1"
and let framework handle it. One such scenario would be if you are
changing the color of a ImageView using ColorFilter. When framework
receives a "-1" value, framework sets the ImageView ColorFilter to null,
restoring the ImageView to original state.

Screenshot:

https://teameos.slack.com/files/bigrushdog/F09T5S155/screenshot_2015-08-31-04-02-54.png

Change-Id: I4ad63576270de344a9e7430d9e63a248d37afd9f

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:41:27 +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
dwitherell
005717276e Fix seekbar attribute grabbing *also remove from attrs as we have always used android: for max
Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 19:39:55 +07:00
d34d
88870041dc Add CustomSeekBarPreference
Change-Id: I374ceb023a418f72778539d1c227ee987b3978a1

Signed-off-by: xyyx <xyyx@mail.ru>
2019-10-03 12:28:43 +07:00
hungphan2001
7d9b211eb1 Init Cherih 2019-10-03 12:21:20 +07:00