Update icon shape for Victor

And rename it to TaperedRect

Fixes: 153277903
Test: Manual
Change-Id: I8e4117cefc90ca71f67b68188d2eb3f528854957
Merged-In: I8e4117cefc90ca71f67b68188d2eb3f528854957
This commit is contained in:
Tracy Zhou
2020-04-09 18:06:40 -07:00
parent 0d866af49e
commit 5194889fa6
5 changed files with 10 additions and 7 deletions

View File

@@ -48,6 +48,7 @@ LOCAL_REQUIRED_MODULES := \
IconShapePebbleOverlay \
IconShapeRoundedRectOverlay \
IconShapeSquircleOverlay \
IconShapeTaperedRectOverlay \
IconShapeTeardropOverlay \
IconShapeVesselOverlay \
NavigationBarMode3ButtonOverlay \

View File

@@ -17,13 +17,13 @@
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_RRO_THEME := IconShapeHexagon
LOCAL_RRO_THEME := IconShapeTaperedRect
LOCAL_PRODUCT_MODULE := true
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_PACKAGE_NAME := IconShapeHexagonOverlay
LOCAL_PACKAGE_NAME := IconShapeTaperedRectOverlay
LOCAL_SDK_VERSION := current
include $(BUILD_RRO_PACKAGE)

View File

@@ -15,7 +15,7 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.theme.icon.hexagon"
package="com.android.theme.icon.taperedrect"
android:versionCode="1"
android:versionName="1.0">
<overlay
@@ -23,5 +23,5 @@
android:category="android.theme.customization.adaptive_icon_shape"
android:priority="1"/>
<application android:label="@string/icon_shape_hexagon_overlay" android:hasCode="false"/>
<application android:label="@string/icon_shape_tapered_rect_overlay" android:hasCode="false"/>
</manifest>

View File

@@ -16,12 +16,14 @@
-->
<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">"M12,0 88,0 100,50 88,100 12,100 0,50 12,0 Z"</string>
<string name="config_icon_mask" translatable="false">"M20,0 80,0 100,20 100,80 80,100 20,100 0,80 0,20 20,0 Z"</string>
<!-- Flag indicating whether round icons should be parsed from the application manifest. -->
<bool name="config_useRoundIcon">false</bool>
<!-- Corner radius of system dialogs -->
<dimen name="config_dialogCornerRadius">0dp</dimen>
<!-- Corner radius for bottom sheet system dialogs -->
<dimen name="config_bottomDialogCornerRadius">0dp</dimen>
<!-- Tile stroke width -->
<dimen name="config_qsTileStrokeWidthInactive">10dp</dimen>
</resources>

View File

@@ -14,7 +14,7 @@
~ limitations under the License.
-->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Hexagon icon overlay -->
<string name="icon_shape_hexagon_overlay" translatable="false">Hexagon</string>
<!-- Tapered rect icon overlay -->
<string name="icon_shape_tapered_rect_overlay" translatable="false">Tapered Rect</string>
</resources>