diff --git a/OnePlus/OP8-SystemUI/Android.mk b/OnePlus/OP8-SystemUI/Android.mk new file mode 100755 index 0000000..cb40d6f --- /dev/null +++ b/OnePlus/OP8-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-op8-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/OP8-SystemUI/AndroidManifest.xml b/OnePlus/OP8-SystemUI/AndroidManifest.xml new file mode 100755 index 0000000..705d956 --- /dev/null +++ b/OnePlus/OP8-SystemUI/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/OnePlus/OP8-SystemUI/res/values-land/config.xml b/OnePlus/OP8-SystemUI/res/values-land/config.xml new file mode 100755 index 0000000..0356339 --- /dev/null +++ b/OnePlus/OP8-SystemUI/res/values-land/config.xml @@ -0,0 +1,4 @@ + + + 28dp + diff --git a/OnePlus/OP8-SystemUI/res/values-v31/config.xml b/OnePlus/OP8-SystemUI/res/values-v31/config.xml new file mode 100755 index 0000000..72521e5 --- /dev/null +++ b/OnePlus/OP8-SystemUI/res/values-v31/config.xml @@ -0,0 +1,4 @@ + + + 810px + diff --git a/OnePlus/OP8-SystemUI/res/values/config.xml b/OnePlus/OP8-SystemUI/res/values/config.xml new file mode 100755 index 0000000..89c4e4c --- /dev/null +++ b/OnePlus/OP8-SystemUI/res/values/config.xml @@ -0,0 +1,8 @@ + + + 25px + 35px + 132px + @dimen/status_bar_padding_start + @dimen/status_bar_padding_end + diff --git a/OnePlus/OP8/Android.mk b/OnePlus/OP8/Android.mk new file mode 100755 index 0000000..1cad4d7 --- /dev/null +++ b/OnePlus/OP8/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-oneplus-op8 +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/OP8/AndroidManifest.xml b/OnePlus/OP8/AndroidManifest.xml new file mode 100755 index 0000000..85f6efb --- /dev/null +++ b/OnePlus/OP8/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/OnePlus/OP8/res/values-land/config.xml b/OnePlus/OP8/res/values-land/config.xml new file mode 100755 index 0000000..9d6de4c --- /dev/null +++ b/OnePlus/OP8/res/values-land/config.xml @@ -0,0 +1,4 @@ + + + @dimen/status_bar_height_landscape + diff --git a/OnePlus/OP8/res/values/config.xml b/OnePlus/OP8/res/values/config.xml new file mode 100755 index 0000000..540ee59 --- /dev/null +++ b/OnePlus/OP8/res/values/config.xml @@ -0,0 +1,19 @@ + + + true + true + false + true + true + true + true + + 132px + 28dp + @dimen/status_bar_height_portrait + + 3 + 1 + + M -540,0 L -540,100 L -409,100 L -409,0 Z + diff --git a/OnePlus/OP8/res/xml/power_profile.xml b/OnePlus/OP8/res/xml/power_profile.xml new file mode 100755 index 0000000..3fe06bb --- /dev/null +++ b/OnePlus/OP8/res/xml/power_profile.xml @@ -0,0 +1,162 @@ + + + 0 + 119.79 + 430 + + 4 + 4 + + + 518400 + 614400 + 691200 + 787200 + 883200 + 979200 + 1075200 + 1171200 + 1248000 + 1344000 + 1420800 + 1516800 + 1612800 + 1708800 + 1804800 + + + 7 + 8 + 10 + 11 + 12 + 13 + 15 + 16 + 17 + 19 + 21 + 23 + 25 + 29 + 31 + + + 710400 + 825600 + 844800 + 940800 + 960000 + 1056000 + 1075200 + 1171200 + 1190400 + 1286400 + 1305600 + 1382400 + 1401600 + 1478400 + 1516800 + 1574400 + 1632000 + 1670400 + 1747200 + 1766400 + 1862400 + 1958400 + 1977600 + 2054400 + 2073600 + 2150400 + 2169600 + 2246400 + 2265600 + 2342400 + 2361600 + 2419200 + 2457600 + 2553600 + 2649600 + 2745600 + 2841600 + + + 30 + 37 + 53 + 45 + 61 + 51 + 67 + 60 + 76 + 68 + 88 + 72 + 92 + 81 + 102 + 94 + 116 + 100 + 129 + 109 + 133 + 141 + 168 + 149 + 182 + 163 + 224 + 180 + 233 + 198 + 240 + 209 + 249 + 272 + 295 + 330 + 366 + + 7.6 + 0.1 + 0 + 3550 + 0.1 + 168 + 1.3 + 24 + 63 + 650 + 380 + 10 + 168 + 6 + + 88 + 8 + + 6 + 180 + 186 + 3700 + + 17 + + 1 + 152 + 190 + 1 + 3700 + + .0001 + .001 + .01 + .1 + 1 + + 135 + 0.6 + 3700 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 5b5053a..228696d 100755 --- a/overlay.mk +++ b/overlay.mk @@ -96,6 +96,8 @@ PRODUCT_PACKAGES += \ treble-overlay-oneplus-op6 \ treble-overlay-oneplus-op6t \ treble-overlay-oneplus-op6t-systemui \ + treble-overlay-oneplus-op8 \ + treble-overlay-oneplus-op8-systemui \ treble-overlay-oppo-peqm00 \ treble-overlay-oppo-peqm00-systemui \ treble-overlay-oukitel-wp8pro \