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>
This commit is contained in:
Kshitij Gupta
2018-12-16 21:23:42 +07:00
committed by Hưng Phan
parent a8fcf1f3e7
commit ae423381b9
4 changed files with 142 additions and 0 deletions

View File

@@ -286,5 +286,15 @@
<string name="panel_porn_title">Power Menu Transparency</string>
<string name="power_menu_transparency">Power/reboot menu opacity</string>
<string name="power_menu_dialog_dim">Power/reboot dialog dim background amount</string>
<!-- Rounded corners -->
<string name="corners_category_title">Rounded corners</string>
<string name="corners_category_summary">Adjust rounded corners and padding</string>
<string name="corners_title">Customize rounded corners</string>
<string name="corner_radius">Rounded corner radius</string>
<string name="content_padding">Corner content padding</string>
<string name="status_bar_padding">Statusbar extra 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>