beyond2lte: import overlays from old beyond2lte tree
Change-Id: Ic0c747c003882e64b8f2cec484595607ac6f787b
diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml
new file mode 100644
index 0000000..a359373
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/config.xml
@@ -0,0 +1,709 @@
+<?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. -->
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+ <!-- 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>5</item>
+ <item>6</item>
+ <item>50</item>
+ <item>100</item>
+ <item>500</item>
+ <item>1500</item>
+ <item>3000</item>
+ <item>4999</item>
+ <item>5000</item>
+ <item>19999</item>
+ <item>20000</item>
+ </integer-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">
+ <item>6</item>
+ <item>6</item>
+ <item>6</item>
+ <item>11</item>
+ <item>79</item>
+ <item>95</item>
+ <item>141</item>
+ <item>183</item>
+ <item>200</item>
+ <item>219</item>
+ <item>255</item>
+ <item>255</item>
+ <item>255</item>
+ </integer-array>
+
+ <!-- Array of desired screen brightness in nits corresponding to the lux values
+ in the config_autoBrightnessLevels array. As with config_screenBrightnessMinimumNits and
+ config_screenBrightnessMaximumNits, 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>10</item>
+ <item>12</item>
+ <item>15</item>
+ <item>20</item>
+ <item>22.16</item>
+ <item>25.16</item>
+ <item>49.74</item>
+ <item>109.85</item>
+ <item>109.85</item>
+ <item>113</item>
+ <item>132</item>
+ <item>169.4</item>
+ <item>249.5</item>
+ <item>400</item>
+ <item>400</item>
+ <item>450</item>
+ <item>450</item>
+ <item>475</item>
+ <item>475</item>
+ <item>500</item>
+ <item>500</item>
+ <item>525</item>
+ <item>525</item>
+ <item>550</item>
+ <item>550</item>
+ <item>575</item>
+ <item>575</item>
+ <item>600</item>
+ <item>600</item>
+ <item>625</item>
+ <item>625</item>
+ <item>650</item>
+ <item>650</item>
+ <item>675</item>
+ <item>675</item>
+ <item>700</item>
+ </array>
+
+ <!-- An array describing the screen's backlight values corresponding to the brightness
+ values in the config_screenBrightnessNits array.
+
+ 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>
+ <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>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>
+ <item>287</item>
+ <item>303</item>
+ <item>319</item>
+ <item>335</item>
+ <item>351</item>
+ <item>367</item>
+ <item>383</item>
+ <item>399</item>
+ <item>415</item>
+ <item>431</item>
+ <item>447</item>
+ </integer-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>2.2</item>
+ <item>2.3</item>
+ <item>2.5</item>
+ <item>2.6</item>
+ <item>2.8</item>
+ <item>2.9</item>
+ <item>3</item>
+ <item>3.2</item>
+ <item>3.3</item>
+ <item>3.5</item>
+ <item>3.6</item>
+ <item>3.8</item>
+ <item>3.9</item>
+ <item>4</item>
+ <item>4.2</item>
+ <item>4.3</item>
+ <item>4.5</item>
+ <item>4.6</item>
+ <item>4.8</item>
+ <item>4.9</item>
+ <item>5</item>
+ <item>5.2</item>
+ <item>5.3</item>
+ <item>5.5</item>
+ <item>5.6</item>
+ <item>5.8</item>
+ <item>5.9</item>
+ <item>6</item>
+ <item>6.2</item>
+ <item>6.3</item>
+ <item>6.5</item>
+ <item>6.6</item>
+ <item>6.8</item>
+ <item>6.9</item>
+ <item>7</item>
+ <item>8</item>
+ <item>8.58</item>
+ <item>9</item>
+ <item>9.58</item>
+ <item>10</item>
+ <item>10.66</item>
+ <item>11</item>
+ <item>11.66</item>
+ <item>12</item>
+ <item>12.66</item>
+ <item>13</item>
+ <item>13.66</item>
+ <item>14</item>
+ <item>14.66</item>
+ <item>15</item>
+ <item>15.66</item>
+ <item>16</item>
+ <item>16.66</item>
+ <item>17</item>
+ <item>17.66</item>
+ <item>18</item>
+ <item>19</item>
+ <item>19.66</item>
+ <item>20</item>
+ <item>20.66</item>
+ <item>21</item>
+ <item>22.16</item>
+ <item>23</item>
+ <item>23.66</item>
+ <item>24</item>
+ <item>25.16</item>
+ <item>26</item>
+ <item>26.66</item>
+ <item>27</item>
+ <item>29</item>
+ <item>30.16</item>
+ <item>31</item>
+ <item>32.16</item>
+ <item>33</item>
+ <item>34.32</item>
+ <item>35</item>
+ <item>36.32</item>
+ <item>37</item>
+ <item>38.32</item>
+ <item>39</item>
+ <item>40.74</item>
+ <item>42</item>
+ <item>43.74</item>
+ <item>45</item>
+ <item>46.74</item>
+ <item>48</item>
+ <item>49.74</item>
+ <item>51</item>
+ <item>52.74</item>
+ <item>54</item>
+ <item>55.74</item>
+ <item>57</item>
+ <item>59.32</item>
+ <item>61</item>
+ <item>63.32</item>
+ <item>65</item>
+ <item>67.32</item>
+ <item>69</item>
+ <item>71</item>
+ <item>73</item>
+ <item>75.5</item>
+ <item>78</item>
+ <item>80.5</item>
+ <item>83</item>
+ <item>85.5</item>
+ <item>88</item>
+ <item>91</item>
+ <item>94</item>
+ <item>97.3</item>
+ <item>100</item>
+ <item>103.3</item>
+ <item>106</item>
+ <item>109.85</item>
+ <item>113</item>
+ <item>116.5</item>
+ <item>120</item>
+ <item>124.4</item>
+ <item>128</item>
+ <item>132</item>
+ <item>136</item>
+ <item>140.95</item>
+ <item>145</item>
+ <item>149.5</item>
+ <item>154</item>
+ <item>159</item>
+ <item>164</item>
+ <item>169.4</item>
+ <item>174</item>
+ <item>175.6</item>
+ <item>177.2</item>
+ <item>178.8</item>
+ <item>180.3</item>
+ <item>181.9</item>
+ <item>183.5</item>
+ <item>185</item>
+ <item>186.8</item>
+ <item>188.5</item>
+ <item>190.2</item>
+ <item>191.9</item>
+ <item>193.6</item>
+ <item>195.3</item>
+ <item>197</item>
+ <item>198.9</item>
+ <item>200.8</item>
+ <item>202.6</item>
+ <item>204.5</item>
+ <item>206.3</item>
+ <item>208.2</item>
+ <item>210</item>
+ <item>211.7</item>
+ <item>213.3</item>
+ <item>214.9</item>
+ <item>216.5</item>
+ <item>218.2</item>
+ <item>219.8</item>
+ <item>221.4</item>
+ <item>223</item>
+ <item>224.8</item>
+ <item>226.5</item>
+ <item>228.3</item>
+ <item>230</item>
+ <item>231.8</item>
+ <item>233.5</item>
+ <item>235.3</item>
+ <item>237</item>
+ <item>238.8</item>
+ <item>240.6</item>
+ <item>242.4</item>
+ <item>244.2</item>
+ <item>245.9</item>
+ <item>247.7</item>
+ <item>249.5</item>
+ <item>251.3</item>
+ <item>253</item>
+ <item>254.8</item>
+ <item>256.6</item>
+ <item>258.4</item>
+ <item>260.2</item>
+ <item>261.9</item>
+ <item>263.7</item>
+ <item>265.5</item>
+ <item>267.3</item>
+ <item>269</item>
+ <item>270.7</item>
+ <item>272.4</item>
+ <item>274.1</item>
+ <item>275.8</item>
+ <item>277.5</item>
+ <item>279.2</item>
+ <item>280.9</item>
+ <item>282.6</item>
+ <item>284.3</item>
+ <item>286</item>
+ <item>287.9</item>
+ <item>289.8</item>
+ <item>291.7</item>
+ <item>293.5</item>
+ <item>295.4</item>
+ <item>297.3</item>
+ <item>299.2</item>
+ <item>301</item>
+ <item>302.8</item>
+ <item>304.6</item>
+ <item>306.4</item>
+ <item>308.2</item>
+ <item>309.9</item>
+ <item>311.7</item>
+ <item>313.5</item>
+ <item>315.3</item>
+ <item>317</item>
+ <item>318.8</item>
+ <item>320.6</item>
+ <item>322.4</item>
+ <item>324.2</item>
+ <item>325.9</item>
+ <item>327.7</item>
+ <item>329.5</item>
+ <item>331.3</item>
+ <item>333</item>
+ <item>334.8</item>
+ <item>336.5</item>
+ <item>338.3</item>
+ <item>340</item>
+ <item>341.8</item>
+ <item>343.5</item>
+ <item>345.3</item>
+ <item>347</item>
+ <item>349.4</item>
+ <item>351.7</item>
+ <item>354</item>
+ <item>356</item>
+ <item>358</item>
+ <item>360</item>
+ <item>362</item>
+ <item>363.8</item>
+ <item>365.5</item>
+ <item>367.3</item>
+ <item>369</item>
+ <item>370.8</item>
+ <item>372.5</item>
+ <item>374.3</item>
+ <item>376</item>
+ <item>378</item>
+ <item>380</item>
+ <item>382</item>
+ <item>384</item>
+ <item>386</item>
+ <item>388</item>
+ <item>390</item>
+ <item>392</item>
+ <item>394</item>
+ <item>396</item>
+ <item>398</item>
+ <item>399</item>
+ <item>400</item>
+ <item>450</item>
+ <item>475</item>
+ <item>500</item>
+ <item>525</item>
+ <item>550</item>
+ <item>575</item>
+ <item>600</item>
+ <item>625</item>
+ <item>650</item>
+ <item>675</item>
+ <item>700</item>
+ </array>
+
+ <!-- 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">57</integer>
+
+ <!-- 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 translatable="false" name="config_mainBuiltInDisplayCutout">M 0,0 H -93.14285714285714 V 40.57142857142857 H 0 V 0 Z @dp @right</string>
+</resources>
diff --git a/overlay/frameworks/base/core/res/res/values/dimens.xml b/overlay/frameworks/base/core/res/res/values/dimens.xml
new file mode 100644
index 0000000..c6074a4
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/values/dimens.xml
@@ -0,0 +1,23 @@
+<?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 in portrait -->
+ <dimen name="status_bar_height_portrait">7mm</dimen>
+</resources>
diff --git a/overlay/frameworks/base/core/res/res/xml/power_profile.xml b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
new file mode 100644
index 0000000..91ac449
--- /dev/null
+++ b/overlay/frameworks/base/core/res/res/xml/power_profile.xml
@@ -0,0 +1,218 @@
+<?xml version="1.0" encoding="utf-8"?>
+<device name="Android">
+ <item name="none">0</item>
+ <item name="ambient.on">21</item>
+ <item name="screen.on">72</item>
+ <item name="screen.full">339</item>
+ <item name="audio">35</item>
+ <item name="video">176</item>
+ <item name="camera.flashlight">107</item>
+ <item name="camera.avg">417</item>
+ <item name="gps.on">31</item>
+ <item name="radio.active">171</item>
+ <item name="radio.scanning">114</item>
+ <array name="radio.on">
+ <value>7.7</value>
+ <value>7.7</value>
+ </array>
+ <item name="modem.controller.idle">0</item>
+ <item name="modem.controller.rx">0</item>
+ <item name="modem.controller.tx">0</item>
+ <item name="modem.controller.voltage">0</item>
+ <array name="cpu.clusters.cores">
+ <value>4</value>
+ <value>2</value>
+ <value>2</value>
+ </array>
+ <array name="cpu.core_speeds.cluster0">
+ <value>1950000</value>
+ <value>1846000</value>
+ <value>1742000</value>
+ <value>1586000</value>
+ <value>1456000</value>
+ <value>1300000</value>
+ <value>1157000</value>
+ <value>1053000</value>
+ <value>949000</value>
+ <value>806000</value>
+ <value>650000</value>
+ <value>546000</value>
+ <value>442000</value>
+ </array>
+ <array name="cpu.core_power.cluster0">
+ <value>109</value>
+ <value>99</value>
+ <value>90</value>
+ <value>71</value>
+ <value>62</value>
+ <value>57</value>
+ <value>49</value>
+ <value>46</value>
+ <value>43</value>
+ <value>39</value>
+ <value>35</value>
+ <value>34</value>
+ <value>32</value>
+ </array>
+ <array name="cpu.core_speeds.cluster1">
+ <value>2314000</value>
+ <value>2210000</value>
+ <value>2106000</value>
+ <value>2002000</value>
+ <value>1898000</value>
+ <value>1794000</value>
+ <value>1690000</value>
+ <value>1586000</value>
+ <value>1508000</value>
+ <value>1404000</value>
+ <value>1222000</value>
+ <value>1066000</value>
+ <value>962000</value>
+ <value>845000</value>
+ <value>754000</value>
+ <value>650000</value>
+ <value>507000</value>
+ </array>
+ <array name="cpu.core_power.cluster1">
+ <value>382</value>
+ <value>285</value>
+ <value>250</value>
+ <value>223</value>
+ <value>199</value>
+ <value>178</value>
+ <value>156</value>
+ <value>139</value>
+ <value>130</value>
+ <value>117</value>
+ <value>100</value>
+ <value>86</value>
+ <value>77</value>
+ <value>70</value>
+ <value>64</value>
+ <value>57</value>
+ <value>51</value>
+ </array>
+ <array name="cpu.core_speeds.cluster2">
+ <value>2730000</value>
+ <value>2600000</value>
+ <value>2530000</value>
+ <value>2470000</value>
+ <value>2340000</value>
+ <value>2236000</value>
+ <value>2080000</value>
+ <value>1976000</value>
+ <value>1820000</value>
+ <value>1664000</value>
+ <value>1560000</value>
+ <value>1456000</value>
+ <value>1378000</value>
+ <value>1248000</value>
+ <value>1144000</value>
+ <value>1040000</value>
+ <value>936000</value>
+ <value>819000</value>
+ <value>728000</value>
+ <value>624000</value>
+ <value>520000</value>
+ </array>
+ <array name="cpu.core_power.cluster2">
+ <value>1301</value>
+ <value>1208</value>
+ <value>1028</value>
+ <value>837</value>
+ <value>679</value>
+ <value>610</value>
+ <value>485</value>
+ <value>425</value>
+ <value>353</value>
+ <value>307</value>
+ <value>270</value>
+ <value>241</value>
+ <value>224</value>
+ <value>193</value>
+ <value>178</value>
+ <value>153</value>
+ <value>133</value>
+ <value>115</value>
+ <value>105</value>
+ <value>94</value>
+ <value>83</value>
+ </array>
+ <item name="cpu.suspend">4.99</item>
+ <item name="cpu.idle">20</item>
+ <item name="battery.capacity">4000</item>
+ <item name="battery.typical.capacity">4100</item>
+ <item name="wifi.controller.idle">1</item>
+ <item name="wifi.controller.rx">65</item>
+ <item name="wifi.controller.tx">265</item>
+ <array name="wifi.controller.tx_levels">
+ <value>0</value>
+ </array>
+ <item name="wifi.controller.voltage">3600</item>
+ <array name="wifi.batchedscan">
+ <value>.0002</value>
+ <value>.002</value>
+ <value>.02</value>
+ <value>.2</value>
+ <value>2</value>
+ </array>
+ <item name="bluetooth.controller.idle">0</item>
+ <item name="bluetooth.controller.rx">10</item>
+ <item name="bluetooth.controller.tx">10</item>
+ <array name="gpu.active">
+ <value>78</value>
+ <value>105</value>
+ <value>128</value>
+ <value>160</value>
+ <value>230</value>
+ <value>266</value>
+ <value>389</value>
+ <value>458</value>
+ <value>516</value>
+ </array>
+ <array name="gpu.speeds">
+ <value>156000</value>
+ <value>200000</value>
+ <value>260000</value>
+ <value>325000</value>
+ <value>377000</value>
+ <value>433000</value>
+ <value>572000</value>
+ <value>650000</value>
+ <value>702000</value>
+ </array>
+ <array name="speaker.media">
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ </array>
+ <array name="speaker.call">
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ <value>0</value>
+ </array>
+</device>
\ No newline at end of file
diff --git a/overlay/frameworks/base/packages/SystemUI/res-keyguard/values-port/lineage_dimens.xml b/overlay/frameworks/base/packages/SystemUI/res-keyguard/values-port/lineage_dimens.xml
new file mode 100644
index 0000000..694341b
--- /dev/null
+++ b/overlay/frameworks/base/packages/SystemUI/res-keyguard/values-port/lineage_dimens.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+ Copyright (C) 2020 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>
+ <!-- The minimum bottom margin of the keyguard security container -->
+ <dimen name="kg_security_container_min_bottom_margin">560px</dimen>
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values/dimens.xml b/overlay/packages/apps/Settings/res/values/dimens.xml
new file mode 100644
index 0000000..7a851ab
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values/dimens.xml
@@ -0,0 +1,21 @@
+<?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>
+ <!-- Fingerprint -->
+ <item name="fingerprint_sensor_location_fraction_x" type="fraction">50.25%</item>
+ <item name="fingerprint_sensor_location_fraction_y" type="fraction">51.25%</item>
+</resources>
diff --git a/overlay/packages/apps/Settings/res/values/lineage_config.xml b/overlay/packages/apps/Settings/res/values/lineage_config.xml
new file mode 100644
index 0000000..1ce6be6
--- /dev/null
+++ b/overlay/packages/apps/Settings/res/values/lineage_config.xml
@@ -0,0 +1,26 @@
+<?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 xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+
+ <!-- Defines the location of the fingerprint sensor on the device
+ 0 = back
+ 1 = front
+ 2 = left side
+ 3 = right side
+ -->
+ <integer name="config_fingerprintSensorLocation">1</integer>
+</resources>