diff --git a/OnePlus/OP10Pro-SystemUI/Android.mk b/OnePlus/OP10Pro-SystemUI/Android.mk new file mode 100644 index 0000000..8b37052 --- /dev/null +++ b/OnePlus/OP10Pro-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-op10pro-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/OP10Pro-SystemUI/AndroidManifest.xml b/OnePlus/OP10Pro-SystemUI/AndroidManifest.xml new file mode 100644 index 0000000..99ec303 --- /dev/null +++ b/OnePlus/OP10Pro-SystemUI/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/OnePlus/OP10Pro-SystemUI/res/values-land/config.xml b/OnePlus/OP10Pro-SystemUI/res/values-land/config.xml new file mode 100644 index 0000000..0356339 --- /dev/null +++ b/OnePlus/OP10Pro-SystemUI/res/values-land/config.xml @@ -0,0 +1,4 @@ + + + 28dp + diff --git a/OnePlus/OP10Pro-SystemUI/res/values-v31/config.xml b/OnePlus/OP10Pro-SystemUI/res/values-v31/config.xml new file mode 100644 index 0000000..bc88b94 --- /dev/null +++ b/OnePlus/OP10Pro-SystemUI/res/values-v31/config.xml @@ -0,0 +1,4 @@ + + + 1280px + diff --git a/OnePlus/OP10Pro-SystemUI/res/values/config.xml b/OnePlus/OP10Pro-SystemUI/res/values/config.xml new file mode 100644 index 0000000..36e0228 --- /dev/null +++ b/OnePlus/OP10Pro-SystemUI/res/values/config.xml @@ -0,0 +1,8 @@ + + + 33px + 80px + 160px + @dimen/status_bar_padding_start + @dimen/status_bar_padding_end + diff --git a/OnePlus/OP10Pro/Android.mk b/OnePlus/OP10Pro/Android.mk new file mode 100644 index 0000000..76c8c1b --- /dev/null +++ b/OnePlus/OP10Pro/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-oneplus-op10pro +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/OP10Pro/AndroidManifest.xml b/OnePlus/OP10Pro/AndroidManifest.xml new file mode 100644 index 0000000..820c236 --- /dev/null +++ b/OnePlus/OP10Pro/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/OnePlus/OP10Pro/res/values-land/config.xml b/OnePlus/OP10Pro/res/values-land/config.xml new file mode 100644 index 0000000..9d6de4c --- /dev/null +++ b/OnePlus/OP10Pro/res/values-land/config.xml @@ -0,0 +1,4 @@ + + + @dimen/status_bar_height_landscape + diff --git a/OnePlus/OP10Pro/res/values/config.xml b/OnePlus/OP10Pro/res/values/config.xml new file mode 100644 index 0000000..7f80c56 --- /dev/null +++ b/OnePlus/OP10Pro/res/values/config.xml @@ -0,0 +1,20 @@ + + + true + true + false + true + true + true + true + + 160px + 28dp + @dimen/status_bar_height_portrait + + 3 + 1 + + M -720,0 L -720,124 L -525,124 L -525,0 Z + M -720,0 L -720,124 L -525,124 L -525,0 Z + diff --git a/OnePlus/OP10Pro/res/xml/power_profile.xml b/OnePlus/OP10Pro/res/xml/power_profile.xml new file mode 100644 index 0000000..2f810cc --- /dev/null +++ b/OnePlus/OP10Pro/res/xml/power_profile.xml @@ -0,0 +1,167 @@ + + + 0 + 100 + 580 + + 4 + 3 + 1 + + + 300000 + 403200 + 499200 + 614400 + 729600 + 844800 + 960000 + 1075200 + 1171200 + 1267200 + 1363200 + 1478400 + 1574400 + 1689600 + 1785600 + + + 5 + 7 + 8 + 12 + 16 + 21 + 22 + 26 + 29 + 34 + 40 + 41 + 54 + 58 + 65 + + + 633600 + 768000 + 883200 + 998400 + 1113600 + 1209600 + 1324800 + 1440000 + 1555200 + 1651200 + 1766400 + 1881600 + 1996800 + 2112000 + 2227200 + 2342400 + 2419200 + + + 33 + 42 + 51 + 59 + 70 + 75 + 88 + 101 + 122 + 130 + 151 + 181 + 207 + 233 + 278 + 314 + 335 + + + 806400 + 940800 + 1056000 + 1171200 + 1286400 + 1401600 + 1497600 + 1612800 + 1728000 + 1843200 + 1958400 + 2054400 + 2169600 + 2284800 + 2400000 + 2515200 + 2630400 + 2726400 + 2822400 + 2841600 + + + 86 + 96 + 109 + 127 + 142 + 158 + 169 + 190 + 207 + 231 + 270 + 290 + 333 + 386 + 428 + 487 + 554 + 616 + 684 + 686 + + 8.5 + 0.1 + 0 + 4040 + 0.1 + 173 + 0.5 + 25 + 81 + 550 + 390 + 13.5 + 170 + 5.8 + + 95 + 8 + + 6 + 204 + 220 + 4000 + + 21 + + 1 + 170 + 210 + 1 + 4000 + + .0001 + .001 + .01 + .1 + 1 + + 130 + 0.8 + 4000 + diff --git a/overlay.mk b/overlay.mk index 2f09796..4fe0a55 100755 --- a/overlay.mk +++ b/overlay.mk @@ -95,6 +95,8 @@ PRODUCT_PACKAGES += \ treble-overlay-nubia-z18mini \ treble-overlay-oneplus-n200 \ treble-overlay-oneplus-n200-systemui \ + treble-overlay-oneplus-op10pro \ + treble-overlay-oneplus-op10pro-systemui \ treble-overlay-oneplus-op6 \ treble-overlay-oneplus-op6t \ treble-overlay-oneplus-op6t-systemui \