diff --git a/Xiaomi/Mi10TLite-SystemUI/Android.mk b/Xiaomi/Mi10TLite-SystemUI/Android.mk new file mode 100644 index 000000000..e7d1d56bf --- /dev/null +++ b/Xiaomi/Mi10TLite-SystemUI/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-xiaomi-mi10tlite-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/Xiaomi/Mi10TLite-SystemUI/AndroidManifest.xml b/Xiaomi/Mi10TLite-SystemUI/AndroidManifest.xml new file mode 100644 index 000000000..819dbbac4 --- /dev/null +++ b/Xiaomi/Mi10TLite-SystemUI/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Xiaomi/Mi10TLite-SystemUI/res/values-land/config.xml b/Xiaomi/Mi10TLite-SystemUI/res/values-land/config.xml new file mode 100644 index 000000000..d470ced8f --- /dev/null +++ b/Xiaomi/Mi10TLite-SystemUI/res/values-land/config.xml @@ -0,0 +1,22 @@ + + + + + 0dp + diff --git a/Xiaomi/Mi10TLite-SystemUI/res/values-port/config.xml b/Xiaomi/Mi10TLite-SystemUI/res/values-port/config.xml new file mode 100644 index 000000000..c8d1ab88a --- /dev/null +++ b/Xiaomi/Mi10TLite-SystemUI/res/values-port/config.xml @@ -0,0 +1,24 @@ + + + + + + + 21px + diff --git a/Xiaomi/Mi10TLite-SystemUI/res/values/config.xml b/Xiaomi/Mi10TLite-SystemUI/res/values/config.xml new file mode 100644 index 000000000..7b21fd605 --- /dev/null +++ b/Xiaomi/Mi10TLite-SystemUI/res/values/config.xml @@ -0,0 +1,41 @@ + + + + + 21px + + + 1080px + + + 1000px + + + @dimen/physical_power_button_center_screen_location_y + diff --git a/Xiaomi/Mi10TLite/Android.mk b/Xiaomi/Mi10TLite/Android.mk new file mode 100644 index 000000000..ab791b147 --- /dev/null +++ b/Xiaomi/Mi10TLite/Android.mk @@ -0,0 +1,8 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_PACKAGE_NAME := treble-overlay-xiaomi-mi10tlite +LOCAL_MODULE_PATH := $(TARGET_OUT_PRODUCT)/overlay +LOCAL_IS_RUNTIME_RESOURCE_OVERLAY := true +LOCAL_PRIVATE_PLATFORM_APIS := true +include $(BUILD_PACKAGE) diff --git a/Xiaomi/Mi10TLite/AndroidManifest.xml b/Xiaomi/Mi10TLite/AndroidManifest.xml new file mode 100644 index 000000000..650159aaa --- /dev/null +++ b/Xiaomi/Mi10TLite/AndroidManifest.xml @@ -0,0 +1,10 @@ + + + diff --git a/Xiaomi/Mi10TLite/res/values-land/config.xml b/Xiaomi/Mi10TLite/res/values-land/config.xml new file mode 100644 index 000000000..94eedfa7d --- /dev/null +++ b/Xiaomi/Mi10TLite/res/values-land/config.xml @@ -0,0 +1,5 @@ + + + 28dp + 28dp + diff --git a/Xiaomi/Mi10TLite/res/values-port/config.xml b/Xiaomi/Mi10TLite/res/values-port/config.xml new file mode 100644 index 000000000..c28ab0e87 --- /dev/null +++ b/Xiaomi/Mi10TLite/res/values-port/config.xml @@ -0,0 +1,6 @@ + + + 95px + + 95px + diff --git a/Xiaomi/Mi10TLite/res/values/config.xml b/Xiaomi/Mi10TLite/res/values/config.xml new file mode 100644 index 000000000..4d643351d --- /dev/null +++ b/Xiaomi/Mi10TLite/res/values/config.xml @@ -0,0 +1,304 @@ + + + + + + + 2 + 5 + 10 + 30 + 100 + 400 + 600 + 1000 + + + 800 + 800 + 500 + 500 + 500 + 500 + 500 + 500 + + + 2 + 10 + 30 + 100 + 800 + 2000 + 4000 + + + 5 + 6 + 15 + 21 + 27 + 36 + 52 + 71 + 87 + 97 + 98 + 98 + 98 + 99 + 99 + 100 + 100 + 100 + 101 + 101 + 102 + 103 + 103 + 103 + 106 + 108 + 110 + 112 + 114 + 116 + 118 + 119 + 122 + 123 + 125 + 128 + 130 + 131 + 134 + 136 + 137 + 140 + 142 + 144 + 169 + 196 + 222 + 248 + 270 + 300 + 320 + 335 + 407 + 472 + 536 + 550 + + + 37 + 45 + 110 + 156 + 203 + 271 + 389 + 530 + 648 + 723 + 726 + 729 + 733 + 735 + 740 + 741 + 746 + 748 + 753 + 755 + 760 + 764 + 767 + 769 + 788 + 803 + 815 + 831 + 846 + 864 + 877 + 888 + 906 + 918 + 933 + 953 + 967 + 976 + 997 + 1013 + 1022 + 1041 + 1054 + 1073 + 1260 + 1458 + 1655 + 1844 + 2008 + 2237 + 2383 + 2491 + 3031 + 3515 + 3988 + 4095 + + + 2 + 4 + 6 + 8 + 10 + 15 + 20 + 25 + 30 + 35 + 40 + 45 + 50 + 55 + 60 + 65 + 70 + 75 + 80 + 85 + 90 + 95 + 100 + 120 + 140 + 160 + 180 + 200 + 220 + 240 + 260 + 280 + 300 + 320 + 340 + 360 + 380 + 400 + 420 + 440 + 460 + 480 + 500 + 700 + 900 + 1100 + 1300 + 1500 + 1700 + 1900 + 2000 + 2500 + 3000 + 3500 + 4000 + + + 0:2:15 + + + 2000 + 2000 + 1000 + 1000 + 500 + 500 + 500 + 500 + + + 800 + 800 + 800 + 800 + 800 + 500 + 500 + 500 + + + 2 + 10 + 30 + 100 + 800 + 2000 + 4000 + + + 0 + + + 0 + + + softap0 + wigig0 + + + true + true + false + true + true + + 100.0% + + 1000 + 1000 + 2466 + 1973 + 120 + 23 + 17 + 1376 + 4095 + 1264 + 491 + 4095 + 22 + 600 + + + + + true + true + + + + + 95px + 28dp + 93px + 86px + 90px + M 30,58 a30,30 0 1,1 0,-1 Z + M -30,28 h 60 v 60 h -60 Z + + + true + true + true + true + true + org.codeaurora.ims + + + true + + + 0 + diff --git a/Xiaomi/Mi10TLite/res/xml/power_profile.xml b/Xiaomi/Mi10TLite/res/xml/power_profile.xml new file mode 100644 index 000000000..0e8a65943 --- /dev/null +++ b/Xiaomi/Mi10TLite/res/xml/power_profile.xml @@ -0,0 +1,97 @@ + + + 0 + 82.43 + 337.31 + 3.79 + 0.45 + 0.25 + 236.16 + 27.1 + 21.62 + 59.87 + 94.44 + 768.51 + 77.51 + 197.88 + 90.13 + + 1.16 + 2.16 + + 0 + 0 + 0 + 0 + + 6 + 2 + + + 300000 + 576000 + 768000 + 1017600 + 1248000 + 1324800 + 1516800 + 1612800 + 1708800 + 1804800 + + + 23.28 + 25.6 + 29.97 + 34.54 + 38.41 + 41.6 + 48.9 + 55.26 + 56.26 + 60.31 + + + 300000 + 787200 + 979200 + 1036800 + 1248000 + 1401600 + 1555200 + 1766400 + 1900800 + 2073600 + 2131200 + 2208000 + + + 43.71 + 80.42 + 100.56 + 107.28 + 134.38 + 162.98 + 194.14 + 246.98 + 288.18 + 358.03 + 386.18 + 426.03 + + 9.42 + 5.34 + 4820 + 0 + 0 + 0 + + 0 + + .0002 + .002 + .02 + .2 + 2 + + \ No newline at end of file diff --git a/overlay.mk b/overlay.mk index 8299e29db..80da3aa24 100755 --- a/overlay.mk +++ b/overlay.mk @@ -255,6 +255,8 @@ PRODUCT_PACKAGES += \ treble-overlay-wifi5g \ treble-overlay-xiaomi-civi \ treble-overlay-xiaomi-civi-systemui \ + treble-overlay-xiaomi-mi10tlite \ + treble-overlay-xiaomi-mi10tlite-systemui \ treble-overlay-xiaomi-mi11lite5g \ treble-overlay-xiaomi-mi11tpro \ treble-overlay-xiaomi-mi6x \