diff --git a/Moto/hiphi-SystemUI/Android.mk b/Moto/hiphi-SystemUI/Android.mk new file mode 100644 index 0000000..09cf309 --- /dev/null +++ b/Moto/hiphi-SystemUI/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-moto-hiphi-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/Moto/hiphi-SystemUI/AndroidManifest.xml b/Moto/hiphi-SystemUI/AndroidManifest.xml new file mode 100644 index 0000000..e569609 --- /dev/null +++ b/Moto/hiphi-SystemUI/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Moto/hiphi-SystemUI/res/values-land/config.xml b/Moto/hiphi-SystemUI/res/values-land/config.xml new file mode 100644 index 0000000..0356339 --- /dev/null +++ b/Moto/hiphi-SystemUI/res/values-land/config.xml @@ -0,0 +1,4 @@ + + + 28dp + diff --git a/Moto/hiphi-SystemUI/res/values-v31/config.xml b/Moto/hiphi-SystemUI/res/values-v31/config.xml new file mode 100644 index 0000000..40690d4 --- /dev/null +++ b/Moto/hiphi-SystemUI/res/values-v31/config.xml @@ -0,0 +1,4 @@ + + + 693px + diff --git a/Moto/hiphi-SystemUI/res/values/config.xml b/Moto/hiphi-SystemUI/res/values/config.xml new file mode 100644 index 0000000..7627375 --- /dev/null +++ b/Moto/hiphi-SystemUI/res/values/config.xml @@ -0,0 +1,11 @@ + + + 35px + 35px + 102px + @dimen/status_bar_padding_start + @dimen/status_bar_padding_end + + + 4dp + diff --git a/Moto/hiphi/Android.mk b/Moto/hiphi/Android.mk new file mode 100644 index 0000000..0142fb8 --- /dev/null +++ b/Moto/hiphi/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-moto-hiphi +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Moto/hiphi/AndroidManifest.xml b/Moto/hiphi/AndroidManifest.xml new file mode 100644 index 0000000..76f824b --- /dev/null +++ b/Moto/hiphi/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Moto/hiphi/res/values-land/config.xml b/Moto/hiphi/res/values-land/config.xml new file mode 100644 index 0000000..9d6de4c --- /dev/null +++ b/Moto/hiphi/res/values-land/config.xml @@ -0,0 +1,4 @@ + + + @dimen/status_bar_height_landscape + diff --git a/Moto/hiphi/res/values/config.xml b/Moto/hiphi/res/values/config.xml new file mode 100644 index 0000000..4cab3ed --- /dev/null +++ b/Moto/hiphi/res/values/config.xml @@ -0,0 +1,84 @@ + + + true + true + false + true + true + true + true + + 102px + 28dp + @dimen/status_bar_height_portrait + + 6 + 1 + + + 2 + 4 + 5 + 10 + 40 + 100 + 325 + 1250 + 3500 + 5500 + + + 10 + 20 + 40 + 70 + 110 + 160 + 200 + 255 + + + 5 + 7 + 10 + 12 + 24 + 95 + 111 + 149 + 192 + 252 + 500 + + + 0 + 5 + 7 + 10 + 12 + 24 + 95 + 111 + 149 + 192 + 252 + 500 + + + 0 + 4 + 5 + 6 + 7 + 13 + 51 + 59 + 82 + 102 + 138 + 255 + + + M -31,0 L -31,82 L 31,82 L 31,0 Z + M -31,0 L -31,82 L 31,82 L 31,0 Z + diff --git a/Moto/hiphi/res/xml/power_profile.xml b/Moto/hiphi/res/xml/power_profile.xml new file mode 100644 index 0000000..64c569e --- /dev/null +++ b/Moto/hiphi/res/xml/power_profile.xml @@ -0,0 +1,152 @@ + + + 0 + 104.64 + 171.75 + 1.189 + 80.689 + 250.59 + 634.17 + 224.175 + 8.65 + 257.53 + 72.7 + + 33.079 + 30 + 25 + 20 + 15 + 10 + 5 + 4.3 + + + 4 + 3 + 1 + + + 307200 + 403200 + 518400 + 614400 + 729600 + 844800 + 960000 + 1075200 + 1171200 + 1267200 + 1363200 + 1478400 + 1574400 + 1689600 + 1785600 + + + 633600 + 768000 + 833200 + 998400 + 1113600 + 1209600 + 1324800 + 1440000 + 1555200 + 1651200 + 1766400 + 1881600 + 1996800 + 2112000 + 2227200 + 2342400 + 2419200 + + + 806400 + 940800 + 1056000 + 1171200 + 1286400 + 1401600 + 1497600 + 1612800 + 1728000 + 1843200 + 1958400 + 2054400 + 2169600 + 2284800 + 2400000 + 2515200 + 2630400 + 2726400 + 2822400 + 2841600 + + + 6 + 7 + 10 + 11 + 12 + 17 + 21 + 23 + 30 + 33 + 37 + 43 + 55 + 61 + 65 + + + 33 + 41 + 51 + 59 + 68 + 75 + 87 + 100 + 113 + 121 + 155 + 175 + 207 + 235 + 260 + 301 + 309 + + + 68 + 82 + 105 + 127 + 152 + 179 + 192 + 219 + 247 + 297 + 321 + 376 + 425 + 430 + 440 + 455 + 475 + 502 + 514 + 516 + + 1.13 + 1.13 + 1.13 + 6.5 + 22.71 + 6.9 + 5069 + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 73ef602..fc58a5f 100755 --- a/overlay.mk +++ b/overlay.mk @@ -79,6 +79,8 @@ PRODUCT_PACKAGES += \ treble-overlay-moto-g8 \ treble-overlay-moto-g8plus \ treble-overlay-moto-g8power \ + treble-overlay-moto-hiphi \ + treble-overlay-moto-hiphi-systemui \ treble-overlay-moto-one \ treble-overlay-moto-one-action \ treble-overlay-moto-onehyper \