diff --git a/OnePlus/OP9-SystemUI/Android.mk b/OnePlus/OP9-SystemUI/Android.mk new file mode 100755 index 0000000..7e50c9a --- /dev/null +++ b/OnePlus/OP9-SystemUI/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-oneplus-op9-systemui +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/OnePlus/OP9-SystemUI/AndroidManifest.xml b/OnePlus/OP9-SystemUI/AndroidManifest.xml new file mode 100755 index 0000000..03bcd8c --- /dev/null +++ b/OnePlus/OP9-SystemUI/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/OnePlus/OP9-SystemUI/res/values-land/config.xml b/OnePlus/OP9-SystemUI/res/values-land/config.xml new file mode 100755 index 0000000..0356339 --- /dev/null +++ b/OnePlus/OP9-SystemUI/res/values-land/config.xml @@ -0,0 +1,4 @@ + + + 28dp + diff --git a/OnePlus/OP9-SystemUI/res/values-v31/config.xml b/OnePlus/OP9-SystemUI/res/values-v31/config.xml new file mode 100755 index 0000000..5367e92 --- /dev/null +++ b/OnePlus/OP9-SystemUI/res/values-v31/config.xml @@ -0,0 +1,4 @@ + + + 912px + diff --git a/OnePlus/OP9-SystemUI/res/values/config.xml b/OnePlus/OP9-SystemUI/res/values/config.xml new file mode 100755 index 0000000..ded4666 --- /dev/null +++ b/OnePlus/OP9-SystemUI/res/values/config.xml @@ -0,0 +1,8 @@ + + + 25px + 50px + 133px + 25px + 50px + diff --git a/OnePlus/OP9/Android.mk b/OnePlus/OP9/Android.mk new file mode 100755 index 0000000..3fd6e09 --- /dev/null +++ b/OnePlus/OP9/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-oneplus-op9 +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/OnePlus/OP9/AndroidManifest.xml b/OnePlus/OP9/AndroidManifest.xml new file mode 100755 index 0000000..24575eb --- /dev/null +++ b/OnePlus/OP9/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/OnePlus/OP9/res/values-land/config.xml b/OnePlus/OP9/res/values-land/config.xml new file mode 100755 index 0000000..fb1bc7e --- /dev/null +++ b/OnePlus/OP9/res/values-land/config.xml @@ -0,0 +1,6 @@ + + + 28dp + 28dp + 28dp + diff --git a/OnePlus/OP9/res/values/config.xml b/OnePlus/OP9/res/values/config.xml new file mode 100755 index 0000000..e585416 --- /dev/null +++ b/OnePlus/OP9/res/values/config.xml @@ -0,0 +1,22 @@ + + + true + true + false + true + true + true + true + + 133px + 133px + 133px + 28dp + 133px + + 3 + 1 + + M -540,0 L -540,100 L -409,100 L -409,0 Z + M -540,0 L -540,100 L -409,100 L -409,0 Z + diff --git a/OnePlus/OP9/res/xml/power_profile.xml b/OnePlus/OP9/res/xml/power_profile.xml new file mode 100755 index 0000000..216d852 --- /dev/null +++ b/OnePlus/OP9/res/xml/power_profile.xml @@ -0,0 +1,163 @@ + + + 0 + 176 + 460 + + 4 + 3 + 1 + + + 300000 + 403200 + 499200 + 595200 + 691200 + 806400 + 902400 + 998400 + 1094400 + 1209600 + 1305600 + 1401600 + 1497600 + 1612800 + 1708800 + 1804800 + + + 5 + 7 + 8 + 9 + 10 + 14 + 16 + 18 + 21 + 23 + 24 + 27 + 29 + 31 + 32 + 35 + + + 710400 + 844800 + 960000 + 1075200 + 1209600 + 1324800 + 1440000 + 1555200 + 1670400 + 1766400 + 1881600 + 1996800 + 2112000 + 2227200 + 2342400 + 2419200 + + + 31 + 39 + 47 + 59 + 70 + 81 + 94 + 103 + 122 + 137 + 160 + 182 + 192 + 220 + 270 + 317 + + + 844800 + 960000 + 1075200 + 1190400 + 1305600 + 1420800 + 1555200 + 1670400 + 1785600 + 1900800 + 2035200 + 2150400 + 2265600 + 2380800 + 2496000 + 2611200 + 2726400 + 2841600 + + + 49 + 59 + 69 + 82 + 96 + 113 + 133 + 157 + 172 + 182 + 210 + 247 + 289 + 332 + 374 + 471 + 516 + 583 + + 7.7 + 0.1 + 0 + 3550 + 0.1 + 160 + 1.2 + 24 + 66 + 600 + 368 + 13.7 + 160 + 5.5 + + 86 + 8 + + 6 + 180 + 186 + 3700 + + 17 + + 1 + 176 + 200 + 1 + 3700 + + .0001 + .001 + .01 + .1 + 1 + + 130 + 0.7 + 3700 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 47d4ea8..8d44983 100755 --- a/overlay.mk +++ b/overlay.mk @@ -124,6 +124,8 @@ PRODUCT_PACKAGES += \ treble-overlay-oneplus-op6t-systemui \ treble-overlay-oneplus-op8 \ treble-overlay-oneplus-op8-systemui \ + treble-overlay-oneplus-op9 \ + treble-overlay-oneplus-op9-systemui \ treble-overlay-oppo-a54 \ treble-overlay-oppo-a54-systemui \ treble-overlay-oppo-reno6-5g \