Commit Graph

6 Commits

Author SHA1 Message Date
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
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
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
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
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