summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Hyunyoung Song <hyunyoungs@google.com> 2019-01-02 22:26:19 -0800
committer Hyunyoung Song <hyunyoungs@google.com> 2019-01-03 00:05:01 -0800
commit64ee943c21f632f3579d2c1f7f600f2a66453478 (patch)
treef861865be457ab2e1ab03ccee2ee0986cdf8d550
parent233c73431d380fa923fdc975fd70d74d39508195 (diff)
Fine tune RoundedRect and Squircle overlay path
Bug: 118757933 Test: builds, also below commands $ adb shell cmd overlay enable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay disable --user 0 com.android.theme.icon.roundedrect $ adb shell cmd overlay enable --user 0 com.android.theme.icon.teardrop $ adb shell cmd overlay disable --user 0 com.android.theme.icon.teardrop Change-Id: I4757837fa3763d19c311d4a82a3899d156ede94e
-rw-r--r--packages/overlays/IconShapeRoundedRectOverlay/res/values/config.xml2
-rw-r--r--packages/overlays/IconShapeTeardropOverlay/res/values/config.xml2
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/overlays/IconShapeRoundedRectOverlay/res/values/config.xml b/packages/overlays/IconShapeRoundedRectOverlay/res/values/config.xml
index f024615190ab..138c283b9a24 100644
--- a/packages/overlays/IconShapeRoundedRectOverlay/res/values/config.xml
+++ b/packages/overlays/IconShapeRoundedRectOverlay/res/values/config.xml
@@ -18,7 +18,7 @@
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Specifies the path that is used by AdaptiveIconDrawable class to crop launcher icons. -->
- <string name="config_icon_mask" 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>
+ <string name="config_icon_mask" translatable="false">"M50,0L88,0 C94.4,0 100,5.4 100 12 L100,88 C100,94.6 94.6 100 88 100 L12,100 C5.4,100 0,94.6 0,88 L0 12 C0 5.4 5.4 0 12 0 L50,0 Z"</string>
<!-- Flag indicating whether round icons should be parsed from the application manifest. -->
<bool name="config_useRoundIcon">false</bool>
diff --git a/packages/overlays/IconShapeTeardropOverlay/res/values/config.xml b/packages/overlays/IconShapeTeardropOverlay/res/values/config.xml
index 43ad04d69c73..818e696577e9 100644
--- a/packages/overlays/IconShapeTeardropOverlay/res/values/config.xml
+++ b/packages/overlays/IconShapeTeardropOverlay/res/values/config.xml
@@ -18,7 +18,7 @@
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Specifies the path that is used by AdaptiveIconDrawable class to crop launcher icons. -->
- <string name="config_icon_mask" 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>
+ <string name="config_icon_mask" translatable="false">"M50,0 C77.6,0 100,22.4 100,50 L100,88 C100,94.6 94.6,100 88,100 L50,100 C22.4 100 0 77.6 0 50C0 22.4 22.4 0 50 0 Z"</string>
<!-- Flag indicating whether round icons should be parsed from the application manifest. -->
<bool name="config_useRoundIcon">false</bool>