umi: Inherit Overlay Configuration from UDC tree

This commit is contained in:
2025-04-28 10:47:24 +00:00
parent f57888a420
commit a41d00f7ce
13 changed files with 736 additions and 200 deletions

View File

@@ -44,61 +44,22 @@
<integer-array name="config_autoBrightnessLevels">
<item>1</item>
<item>2</item>
<item>3</item>
<item>4</item>
<item>6</item>
<item>8</item>
<item>10</item>
<item>15</item>
<item>12</item>
<item>20</item>
<item>25</item>
<item>30</item>
<item>35</item>
<item>40</item>
<item>45</item>
<item>50</item>
<item>33</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>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>148</item>
<item>245</item>
<item>403</item>
<item>665</item>
<item>1097</item>
<item>1808</item>
<item>2981</item>
<item>5000</item>
</integer-array>
<!-- Array of desired screen brightness in nits corresponding to the lux values
@@ -115,66 +76,26 @@
array. The brightness values must be non-negative and non-decreasing. This must be
overridden in platform specific overlays -->
<array name="config_autoBrightnessDisplayValuesNits">
<item>5</item>
<item>5</item>
<item>5</item>
<item>17</item>
<item>24</item>
<item>31</item>
<item>34</item>
<item>46</item>
<item>59</item>
<item>76</item>
<item>81</item>
<item>82</item>
<item>82</item>
<item>82</item>
<item>83</item>
<item>83</item>
<item>83</item>
<item>84</item>
<item>84</item>
<item>85</item>
<item>85</item>
<item>85</item>
<item>85</item>
<item>86</item>
<item>86</item>
<item>87</item>
<item>89</item>
<item>90</item>
<item>91</item>
<item>93</item>
<item>94</item>
<item>96</item>
<item>97</item>
<item>99</item>
<item>100</item>
<item>101</item>
<item>104</item>
<item>105</item>
<item>106</item>
<item>108</item>
<item>109</item>
<item>111</item>
<item>112</item>
<item>114</item>
<item>116</item>
<item>137</item>
<item>157</item>
<item>180</item>
<item>205</item>
<item>226</item>
<item>257</item>
<item>280</item>
<item>295</item>
<item>369</item>
<item>434</item>
<item>500</item>
<item>500</item>
<item>500</item>
<item>10.45935</item> <!-- 0-1 -->
<item>29.25559</item> <!-- 1-2 -->
<item>34.240692</item> <!-- 2-3 -->
<item>37.514347</item> <!-- 3-4 -->
<item>40.018696</item> <!-- 4-8 -->
<item>46.885098</item> <!-- 8-12 -->
<item>51.626434</item> <!-- 12-20 -->
<item>58.610405</item> <!-- 20-33 -->
<item>66.890915</item> <!-- 33-55 -->
<item>77.61644</item> <!-- 55-90 -->
<item>90.221886</item> <!-- 90-148 -->
<item>105.80314</item> <!-- 148-245 -->
<item>126.073845</item> <!-- 245-403 -->
<item>154.16931</item> <!-- 403-665 -->
<item>191.83717</item> <!-- 665-1097 -->
<item>240.74442</item> <!-- 1097-1808 -->
<item>294.84857</item> <!-- 1808-2981 -->
<item>348.05453</item> <!-- 2981-5000 -->
<item>389.70</item> <!-- 5000+ -->
</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.
@@ -183,74 +104,261 @@
This array should be equal in size to config_screenBrightnessBacklight -->
<array name="config_screenBrightnessNits">
<item>2.0482</item>
<item>2.7841</item>
<item>3.79505</item>
<item>4.4748</item>
<item>5.08</item>
<item>6.4233</item>
<item>8.0848</item>
<item>11.6607</item>
<item>13.2347</item>
<item>15.0676</item>
<item>16.8302</item>
<item>18.4261</item>
<item>20.3103</item>
<item>21.9042</item>
<item>23.5456</item>
<item>25.2137</item>
<item>27.1769</item>
<item>28.9571</item>
<item>30.5244</item>
<item>32.3535</item>
<item>34.0867</item>
<item>42.366</item>
<item>51.1309</item>
<item>59.52</item>
<item>67.744</item>
<item>75.9738</item>
<item>84.6332</item>
<item>94.1525</item>
<item>102.2207</item>
<item>110.4878</item>
<item>117.0405</item>
<item>124.3733</item>
<item>130.9928</item>
<item>140.4247</item>
<item>149.3156</item>
<item>157.1995</item>
<item>165.3651</item>
<item>173.2726</item>
<item>181.4272</item>
<item>189.1402</item>
<item>197.5334</item>
<item>205.6301</item>
<item>213.9381</item>
<item>222.2769</item>
<item>230.0891</item>
<item>238.6084</item>
<item>246.5399</item>
<item>255.6544</item>
<item>263.6221</item>
<item>271.9324</item>
<item>279.1449</item>
<item>288.5736</item>
<item>297.6628</item>
<item>306.1899</item>
<item>314.4511</item>
<item>322.1404</item>
<item>330.969</item>
<item>338.2251</item>
<item>346.2251</item>
<item>354.567</item>
<item>370.799</item>
<item>413.1738</item>
<item>415.6397</item>
<item>417.264</item>
<item>419.264</item>
<item>421.264</item>
<item>424.646</item>
<item>427.6287</item>
<item>2.2</item>
<item>3.7</item>
<item>5.34</item>
<item>6.98</item>
<item>8.63</item>
<item>10.27</item>
<item>11.91</item>
<item>13.55</item>
<item>15.2</item>
<item>16.84</item>
<item>18.48</item>
<item>20.12</item>
<item>21.76</item>
<item>23.41</item>
<item>25.05</item>
<item>26.69</item>
<item>28.33</item>
<item>29.98</item>
<item>31.62</item>
<item>33.26</item>
<item>34.9</item>
<item>36.54</item>
<item>38.19</item>
<item>39.83</item>
<item>41.47</item>
<item>43.11</item>
<item>44.76</item>
<item>46.4</item>
<item>48.04</item>
<item>49.68</item>
<item>51.32</item>
<item>52.97</item>
<item>54.61</item>
<item>56.25</item>
<item>57.89</item>
<item>59.54</item>
<item>61.18</item>
<item>62.82</item>
<item>64.46</item>
<item>66.1</item>
<item>67.75</item>
<item>69.39</item>
<item>71.03</item>
<item>72.67</item>
<item>74.32</item>
<item>75.96</item>
<item>77.6</item>
<item>79.24</item>
<item>80.88</item>
<item>82.53</item>
<item>84.17</item>
<item>85.81</item>
<item>87.45</item>
<item>89.1</item>
<item>90.74</item>
<item>92.38</item>
<item>94.02</item>
<item>95.66</item>
<item>97.31</item>
<item>98.95</item>
<item>100.59</item>
<item>102.23</item>
<item>103.88</item>
<item>105.52</item>
<item>107.16</item>
<item>108.8</item>
<item>110.44</item>
<item>112.09</item>
<item>113.73</item>
<item>115.37</item>
<item>117.01</item>
<item>118.66</item>
<item>120.3</item>
<item>121.94</item>
<item>123.58</item>
<item>125.22</item>
<item>126.87</item>
<item>128.51</item>
<item>130.15</item>
<item>131.79</item>
<item>133.44</item>
<item>135.08</item>
<item>136.72</item>
<item>138.36</item>
<item>140</item>
<item>142.06</item>
<item>143.7</item>
<item>145.34</item>
<item>146.98</item>
<item>148.63</item>
<item>150.27</item>
<item>151.91</item>
<item>153.55</item>
<item>155.2</item>
<item>156.84</item>
<item>158.48</item>
<item>160.12</item>
<item>161.76</item>
<item>163.41</item>
<item>165.05</item>
<item>166.69</item>
<item>168.33</item>
<item>169.98</item>
<item>171.62</item>
<item>173.26</item>
<item>174.9</item>
<item>176.54</item>
<item>178.19</item>
<item>179.83</item>
<item>181.47</item>
<item>183.11</item>
<item>184.76</item>
<item>186.4</item>
<item>188.04</item>
<item>189.68</item>
<item>191.32</item>
<item>192.97</item>
<item>194.61</item>
<item>196.25</item>
<item>197.89</item>
<item>199.54</item>
<item>201.18</item>
<item>202.82</item>
<item>204.46</item>
<item>206.1</item>
<item>207.75</item>
<item>209.39</item>
<item>211.03</item>
<item>212.67</item>
<item>214.32</item>
<item>215.96</item>
<item>217.6</item>
<item>219.24</item>
<item>220.88</item>
<item>222.53</item>
<item>224.17</item>
<item>225.81</item>
<item>227.45</item>
<item>229.1</item>
<item>230.74</item>
<item>232.38</item>
<item>234.02</item>
<item>235.66</item>
<item>237.31</item>
<item>238.95</item>
<item>240.59</item>
<item>242.23</item>
<item>243.88</item>
<item>245.52</item>
<item>247.16</item>
<item>248.8</item>
<item>250.44</item>
<item>252.09</item>
<item>253.73</item>
<item>255.37</item>
<item>257.01</item>
<item>258.66</item>
<item>260.3</item>
<item>261.94</item>
<item>263.58</item>
<item>265.22</item>
<item>266.87</item>
<item>268.51</item>
<item>270.15</item>
<item>271.79</item>
<item>273.44</item>
<item>275.08</item>
<item>276.72</item>
<item>278.36</item>
<item>280</item>
<item>282.06</item>
<item>283.7</item>
<item>285.34</item>
<item>286.98</item>
<item>288.63</item>
<item>290.27</item>
<item>291.91</item>
<item>293.55</item>
<item>295.2</item>
<item>296.84</item>
<item>298.48</item>
<item>300.12</item>
<item>301.76</item>
<item>303.41</item>
<item>305.05</item>
<item>306.69</item>
<item>308.33</item>
<item>309.98</item>
<item>311.62</item>
<item>313.26</item>
<item>314.9</item>
<item>316.54</item>
<item>318.19</item>
<item>319.83</item>
<item>321.47</item>
<item>323.11</item>
<item>324.76</item>
<item>326.4</item>
<item>328.04</item>
<item>329.68</item>
<item>331.32</item>
<item>332.97</item>
<item>334.61</item>
<item>336.25</item>
<item>337.89</item>
<item>339.54</item>
<item>341.18</item>
<item>342.82</item>
<item>344.46</item>
<item>346.1</item>
<item>347.75</item>
<item>349.39</item>
<item>351.03</item>
<item>352.67</item>
<item>354.32</item>
<item>355.96</item>
<item>357.6</item>
<item>359.24</item>
<item>360.88</item>
<item>362.53</item>
<item>364.17</item>
<item>365.81</item>
<item>367.45</item>
<item>369.1</item>
<item>370.74</item>
<item>372.38</item>
<item>374.02</item>
<item>375.66</item>
<item>377.31</item>
<item>378.95</item>
<item>380.59</item>
<item>382.23</item>
<item>383.88</item>
<item>385.52</item>
<item>387.16</item>
<item>388.8</item>
<item>390.44</item>
<item>392.09</item>
<item>393.73</item>
<item>395.37</item>
<item>397.01</item>
<item>398.66</item>
<item>400.3</item>
<item>401.94</item>
<item>403.58</item>
<item>405.22</item>
<item>406.87</item>
<item>408.51</item>
<item>410.15</item>
<item>411.79</item>
<item>413.44</item>
<item>415.08</item>
<item>416.72</item>
<item>418.36</item>
<item>420</item>
</array>
<!-- An array describing the screen's backlight values corresponding to the brightness
@@ -258,7 +366,6 @@
This array should be equal in size to config_screenBrightnessBacklight. -->
<integer-array name="config_screenBrightnessBacklight">
<item>0</item>
<item>1</item>
<item>2</item>
<item>3</item>
@@ -279,52 +386,240 @@
<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>31</item>
<item>32</item>
<item>33</item>
<item>34</item>
<item>35</item>
<item>36</item>
<item>37</item>
<item>38</item>
<item>39</item>
<item>40</item>
<item>41</item>
<item>42</item>
<item>43</item>
<item>44</item>
<item>45</item>
<item>46</item>
<item>47</item>
<item>48</item>
<item>49</item>
<item>50</item>
<item>51</item>
<item>52</item>
<item>53</item>
<item>54</item>
<item>55</item>
<item>56</item>
<item>57</item>
<item>58</item>
<item>59</item>
<item>60</item>
<item>61</item>
<item>62</item>
<item>63</item>
<item>64</item>
<item>65</item>
<item>66</item>
<item>67</item>
<item>68</item>
<item>69</item>
<item>70</item>
<item>71</item>
<item>72</item>
<item>73</item>
<item>74</item>
<item>75</item>
<item>76</item>
<item>77</item>
<item>78</item>
<item>79</item>
<item>80</item>
<item>81</item>
<item>82</item>
<item>83</item>
<item>84</item>
<item>85</item>
<item>86</item>
<item>87</item>
<item>88</item>
<item>89</item>
<item>90</item>
<item>91</item>
<item>92</item>
<item>93</item>
<item>94</item>
<item>95</item>
<item>96</item>
<item>97</item>
<item>98</item>
<item>99</item>
<item>100</item>
<item>101</item>
<item>102</item>
<item>103</item>
<item>104</item>
<item>105</item>
<item>106</item>
<item>107</item>
<item>108</item>
<item>109</item>
<item>110</item>
<item>111</item>
<item>112</item>
<item>113</item>
<item>114</item>
<item>115</item>
<item>116</item>
<item>117</item>
<item>118</item>
<item>119</item>
<item>120</item>
<item>121</item>
<item>122</item>
<item>123</item>
<item>124</item>
<item>125</item>
<item>126</item>
<item>127</item>
<item>128</item>
<item>129</item>
<item>130</item>
<item>131</item>
<item>132</item>
<item>133</item>
<item>134</item>
<item>135</item>
<item>136</item>
<item>137</item>
<item>138</item>
<item>139</item>
<item>140</item>
<item>141</item>
<item>142</item>
<item>143</item>
<item>144</item>
<item>145</item>
<item>146</item>
<item>147</item>
<item>148</item>
<item>149</item>
<item>150</item>
<item>151</item>
<item>152</item>
<item>153</item>
<item>154</item>
<item>155</item>
<item>156</item>
<item>157</item>
<item>158</item>
<item>159</item>
<item>160</item>
<item>161</item>
<item>162</item>
<item>163</item>
<item>164</item>
<item>165</item>
<item>166</item>
<item>167</item>
<item>168</item>
<item>169</item>
<item>170</item>
<item>171</item>
<item>172</item>
<item>173</item>
<item>174</item>
<item>175</item>
<item>176</item>
<item>177</item>
<item>178</item>
<item>179</item>
<item>180</item>
<item>181</item>
<item>182</item>
<item>183</item>
<item>184</item>
<item>185</item>
<item>186</item>
<item>187</item>
<item>188</item>
<item>189</item>
<item>190</item>
<item>191</item>
<item>192</item>
<item>193</item>
<item>194</item>
<item>195</item>
<item>196</item>
<item>197</item>
<item>198</item>
<item>199</item>
<item>200</item>
<item>201</item>
<item>202</item>
<item>203</item>
<item>204</item>
<item>205</item>
<item>206</item>
<item>207</item>
<item>208</item>
<item>209</item>
<item>210</item>
<item>211</item>
<item>212</item>
<item>213</item>
<item>214</item>
<item>215</item>
<item>216</item>
<item>217</item>
<item>218</item>
<item>219</item>
<item>220</item>
<item>221</item>
<item>222</item>
<item>223</item>
<item>224</item>
<item>225</item>
<item>226</item>
<item>227</item>
<item>228</item>
<item>229</item>
<item>230</item>
<item>231</item>
<item>232</item>
<item>233</item>
<item>234</item>
<item>235</item>
<item>236</item>
<item>237</item>
<item>238</item>
<item>239</item>
<item>240</item>
<item>241</item>
<item>242</item>
<item>243</item>
<item>244</item>
<item>245</item>
<item>246</item>
<item>247</item>
<item>248</item>
<item>249</item>
<item>250</item>
<item>251</item>
<item>252</item>
<item>253</item>
<item>254</item>
<item>255</item>
</integer-array>
@@ -390,16 +685,16 @@
<!-- Default screen brightness setting.
Must be in the range specified by minimum and maximum. -->
<integer name="config_screenBrightnessSettingDefault">1072</integer>
<integer name="config_screenBrightnessSettingDefault">128</integer>
<!-- Minimum screen brightness setting allowed by the power manager.
The user is forbidden from setting the brightness below this level. -->
<integer name="config_screenBrightnessSettingMinimum">12</integer>
<integer name="config_screenBrightnessSettingMinimum">2</integer>
<integer name="config_screenBrightnessForVrSettingDefault">1376</integer>
<integer name="config_screenBrightnessForVrSettingMaximum">4095</integer>
<integer name="config_screenBrightnessForVrSettingMinimum">1264</integer>
<integer name="config_screenBrightnessSettingMaximum">4095</integer>
<integer name="config_screenBrightnessForVrSettingDefault">7</integer>
<integer name="config_screenBrightnessForVrSettingMaximum">7</integer>
<integer name="config_screenBrightnessForVrSettingMinimum">6</integer>
<integer name="config_screenBrightnessSettingMaximum">255</integer>
<!-- 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

View File

@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/**
* Copyright (c) 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. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether devices suports in-display fingerprint when screen is off -->
<bool name="config_supportScreenOffUdfps">true</bool>
<!-- Pocket Lock -->
<bool name="config_pocketModeSupported">true</bool>
<!-- Path to fast charging status file to detect whether an oem fast charger is active -->
<string name="config_oemFastChargerStatusPath" translatable="false">/sys/class/power_supply/bms/fastcharge_mode</string>
<!-- Expected value from fast charging status file -->
<string name="config_oemFastChargerStatusValue" translatable="false">1</string>
<!-- Defines the sysfs attribute path used by the device to enable/disable DC dimming. -->
<string name="config_deviceDcDimmingSysfsNode">/sys/devices/platform/soc/soc:qcom,dsi-display-primary/dimlayer_exposure</string>
<!-- Defines the value used by the device sysfs node to enable DC dimming -->
<string name="config_deviceDcDimmingEnableValue">1</string>
</resources>

View File

@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2020, The LineageOS Project
** Copyright 2017, 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.
@@ -18,8 +18,8 @@
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- The radius of the enrollment progress bar, in dp -->
<integer name="config_udfpsEnrollProgressBar" translatable="false">104</integer>
for different hardware and product builds. Do not translate. -->
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Do not translate. Default access point SSID used for tethering -->
<string name="wifi_tether_configure_ssid_default" translatable="false">Xiaomi Mi 10</string>
</resources>

View File

@@ -20,6 +20,34 @@
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- Color of the UDFPS pressed view -->
<color name="config_udfpsColor">#ffffff</color>
<!-- Doze: does this device support STATE_DOZE? -->
<bool name="doze_display_state_supported">true</bool>
<!-- Doze: check proximity sensor before pulsing? -->
<bool name="doze_proximity_check_before_pulse">false</bool>
<!-- Should we vibrate on an icon animation of the shelf. This should only be active if the
vibrator is capable of subtle vibrations -->
<bool name="config_vibrateOnIconAnimation">true</bool>
<!-- Default rounded corner curve (a Bezier). Must match (the curved path in) rounded.xml.
Note that while rounded.xml includes the entire path (including the horizontal and vertical
corner edges), this pulls out just the curve.
-->
<string name="config_rounded_mask" translatable="false">M 118.88 0.00 C 92.62 0.73 65.04 3.19 41.99 16.95 C 25.47 26.58 13.97 43.17 8.22 61.18 C 2.11 79.38 0.60 98.71 0.00 118.88</string>
<!-- Respect drawable/rounded.xml intrinsic size for multiple radius corner path customization -->
<bool name="config_roundedCornerMultipleRadius">true</bool>
<!-- Allow CornerHandleView and PathSpecCornerPathRenderer to decouple from corner-radius -->
<dimen name="config_rounded_mask_size">130px</dimen>
<dimen name="config_rounded_mask_size_top">120px</dimen>
<dimen name="config_rounded_mask_size_bottom">130px</dimen>
<!-- Location on the screen of the center of the physical power button. -->
<!-- <dimen name="physical_power_button_center_screen_location_y">900px</dimen> -->
<!-- Location on the screen of the center of the fingerprint sensor. -->
<!-- <dimen name="physical_fingerprint_sensor_center_screen_location_y">2006.5px</dimen> -->
</resources>

View File

@@ -34,7 +34,6 @@
<!-- Margin on the right side of the system icon group on Keyguard. -->
<dimen name="system_icons_keyguard_padding_end">@dimen/status_bar_padding_end</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">65.74</item>
<!-- Recognizing fingerprint animation -->
<dimen name="udfps_animation_offset">4dp</dimen>
</resources>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2024 The Evolution X Project
SPDX-License-Identifier: Apache-2.0
-->
<resources>
<!-- Udfps vendor code -->
<integer name="config_udfpsVendorCode">22</integer>
<!-- Update battery info every second when device is charging -->
<bool name="config_alternateFastchargeInfoUpdate">true</bool>
</resources>

View File

@@ -0,0 +1,32 @@
<?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. -->
<resources>
<!-- Color of the UDFPS pressed view -->
<color name="config_udfpsColor">#00ff00</color>
<!-- Whether usage of the proximity sensor during doze is supported -->
<bool name="doze_proximity_sensor_supported">false</bool>
<!-- If not zero, limits the internal screen recorder's framerate to the set value. -->
<integer name="config_screenRecorderMaxFramerate">60</integer>
</resources>

View File

@@ -1,21 +1,44 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2007 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>
<!-- The number of vibration intensity levels supported by the device.
Note that this should correspond to the ability to vary the vibration amplitude, with
enough dynamic range to have at least as many distinct intensity levels as defined here.
Supported values are 1, 2, 3. If '1', the settings app will use a toggle for the settings,
otherwise a slider. If '3', the settings app maps intensities directly to the levels
supported by the Vibrator HAL APIs. If '2', then the levels will be mapped to
VIBRATION_INTENSITY_LOW and VIBRATION_INTENSITY_HIGH, which gives the most range for
scaling vibrations. The medium intensity will be skipped.
The default intensity values are configured at
frameworks/base/core/res/res/values/config.xml's config_default[type]VibrationIntensity.
Make sure that each default intensity value is consistent with the supported levels set
here. If this settings supports only 2 levels, for example, then the default intensity
should be either LOW (1) or HIGH (3).
-->
<integer name="config_vibration_supported_intensity_levels">3</integer>
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- Whether to show a preference item for mobile plan -->
<bool name="config_show_mobile_plan">false</bool>
<!-- Whether to show min refresh rate in display settings -->
<bool name="config_show_min_refresh_rate_switch">true</bool>
<!-- Whether to show the Preference for Adaptive connectivity -->
<bool name="config_show_adaptive_connectivity">false</bool>
<!-- Whether memory from app_info_settings is available or not. -->
<bool name="config_show_app_info_settings_memory">true</bool>
<!-- The radius of the enrollment progress bar, in dp -->
<integer name="config_udfpsEnrollProgressBar" translatable="false">104</integer>
<!-- Whether to display Cloned Apps page in Settings (Settings > Apps > Cloned Apps).-->
<bool name="config_cloned_apps_page_enabled">true</bool>
</resources>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 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.
-->
<resources>
<item name="fingerprint_sensor_location_fraction_y" type="fraction">78%</item>
</resources>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2021 The Evolution X 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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<!-- About device screen, build maintainer -->
<string name="build_maintainer_summary">TechPanelGM</string>
<string name="build_maintainer_donate_url">https://buymeacoffee.com/techpanelgm</string>
</resources>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2020-2024 The LineageOS 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>
<!-- Indicates whether device has a front facing fingerprint sensor (not udfps). -->
<bool name="config_is_front_facing_fps" translatable="false">false</bool>
<!-- Indicates whether device has a side mounted fingerprint sensor,
but a dedicated one, i.e. not embedded in the power button. -->
<bool name="config_is_side_fps" translatable="false">false</bool>
<string-array name="config_ignored_backup_transports" translatable="false">
<item>com.android.localtransport/.LocalTransport</item>
</string-array>
<!-- Whether to show advanced display rotation settings -->
<bool name="config_show_advanced_rotation_settings">true</bool>
<!-- Show battery information -->
<bool name="config_show_battery_info" translatable="false">true</bool>
<!-- Show battery cycle count -->
<bool name="config_show_battery_cycle_count" translatable="false">true</bool>
<!-- Show battery Design Capacity -->
<bool name="config_show_battery_design_capacity">true</bool>
<!-- Show battery Maximum Capacity -->
<bool name="config_show_battery_maximum_capacity">true</bool>
<!-- Whether to show peak refresh rate in display settings -->
<bool name="config_show_peak_refresh_rate_switch">false</bool>
<!-- Whether to show min refresh rate in display settings -->
<bool name="config_show_min_refresh_rate_switch">true</bool>
<!-- Max network scan search time in seconds -->
<integer name="config_network_scan_helper_max_search_time_sec">300</integer>
<!-- Whether to show custom screen resolution settings -->
<bool name="config_show_custom_screen_resolution_switch">false</bool>
<!-- Whether to show double tap ambient settings -->
<bool name="config_supports_double_tap_ambient" translatable="false">false</bool>
<!-- Whether to show volume steps settings -->
<bool name="config_supports_volume_steps" translatable="false">true</bool>
<!-- Whether to show vendor security patch level -->
<bool name="config_show_vendor_patch_level" translatable="false">true</bool>
<!-- Battery Info: mAh -->
<integer name="config_battery_divider" translatable="false">1000</integer>
</resources>