summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorJoey <joey@lineageos.org>2018-02-09 20:49:38 +0100
committerJoey <joey@lineageos.org>2018-02-17 12:50:20 +0000
commit3909912f0bc8ee532b6308f592f298fbe21d4421 (patch)
treec2ae9329110a6f0d98238d5a0b45f781d22fd3b2 /res
parenta3d7913b94d0f8663005b1f27137db79e5df2cbe (diff)
downloadandroid_packages_apps_Trebuchet-3909912f0bc8ee532b6308f592f298fbe21d4421.zip
android_packages_apps_Trebuchet-3909912f0bc8ee532b6308f592f298fbe21d4421.tar.gz
android_packages_apps_Trebuchet-3909912f0bc8ee532b6308f592f298fbe21d4421.tar.bz2
Trebuchet: add super ellipse icon shape
Change-Id: Ie7cdbff0cafd5bfd26c807e10a8cae114aba9e1b Signed-off-by: Joey <joey@lineageos.org>
Diffstat (limited to 'res')
-rw-r--r--res/values/lineage_adaptive_icons.xml10
-rw-r--r--res/values/lineage_strings.xml2
2 files changed, 7 insertions, 5 deletions
diff --git a/res/values/lineage_adaptive_icons.xml b/res/values/lineage_adaptive_icons.xml
index 544677e..461542d 100644
--- a/res/values/lineage_adaptive_icons.xml
+++ b/res/values/lineage_adaptive_icons.xml
@@ -24,7 +24,7 @@
<!-- Masks names -->
<string-array name="icon_shape_entries" translatable="false">
<item>@string/icon_shape_circle_name</item>
- <item>@string/icon_shape_square_name</item>
+ <item>@string/icon_shape_super_ellipse_name</item>
<item>@string/icon_shape_squircle_name</item>
<item>@string/icon_shape_teardrop_name</item>
</string-array>
@@ -32,14 +32,16 @@
<!-- Mask paths references -->
<string-array name="icon_shape_paths" translatable="false">
<item>@string/mask_path_circle</item>
- <item>@string/mask_path_square</item>
+ <item>@string/mask_path_super_ellipse</item>
<item>@string/mask_path_squircle</item>
<item>@string/mask_path_teardrop</item>
</string-array>
<!-- Circle: default -->
<string name="mask_path_circle" translatable="false">"M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0"</string>
- <!-- Rounded square -->
+ <!-- Super ellipse -->
+ <string name="mask_path_super_ellipse" translatable="false">"M 50 0 L 50 0 L 19.2 0 C 12.4794 0 9.11905 0 6.55211 1.30792 C 4.29417 2.4584 2.4584 4.29417 1.30792 6.55211 C 0 9.11905 0 12.4794 0 19.2 L 0 80.8C 0 87.5206 0 90.8809 1.30792 93.4479 C 2.4584 95.7058 4.29417 97.5416 6.55211 98.6921 C 9.11905 100 12.4794 100 19.2 100 L 80.8 100 C 87.5206 100 90.8809 100 93.4479 98.6921 C 95.7058 97.5416 97.5416 95.7058 98.6921 93.4479 C 100 90.8809 100 87.5206 100 80.8 L 100 19.2 C 100 12.4794 100 9.11905 98.6921 6.55211 C 97.5416 4.29417 95.7058 2.4584 93.4479 1.30792 C 90.8809 0 87.5206 0 80.8 0Z"</string>
+ <!-- Rounded square: disabled -->
<string name="mask_path_square" translatable="false">"M50,0L92,0C96.42,0 100,4.58 100 8L100,92C100, 96.42 96.42 100 92 100L8 100C4.58, 100 0 96.42 0 92L0 8 C 0 4.42 4.42 0 8 0L50 0Z"</string>
<!-- Straight square: disabled -->
<string name="mask_path_straight_square" translatable="false">"M50,0L100,0 100,100 0,100 0,0z"</string>
@@ -47,4 +49,4 @@
<string name="mask_path_squircle" translatable="false">"M50,0 C10,0 0,10 0,50 0,90 10,100 50,100 90,100 100,90 100,50 100,10 90,0 50,0 Z"</string>
<!-- Teardrop -->
<string name="mask_path_teardrop" translatable="false">"M50,0A50,50,0,0 1 100,50 L100,85 A15,15,0,0 1 85,100 L50,100 A50,50,0,0 1 50,0z"</string>
-</resources> \ No newline at end of file
+</resources>
diff --git a/res/values/lineage_strings.xml b/res/values/lineage_strings.xml
index e4257ab..49114cb 100644
--- a/res/values/lineage_strings.xml
+++ b/res/values/lineage_strings.xml
@@ -52,7 +52,7 @@
<string name="icon_pack_system">System (Default)</string>
<!-- Icon shapes -->
- <string name="icon_shape_square_name">Square</string>
+ <string name="icon_shape_super_ellipse_name">Super ellipse</string>
<string name="icon_shape_circle_name">Circle</string>
<string name="icon_shape_squircle_name">Squircle</string>
<string name="icon_shape_teardrop_name">Teardrop</string>