Add resources for Meizu 21 (M2461)
Change-Id: Ib4a3ac6b5a41d7063b7404c417c5c762b9a02b9a
This commit is contained in:
parent
20db43b0d4
commit
ceeec2db29
10 changed files with 86 additions and 0 deletions
8
Meizu/M2461-SystemUI/Android.mk
Normal file
8
Meizu/M2461-SystemUI/Android.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := treble-overlay-meizu-m2461-systemui
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
|
||||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
10
Meizu/M2461-SystemUI/AndroidManifest.xml
Normal file
10
Meizu/M2461-SystemUI/AndroidManifest.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.meizu.m2461.systemui"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="com.android.systemui"
|
||||
android:requiredSystemPropertyName="ro.product.vendor.device"
|
||||
android:requiredSystemPropertyValue="meizu21"
|
||||
android:priority="2461"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
6
Meizu/M2461-SystemUI/res/values-land/config.xml
Normal file
6
Meizu/M2461-SystemUI/res/values-land/config.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="status_bar_header_height_keyguard">28dp</dimen>
|
||||
<dimen name="large_screen_shade_header_height">28dp</dimen>
|
||||
<dimen name="large_screen_shade_header_min_height">28dp</dimen>
|
||||
</resources>
|
4
Meizu/M2461-SystemUI/res/values-v31/config.xml
Normal file
4
Meizu/M2461-SystemUI/res/values-v31/config.xml
Normal file
|
@ -0,0 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="physical_power_button_center_screen_location_y">1069px</dimen>
|
||||
</resources>
|
10
Meizu/M2461-SystemUI/res/values/config.xml
Normal file
10
Meizu/M2461-SystemUI/res/values/config.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="status_bar_padding_start">50px</dimen>
|
||||
<dimen name="status_bar_padding_end">50px</dimen>
|
||||
<dimen name="status_bar_header_height_keyguard">92px</dimen>
|
||||
<dimen name="keyguard_carrier_text_margin">50px</dimen>
|
||||
<dimen name="system_icons_keyguard_padding_end">50px</dimen>
|
||||
<dimen name="large_screen_shade_header_height">92px</dimen>
|
||||
<dimen name="large_screen_shade_header_min_height">92px</dimen>
|
||||
</resources>
|
8
Meizu/M2461/Android.mk
Normal file
8
Meizu/M2461/Android.mk
Normal file
|
@ -0,0 +1,8 @@
|
|||
LOCAL_PATH := $(call my-dir)
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_MODULE_TAGS := optional
|
||||
LOCAL_PACKAGE_NAME := treble-overlay-meizu-m2461
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay
|
||||
LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true
|
||||
LOCAL_PRIVATE_PLATFORM_APIS := true
|
||||
include $(BUILD_PACKAGE)
|
10
Meizu/M2461/AndroidManifest.xml
Normal file
10
Meizu/M2461/AndroidManifest.xml
Normal file
|
@ -0,0 +1,10 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="me.phh.treble.overlay.meizu.m2461"
|
||||
android:versionCode="1"
|
||||
android:versionName="1.0">
|
||||
<overlay android:targetPackage="android"
|
||||
android:requiredSystemPropertyName="ro.product.vendor.device"
|
||||
android:requiredSystemPropertyValue="meizu21"
|
||||
android:priority="2461"
|
||||
android:isStatic="true" />
|
||||
</manifest>
|
6
Meizu/M2461/res/values-land/config.xml
Normal file
6
Meizu/M2461/res/values-land/config.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<dimen name="status_bar_height_default">28dp</dimen>
|
||||
<dimen name="status_bar_height">28dp</dimen>
|
||||
<dimen name="quick_qs_offset_height">28dp</dimen>
|
||||
</resources>
|
22
Meizu/M2461/res/values/config.xml
Normal file
22
Meizu/M2461/res/values/config.xml
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<bool name="config_useDevInputEventForAudioJack">true</bool>
|
||||
<bool name="config_showNavigationBar">true</bool>
|
||||
<bool name="config_fillMainBuiltInDisplayCutout">false</bool>
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
||||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
|
||||
<dimen name="status_bar_height_default">92px</dimen>
|
||||
<dimen name="status_bar_height">92px</dimen>
|
||||
<dimen name="status_bar_height_portrait">92px</dimen>
|
||||
<dimen name="status_bar_height_landscape">28dp</dimen>
|
||||
<dimen name="quick_qs_offset_height">92px</dimen>
|
||||
|
||||
<integer name="config_screenBrightnessDoze">36</integer>
|
||||
<integer name="config_screenBrightnessSettingMinimum">1</integer>
|
||||
|
||||
<string name="config_mainBuiltInDisplayCutout">M -28,0 L -28,74 L 28,74 L 28,0 Z</string>
|
||||
<string name="config_mainBuiltInDisplayCutoutRectApproximation">M -28,0 L -28,74 L 28,74 L 28,0 Z</string>
|
||||
</resources>
|
|
@ -95,6 +95,8 @@ PRODUCT_PACKAGES += \
|
|||
treble-overlay-mbi-s10-systemui \
|
||||
treble-overlay-meizu-m2181 \
|
||||
treble-overlay-meizu-m2181-systemui \
|
||||
treble-overlay-meizu-m2461 \
|
||||
treble-overlay-meizu-m2461-systemui \
|
||||
treble-overlay-misc-aod \
|
||||
treble-overlay-misc-aod-systemui \
|
||||
treble-overlay-misc-dt2w \
|
||||
|
|
Loading…
Add table
Reference in a new issue