Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5194889f authored by Tracy Zhou's avatar Tracy Zhou
Browse files

Update icon shape for Victor

And rename it to TaperedRect

Fixes: 153277903
Test: Manual
Change-Id: I8e4117cefc90ca71f67b68188d2eb3f528854957
Merged-In: I8e4117cefc90ca71f67b68188d2eb3f528854957
parent 0d866af4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ LOCAL_REQUIRED_MODULES := \
	IconShapePebbleOverlay \
	IconShapeRoundedRectOverlay \
	IconShapeSquircleOverlay \
	IconShapeTaperedRectOverlay \
	IconShapeTeardropOverlay \
	IconShapeVesselOverlay \
	NavigationBarMode3ButtonOverlay \
+2 −2
Original line number Diff line number Diff line
@@ -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)
+2 −2
Original line number Diff line number Diff line
@@ -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>
+3 −1
Original line number Diff line number Diff line
@@ -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>
+2 −2
Original line number Diff line number Diff line
@@ -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>