mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
a20: move a20 files to root
This commit is contained in:
parent
9bc3736454
commit
d1b0e45c17
215 changed files with 0 additions and 8642 deletions
41
overlay/frameworks/base/core/res/res/values/config.xml
Normal file
41
overlay/frameworks/base/core/res/res/values/config.xml
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
<!--
|
||||
/**
|
||||
* 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>
|
||||
<!-- 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.
|
||||
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">M 0,0 H -22.42857142857143 V 30.85714285714286 H 22.42857142857143 V 0 H 0 Z @dp</string>
|
||||
<string translatable="false" name="config_mainBuiltInDisplayCutoutRectApproximation">@*android:string/config_mainBuiltInDisplayCutout</string>
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
<bool name="config_supportDoubleTapWake">true</bool>
|
||||
<bool name="config_enableBurnInProtection">true</bool>
|
||||
</resources>
|
||||
12
overlay/frameworks/base/core/res/res/values/dimens.xml
Normal file
12
overlay/frameworks/base/core/res/res/values/dimens.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<resources>
|
||||
<dimen name="status_bar_height">31.0dip</dimen>
|
||||
<dimen name="status_bar_height_portrait">31.0dip</dimen>
|
||||
<dimen name="status_bar_height_landscape">31.0dip</dimen>
|
||||
<dimen name="quick_qs_offset_height">48.0dip</dimen>
|
||||
<dimen name="rounded_corner_radius">0.0dip</dimen>
|
||||
<dimen name="rounded_corner_radius_adjustment">0.0px</dimen>
|
||||
<dimen name="rounded_corner_radius_bottom">0.0dip</dimen>
|
||||
<dimen name="rounded_corner_radius_bottom_adjustment">0.0px</dimen>
|
||||
<dimen name="rounded_corner_radius_top">29.0dip</dimen>
|
||||
<dimen name="rounded_corner_radius_top_adjustment">29.0px</dimen>
|
||||
</resources>
|
||||
87
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
87
overlay/frameworks/base/core/res/res/xml/power_profile.xml
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
<device name="Android">
|
||||
<item name="none">0</item>
|
||||
<item name="screen.on.display0">93</item>
|
||||
<item name="screen.full.display0">313</item>
|
||||
<item name="bluetooth.active">118</item>
|
||||
<item name="bluetooth.on">0.98</item>
|
||||
<item name="wifi.on">0.43</item>
|
||||
<item name="wifi.active">488</item>
|
||||
<item name="wifi.scan">502</item>
|
||||
<item name="dsp.audio">45</item>
|
||||
<item name="dsp.video">286</item>
|
||||
<item name="camera.flashlight">124</item>
|
||||
<item name="camera.avg">662</item>
|
||||
<item name="gps.on">32</item>
|
||||
<item name="radio.active">164</item>
|
||||
<item name="radio.scanning">115</item>
|
||||
<array name="radio.on">
|
||||
<value>7.3</value>
|
||||
<value>7.3</value>
|
||||
</array>
|
||||
<array name="cpu.clusters.cores">
|
||||
<value>6</value>
|
||||
<value>2</value>
|
||||
</array>
|
||||
<array name="cpu.speeds.cluster0">
|
||||
<value>1586000</value>
|
||||
<value>1482000</value>
|
||||
<value>1352000</value>
|
||||
<value>1248000</value>
|
||||
<value>1144000</value>
|
||||
<value>1014000</value>
|
||||
<value>902000</value>
|
||||
<value>839000</value>
|
||||
<value>757000</value>
|
||||
<value>676000</value>
|
||||
<value>546000</value>
|
||||
<value>449000</value>
|
||||
</array>
|
||||
<array name="cpu.active.cluster0">
|
||||
<value>50</value>
|
||||
<value>43</value>
|
||||
<value>34</value>
|
||||
<value>28</value>
|
||||
<value>24</value>
|
||||
<value>18</value>
|
||||
<value>15</value>
|
||||
<value>13</value>
|
||||
<value>11</value>
|
||||
<value>10</value>
|
||||
<value>7</value>
|
||||
<value>6</value>
|
||||
</array>
|
||||
<array name="cpu.speeds.cluster1">
|
||||
<value>1768000</value>
|
||||
<value>1664000</value>
|
||||
<value>1560000</value>
|
||||
<value>1352000</value>
|
||||
<value>1144000</value>
|
||||
<value>936000</value>
|
||||
</array>
|
||||
<array name="cpu.active.cluster1">
|
||||
<value>162</value>
|
||||
<value>142</value>
|
||||
<value>120</value>
|
||||
<value>87</value>
|
||||
<value>61</value>
|
||||
<value>41</value>
|
||||
</array>
|
||||
<item name="cpu.idle">3.79</item>
|
||||
<item name="cpu.awake">23</item>
|
||||
<item name="battery.capacity">4000</item>
|
||||
<item name="battery.typical.capacity">4000</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>
|
||||
</device>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/**
|
||||
* Copyright (c) 2016, 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>
|
||||
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
|
||||
<string name="def_device_name_simple">Samsung Galaxy A20</string>
|
||||
</resources>
|
||||
Loading…
Reference in a new issue