Cherish:Custom Rounded Corner and Padding preferences [2/2]

Cherish: 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.

Fireworks: 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: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
Kshitij Gupta
2018-12-16 03:26:02 +05:30
committed by Hưng Phan
parent 7c352e5482
commit 5cd33f929b
3 changed files with 108 additions and 0 deletions

View File

@@ -1168,4 +1168,11 @@
<string name="display_cutout_style_hide">Hide</string>
<string name="stock_statusbar_in_hide">Stock statusbar height</string>
<string name="stock_statusbar_in_hide_summary">Use default statusbar height in Hide</string>
<!-- Rounded corners -->
<string name="corners_category">Corners</string>
<string name="corner_radius">Rounded corner radius</string>
<string name="content_padding">Corner content padding</string>
<string name="corner_fwvals">Use framework values</string>
<string name="corner_fwvals_summary">Useful if the device actually has rounded corners</string>
</resources>