vermeer: Import device overlays and overlays especific variant

Signed-off-by: Lunark :3 <jvillaltamatos3007@gmail.com>

Change-Id: Ia3f9d8eabf965e291d10c582faeca10407f8cb0d
This commit is contained in:
ByteWave1014
2025-02-18 12:51:27 -05:00
committed by Lunark :3
parent 8beca9e2c7
commit e693901d62
24 changed files with 898 additions and 15 deletions

View File

@@ -12,8 +12,13 @@ $(call inherit-product, vendor/xiaomi/vermeer/vermeer-vendor.mk)
# Overlay
PRODUCT_PACKAGES += \
FrameworkResOverlayVermeer \
SettingsOverlayVermeer \
SettingsOverlayVermeerPOCO \
SettingsOverlayVermeerRedmi \
SettingsProviderResVermeerPOCO \
SettingsProviderResVermeerRedmi \
SystemUIOverlayVermeer \
WifiResVermeerPOCO \
WifiResVermeerRedmi

View File

@@ -0,0 +1,11 @@
//
// Copyright (C) 2025 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "FrameworkResOverlayVermeer",
sdk_version: "current",
vendor: true,
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.frameworkresoverlay.vermeer">
<application android:hasCode="false" />
<overlay
android:isStatic="true"
android:priority="1"
android:targetPackage="android"
android:targetName="VermeerFrameworkResOverlay" />
</manifest>

View File

@@ -0,0 +1,478 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate.
NOTE: The naming convention is "config_camelCaseValue". Some legacy
entries do not follow the convention, but all new entries should. -->
<resources>
<!-- Screen brightness used to dim the screen when the user activity
timeout expires. May be less than the minimum allowed brightness setting
that can be set by the user. -->
<integer name="config_screenBrightnessDim">15</integer>
<item name="config_screenBrightnessDimFloat" format="float" type="dimen">0.000854597</item>
<!-- Default screen brightness setting set.
-2 is invalid so setting will resort to int value specified above.
Must be in the range specified by minimum and maximum. -->
<item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.07496032</item>
<!-- Maximum screen brightness allowed by the power manager.
-2 is invalid so setting will resort to int value specified above.
Set this to 1.0 for maximum brightness range.
The user is forbidden from setting the brightness above this level. -->
<item name="config_screenBrightnessSettingMaximumFloat" format="float" type="dimen">1.0</item>
<!-- Minimum screen brightness setting allowed by power manager.
-2 is invalid so setting will resort to int value specified above.
Set this to 0.0 to allow screen to go to minimal brightness.
The user is forbidden from setting the brightness below this level. -->
<item name="config_screenBrightnessSettingMinimumFloat" format="float" type="dimen">0.000854597</item>
<!-- The maximum range of gamma adjustment possible using the screen
auto-brightness adjustment setting. -->
<fraction name="config_autoBrightnessAdjustmentMaxGamma">100.0%</fraction>
<!-- Array of desired screen brightness in nits corresponding to the lux values
in the config_autoBrightnessLevels array. The display brightness is defined as the measured
brightness of an all-white image.
If this is defined then:
- config_autoBrightnessLcdBacklightValues should not be defined
- config_screenBrightnessNits must be defined
- config_screenBrightnessBacklight must be defined
This array should have size one greater than the size of the config_autoBrightnessLevels
array. The brightness values must be non-negative and non-decreasing. This must be
overridden in platform specific overlays -->
<array name="config_autoBrightnessDisplayValuesNits">
<item>3.5</item>
<item>7.7</item>
<item>11.9</item>
<item>16.1</item>
<item>20.2</item>
<item>24.4</item>
<item>28.6</item>
<item>30.8</item>
<item>32.1</item>
<item>33.5</item>
<item>35.0</item>
<item>36.6</item>
<item>38.2</item>
<item>40.0</item>
<item>41.8</item>
<item>43.7</item>
<item>45.8</item>
<item>47.9</item>
<item>50.0</item>
<item>52.3</item>
<item>55.3</item>
<item>57.1</item>
<item>59.7</item>
<item>62.3</item>
<item>65.8</item>
<item>67.8</item>
<item>70.7</item>
<item>73.7</item>
<item>76.7</item>
<item>79.9</item>
<item>83.1</item>
<item>83.6</item>
<item>84.0</item>
<item>84.5</item>
<item>85.0</item>
<item>85.4</item>
<item>85.8</item>
<item>86.3</item>
<item>86.7</item>
<item>87.2</item>
<item>87.6</item>
<item>88.1</item>
<item>88.5</item>
<item>88.9</item>
<item>89.4</item>
<item>90.8</item>
<item>92.3</item>
<item>93.7</item>
<item>95.3</item>
<item>96.6</item>
<item>98.1</item>
<item>99.6</item>
<item>101.0</item>
<item>102.5</item>
<item>103.9</item>
<item>105.4</item>
<item>106.8</item>
<item>108.3</item>
<item>109.7</item>
<item>111.3</item>
<item>112.7</item>
<item>114.1</item>
<item>115.6</item>
<item>117.1</item>
<item>118.6</item>
<item>126.1</item>
<item>135.8</item>
<item>155.1</item>
<item>175.3</item>
<item>196.8</item>
<item>218.7</item>
<item>241.1</item>
<item>263.8</item>
<item>275.4</item>
<item>335.4</item>
<item>398.0</item>
<item>415.7</item>
<item>433.4</item>
<item>451.1</item>
<item>468.8</item>
<item>486.5</item>
<item>504.2</item>
<item>521.9</item>
<item>539.6</item>
<item>557.3</item>
<item>575.0</item>
<item>592.8</item>
<item>610.5</item>
<item>628.2</item>
<item>645.9</item>
<item>663.6</item>
<item>681.3</item>
<item>699.0</item>
<item>716.7</item>
<item>734.4</item>
<item>752.1</item>
<item>769.8</item>
<item>787.5</item>
<item>805.2</item>
<item>822.9</item>
<item>858.4</item>
<item>893.8</item>
<item>929.2</item>
<item>964.6</item>
<item>1000.0</item>
<item>1005.0</item>
<item>1010.0</item>
<item>1015.0</item>
<item>1020.0</item>
<item>1025.0</item>
<item>1030.0</item>
<item>1035.0</item>
<item>1040.0</item>
<item>1045.0</item>
<item>1050.0</item>
<item>1075.0</item>
<item>1100.0</item>
<item>1125.0</item>
<item>1150.0</item>
<item>1175.0</item>
<item>1200.0</item>
<item>1200.0</item>
<item>1200.0</item>
<item>1200.0</item>
<item>1200.0</item>
<item>1200.0</item>
<item>1200.0</item>
<item>1200.0</item>
<item>1200.0</item>
</array>
<!-- Array of output values for LCD backlight corresponding to the lux values
in the config_autoBrightnessLevels array. This array should have size one greater
than the size of the config_autoBrightnessLevels array.
The brightness values must be between 0 and 255 and be non-decreasing.
This must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLcdBacklightValues" />
<!-- Array of light sensor lux values to define our levels for auto backlight brightness support.
The N entries of this array define N + 1 control points as follows:
(1-based arrays)
Point 1: (0, value[1]): lux <= 0
Point 2: (level[1], value[2]): 0 < lux <= level[1]
Point 3: (level[2], value[3]): level[2] < lux <= level[3]
...
Point N+1: (level[N], value[N+1]): level[N] < lux
The control points must be strictly increasing. Each control point
corresponds to an entry in the brightness backlight values arrays.
For example, if lux == level[1] (first element of the levels array)
then the brightness will be determined by value[2] (second element
of the brightness values array).
Spline interpolation is used to determine the auto-brightness
backlight values for lux levels between these control points.
Must be overridden in platform specific overlays -->
<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>5</item>
<item>6</item>
<item>7</item>
<item>8</item>
<item>9</item>
<item>10</item>
<item>11</item>
<item>12</item>
<item>13</item>
<item>14</item>
<item>15</item>
<item>16</item>
<item>17</item>
<item>18</item>
<item>19</item>
<item>20</item>
<item>21</item>
<item>22</item>
<item>23</item>
<item>24</item>
<item>25</item>
<item>26</item>
<item>27</item>
<item>28</item>
<item>29</item>
<item>30</item>
<item>35</item>
<item>40</item>
<item>45</item>
<item>50</item>
<item>55</item>
<item>60</item>
<item>65</item>
<item>70</item>
<item>75</item>
<item>80</item>
<item>85</item>
<item>90</item>
<item>95</item>
<item>100</item>
<item>120</item>
<item>140</item>
<item>160</item>
<item>180</item>
<item>200</item>
<item>220</item>
<item>240</item>
<item>260</item>
<item>280</item>
<item>300</item>
<item>320</item>
<item>340</item>
<item>360</item>
<item>380</item>
<item>400</item>
<item>420</item>
<item>440</item>
<item>460</item>
<item>480</item>
<item>500</item>
<item>600</item>
<item>700</item>
<item>900</item>
<item>1100</item>
<item>1300</item>
<item>1500</item>
<item>1700</item>
<item>1900</item>
<item>2000</item>
<item>2500</item>
<item>3000</item>
<item>3500</item>
<item>4000</item>
<item>4500</item>
<item>5000</item>
<item>5500</item>
<item>6000</item>
<item>6500</item>
<item>7000</item>
<item>7500</item>
<item>8000</item>
<item>8500</item>
<item>9000</item>
<item>9500</item>
<item>10000</item>
<item>10500</item>
<item>11000</item>
<item>11500</item>
<item>12000</item>
<item>12500</item>
<item>13000</item>
<item>13500</item>
<item>14000</item>
<item>14500</item>
<item>15000</item>
<item>16000</item>
<item>17000</item>
<item>18000</item>
<item>19000</item>
<item>20000</item>
<item>21000</item>
<item>22000</item>
<item>23000</item>
<item>24000</item>
<item>25000</item>
<item>26000</item>
<item>27000</item>
<item>28000</item>
<item>29000</item>
<item>30000</item>
<item>35000</item>
<item>40000</item>
<item>45000</item>
<item>50000</item>
<item>55000</item>
<item>60000</item>
<item>65000</item>
<item>70000</item>
<item>75000</item>
<item>80000</item>
<item>85000</item>
<item>90000</item>
<item>95000</item>
<item>100000</item>
</integer-array>
<!-- An array describing the screen's backlight values corresponding to the brightness
values in the config_screenBrightnessNits array. -->
<array name="config_screenBrightnessBacklight">
<item>1</item>
<item>255</item>
</array>
<!-- An array of floats describing the screen brightness in nits corresponding to the backlight
values in the config_screenBrightnessBacklight array. On OLED displays these values
should be measured with an all white image while the display is in the fully on state.
Note that this value should *not* reflect the maximum brightness value for any high
brightness modes but only the maximum brightness value obtainable in a sustainable manner.
This array should be equal in size to config_screenBrightnessBacklight -->
<array name="config_screenBrightnessNits">
<item>2</item>
<item>1000</item>
</array>
<!-- Array of ambient lux threshold values. This is used for determining hysteresis constraint
values by calculating the index to use for lookup and then setting the constraint value
to the corresponding value of the array. The new brightening hysteresis constraint value
is the n-th element of config_ambientBrighteningThresholds, and the new darkening
hysteresis constraint value is the n-th element of config_ambientDarkeningThresholds.
The (zero-based) index is calculated as follows: (MAX is the largest index of the array)
condition calculated index
value < level[0] 0
level[n] <= value < level[n+1] n+1
level[MAX] <= value MAX+1 -->
<integer-array name="config_ambientThresholdLevels">
<item>2</item>
<item>10</item>
<item>30</item>
<item>100</item>
<item>800</item>
<item>2000</item>
<item>4000</item>
</integer-array>
<!-- Array of hysteresis constraint values for brightening, represented as tenths of a
percent. The length of this array is assumed to be one greater than
config_ambientThresholdLevels. The brightening threshold is calculated as
lux * (1.0f + CONSTRAINT_VALUE). When the current lux is higher than this threshold,
the screen brightness is recalculated. See the config_ambientThresholdLevels
description for how the constraint value is chosen. -->
<integer-array name="config_ambientBrighteningThresholds">
<item>2</item>
<item>6</item>
<item>10</item>
<item>30</item>
<item>100</item>
<item>400</item>
<item>600</item>
<item>1000</item>
</integer-array>
<!-- Array of hysteresis constraint values for darkening, represented as tenths of a
percent. The length of this array is assumed to be one greater than
config_ambientThresholdLevels. The darkening threshold is calculated as
lux * (1.0f - CONSTRAINT_VALUE). When the current lux is lower than this threshold,
the screen brightness is recalculated. See the config_ambientThresholdLevels
description for how the constraint value is chosen. -->
<integer-array name="config_ambientDarkeningThresholds">
<item>800</item>
<item>800</item>
<item>500</item>
<item>500</item>
<item>500</item>
<item>500</item>
<item>500</item>
<item>500</item>
</integer-array>
<!-- Stability requirements in milliseconds for accepting a new brightness level. This is used
for debouncing the light sensor. Different constants are used to debounce the light sensor
when adapting to brighter or darker environments. This parameter controls how quickly
brightness changes occur in response to an observed change in light level that exceeds the
hysteresis threshold. -->
<integer name="config_autoBrightnessBrighteningLightDebounce">1000</integer>
<integer name="config_autoBrightnessDarkeningLightDebounce">1000</integer>
<!-- The display uses different gamma curves for different refresh rates. It's hard for panel
vendors to tune the curves to have exact same brightness for different refresh rate. So
flicker could be observed at switch time. The issue is worse at the gamma lower end.
In addition, human eyes are more sensitive to the flicker at darker environment.
To prevent flicker, we only support higher refresh rates if the display brightness is above
a threshold.
For example, no higher refresh rate if
display brightness <= disp0 && ambient brightness <= amb0
|| display brightness <= disp1 && ambient brightness <= amb1 -->
<integer-array name="config_brightnessThresholdsOfPeakRefreshRate" />
<integer-array name="config_ambientThresholdsOfPeakRefreshRate" />
<!-- The bounding path of the cutout region of the main built-in display.
Must either be empty if there is no cutout region, or a string that is parsable by
{@link android.util.PathParser}.
The path is assumed to be specified in display coordinates with pixel units and in
the display's native orientation, with the origin of the coordinate system at the
center top of the display. Optionally, you can append either `@left` or `@right` to the
end of the path string, in order to change the path origin to either the top left,
or top right of the display.
To facilitate writing device-independent emulation overlays, the marker `@dp` can be
appended after the path string to interpret coordinates in dp instead of px units.
Note that a physical cutout should be configured in pixels for the best results.
Example for a 10px x 10px square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z</string>
Example for a 10dp x 10dp square top-center cutout:
<string ...>M -5,0 L -5,10 L 5,10 L 5,0 Z @dp</string>
@see https://www.w3.org/TR/SVG/paths.html#PathData
-->
<string name="config_mainBuiltInDisplayCutout" translatable="false">M -42,63 M 42,63 A 42,42 0 1,0 -42,63 A 42,42 0 1,0 42,63 Z</string>
<!--Like config_mainBuiltInDisplayCutout, but this path is used to report the
one single bounding rect per device edge to the app via
{@link DisplayCutout#getBoundingRect}. Note that this path should try to match the visual
appearance of the cutout as much as possible, and may be smaller than
config_mainBuiltInDisplayCutout
-->
<string name="config_mainBuiltInDisplayCutoutRectApproximation">M 0,0 H -42 V 122 H 42 V 0 H 0 Z</string>
<!--Whether the display cutout region of the main built-in display should be forced to
black in software (to avoid aliasing or emulate a cutout that is not physically existent).
-->
<bool name="config_fillMainBuiltInDisplayCutout">true</bool>
</resources>

View File

@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/* //device/apps/common/assets/res/any/dimens.xml
**
** Copyright 2006, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<resources>
<!-- Height of the status bar.
Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead.
-->
<dimen name="status_bar_height">118.0px</dimen>
<!-- The default height of the status bar used in {@link SystemBarUtils#getStatusBarHeight} to
calculate the status bar height. -->
<dimen name="status_bar_height_default">@dimen/status_bar_height</dimen>
<!-- Radius of the software rounded corners at the top of the display in its natural
orientation. If zero, the value of rounded_corner_radius is used. -->
<dimen name="rounded_corner_radius_top">140.0px</dimen>
<!-- Radius of the software rounded corners at the bottom of the display in its natural
orientation. If zero, the value of rounded_corner_radius is used. -->
<dimen name="rounded_corner_radius_bottom">140.0px</dimen>
</resources>

View File

@@ -0,0 +1,183 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<device name="Android">
<item name="none">0</item>
<item name="screen.on">104.18</item>
<item name="screen.full">344.82</item>
<array name="cpu.clusters.cores">
<value>3</value>
<value>4</value>
<value>1</value>
</array>
<array name="cpu.core_speeds.cluster0">
<value>307200</value>
<value>441600</value>
<value>556800</value>
<value>672000</value>
<value>787200</value>
<value>902400</value>
<value>1017600</value>
<value>1113600</value>
<value>1228800</value>
<value>1344000</value>
<value>1459200</value>
<value>1555200</value>
<value>1670400</value>
<value>1785600</value>
<value>1900800</value>
<value>2016000</value>
</array>
<array name="cpu.core_power.cluster0">
<value>32.96</value>
<value>34.92</value>
<value>37.14</value>
<value>39.18</value>
<value>41.38</value>
<value>43.61</value>
<value>47.65</value>
<value>49.86</value>
<value>53.59</value>
<value>56.15</value>
<value>60.12</value>
<value>63.46</value>
<value>67.76</value>
<value>71.97</value>
<value>77.14</value>
<value>81.64</value>
</array>
<array name="cpu.core_speeds.cluster1">
<value>499200</value>
<value>614400</value>
<value>729600</value>
<value>844800</value>
<value>940800</value>
<value>1056000</value>
<value>1171200</value>
<value>1286400</value>
<value>1401600</value>
<value>1536000</value>
<value>1651200</value>
<value>1785600</value>
<value>1920000</value>
<value>2054400</value>
<value>2188800</value>
<value>2323200</value>
<value>2457600</value>
<value>2592000</value>
<value>2707200</value>
<value>2803200</value>
</array>
<array name="cpu.core_power.cluster1">
<value>55.29</value>
<value>61.88</value>
<value>69.06</value>
<value>77.62</value>
<value>84.72</value>
<value>95.69</value>
<value>104.54</value>
<value>115.5</value>
<value>125.28</value>
<value>140.09</value>
<value>154.55</value>
<value>174.46</value>
<value>193.36</value>
<value>223.1</value>
<value>253.39</value>
<value>287.2</value>
<value>323.26</value>
<value>366.71</value>
<value>402.51</value>
<value>422.49</value>
</array>
<array name="cpu.core_speeds.cluster2">
<value>595200</value>
<value>729600</value>
<value>864000</value>
<value>998400</value>
<value>1132800</value>
<value>1248000</value>
<value>1363200</value>
<value>1478400</value>
<value>1593600</value>
<value>1708800</value>
<value>1843200</value>
<value>1977600</value>
<value>2092800</value>
<value>2227200</value>
<value>2342400</value>
<value>2476800</value>
<value>2592000</value>
<value>2726400</value>
<value>2841600</value>
<value>2956800</value>
<value>3187200</value>
</array>
<array name="cpu.core_power.cluster2">
<value>87.24</value>
<value>101.65</value>
<value>117.61</value>
<value>134.83</value>
<value>153.68</value>
<value>171.25</value>
<value>187.05</value>
<value>206.94</value>
<value>223.63</value>
<value>245.07</value>
<value>273.46</value>
<value>309.2</value>
<value>392.05</value>
<value>436.29</value>
<value>477.17</value>
<value>538.73</value>
<value>585.89</value>
<value>660.07</value>
<value>726.19</value>
<value>812.95</value>
<value>927.29</value>
</array>
<item name="cpu.active">23.2</item>
<item name="cpu.idle">7.33</item>
<item name="cpu.suspend">0</item>
<item name="battery.capacity">5000</item>
<item name="wifi.on">1.17</item>
<item name="wifi.active">197.58</item>
<item name="wifi.scan">26.43</item>
<item name="audio">31.37</item>
<item name="video">63.33</item>
<item name="camera.flashlight">128.83</item>
<item name="camera.avg">675.82</item>
<item name="gps.on">52.93</item>
<item name="radio.active">188.715</item>
<item name="radio.scanning">84.39</item>
<array name="radio.on">
<value>3.42</value>
<value>3.42</value>
</array>
<item name="modem.controller.idle">6</item>
<item name="modem.controller.rx">180</item>
<item name="modem.controller.tx">186</item>
<item name="modem.controller.voltage">3700</item>
<array name="memory.bandwidths">
<value>17</value>
</array>
<item name="wifi.controller.idle">1</item>
<item name="wifi.controller.rx">176</item>
<item name="wifi.controller.tx">200</item>
<array name="wifi.controller.tx_levels">
<value>1</value>
</array>
<item name="wifi.controller.voltage">3700</item>
<array name="wifi.batchedscan">
<value>.0001</value>
<value>.001</value>
<value>.01</value>
<value>.1</value>
<value>1</value>
</array>
<item name="bluetooth.active">2.54</item>
<item name="bluetooth.on">1.03</item>
<item name="bluetooth.controller.voltage">3700</item>
</device>

View File

@@ -0,0 +1,11 @@
//
// Copyright (C) 2025 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsOverlayVermeer",
sdk_version: "current",
vendor: true,
}

View File

@@ -0,0 +1,8 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.settingsoverlay.vermeer">
<application android:hasCode="false" />
<overlay android:isStatic="true"
android:priority="1"
android:targetPackage="com.android.settings"
android:targetName="VermeerSettingsOverlay" />
</manifest>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2009, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. Do not translate.
NOTE: The naming convention is "config_camelCaseValue". Some legacy
entries do not follow the convention, but all new entries should. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- The radius of the enrollment progress bar, in dp -->
<integer name="config_udfpsEnrollProgressBar">75</integer>
</resources>

View File

@@ -0,0 +1,10 @@
//
// Copyright (C) 2025 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsOverlayVermeerPOCO",
device_specific: true,
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.settingsoverlay.vermeer.poco">
<application android:hasCode="false" />
<overlay
android:isStatic="true"
android:priority="800"
android:targetPackage="com.android.settings"
android:requiredSystemPropertyName="ro.boot.hwc"
android:requiredSystemPropertyValue="GL" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 KiB

View File

@@ -0,0 +1,10 @@
//
// Copyright (C) 2025 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SettingsOverlayVermeerRedmi",
device_specific: true,
}

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.settingsoverlay.vermeer.redmi">
<application android:hasCode="false" />
<overlay
android:isStatic="true"
android:priority="750"
android:targetPackage="com.android.settings"
android:requiredSystemPropertyName="ro.boot.hwc"
android:requiredSystemPropertyValue="CN" />
</manifest>

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

View File

@@ -6,11 +6,11 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.providers.settings.overlay.vermeer.poco">
<application android:hasCode="false" />
<overlay
android:isStatic="true"
android:priority="801"
android:priority="800"
android:targetPackage="com.android.providers.settings"
android:requiredSystemPropertyName="ro.product.model"
android:requiredSystemPropertyValue="23113RKC6G" />
android:requiredSystemPropertyName="ro.boot.hwc"
android:requiredSystemPropertyValue="GL" />
</manifest>

View File

@@ -6,11 +6,11 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.providers.settings.overlay.vermeer.redmi">
<application android:hasCode="false" />
<overlay
android:isStatic="true"
android:priority="801"
android:priority="750"
android:targetPackage="com.android.providers.settings"
android:requiredSystemPropertyName="ro.product.model"
android:requiredSystemPropertyValue="23113RKC6C" />
android:requiredSystemPropertyName="ro.boot.hwc"
android:requiredSystemPropertyValue="CN" />
</manifest>

View File

@@ -0,0 +1,11 @@
//
// Copyright (C) 2025 The LineageOS Project
//
// SPDX-License-Identifier: Apache-2.0
//
runtime_resource_overlay {
name: "SystemUIOverlayVermeer",
sdk_version: "current",
vendor: true,
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="org.lineageos.systemuioverlay.vermeer">
<application android:hasCode="false" />
<overlay
android:isStatic="true"
android:priority="1"
android:targetPackage="com.android.systemui"
android:targetName="VermeerSystemUIOverlay" />
</manifest>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2025 The LineageOS Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Bottom margin size when fingerprint in display is active -->
<dimen name="keyguard_indication_margin_bottom">500px</dimen>
<!-- the padding on the top of the statusbar (usually 0) -->
<dimen name="status_bar_padding_top">26.0px</dimen>
<!-- the padding on the start of the statusbar -->
<dimen name="status_bar_padding_start">4dp</dimen>
<!-- the padding on the end of the statusbar -->
<dimen name="status_bar_padding_end">4dp</dimen>
<!-- Height of the status bar header bar when on Keyguard -->
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
<!-- Adjust the icon padding in status bar for rounded corners. -->
<dimen name="rounded_corner_content_padding">72.0px</dimen>
<!-- Location on the screen of the center of the physical power button. -->
<dimen name="physical_power_button_center_screen_location_y">1460px</dimen>
<!-- Microns/ums (1000 um = 1mm) per pixel for the given device. If unspecified, UI that
relies on this value will not be sized correctly. -->
<item name="pixel_pitch" format="float" type="dimen">48.2</item>
</resources>

View File

@@ -6,12 +6,12 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.wifi.resources.overlay.vermeer.poco">
<application android:hasCode="false" />
<overlay
android:isStatic="true"
android:priority="801"
android:priority="800"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources"
android:requiredSystemPropertyName="ro.product.model"
android:requiredSystemPropertyValue="23113RKC6G" />
android:requiredSystemPropertyName="ro.boot.hwc"
android:requiredSystemPropertyValue="GL" />
</manifest>

View File

@@ -9,9 +9,9 @@
<overlay
android:isStatic="true"
android:priority="801"
android:priority="750"
android:targetName="WifiCustomization"
android:targetPackage="com.android.wifi.resources"
android:requiredSystemPropertyName="ro.product.model"
android:requiredSystemPropertyValue="23113RKC6C" />
android:requiredSystemPropertyName="ro.boot.hwc"
android:requiredSystemPropertyValue="CN" />
</manifest>