mirror of
https://github.com/Evolution-X-Devices/device_motorola_rtwo
synced 2026-01-27 18:07:35 +00:00
rtwo: initial conversion from eqs
* includes using prebuilt kernel!
This commit is contained in:
5
resource-overlay/rtwo/Frameworks/Android.bp
Normal file
5
resource-overlay/rtwo/Frameworks/Android.bp
Normal file
@@ -0,0 +1,5 @@
|
||||
runtime_resource_overlay {
|
||||
name: "FrameworksResRtwo",
|
||||
sdk_version: "current",
|
||||
vendor: true
|
||||
}
|
||||
9
resource-overlay/rtwo/Frameworks/AndroidManifest.xml
Normal file
9
resource-overlay/rtwo/Frameworks/AndroidManifest.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="android.overlay.rtwo">
|
||||
<overlay android:targetPackage="android" android:isStatic="true" android:priority="600"/>
|
||||
</manifest>
|
||||
11
resource-overlay/rtwo/Frameworks/res/values-land/dimens.xml
Normal file
11
resource-overlay/rtwo/Frameworks/res/values-land/dimens.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
|
||||
<!-- Height of the status bar in landscape. The height should be
|
||||
Max((status bar content height + waterfall top size), top cutout size) -->
|
||||
<dimen name="status_bar_height">24.0dip</dimen>
|
||||
</resources>
|
||||
284
resource-overlay/rtwo/Frameworks/res/values/config.xml
Normal file
284
resource-overlay/rtwo/Frameworks/res/values/config.xml
Normal file
@@ -0,0 +1,284 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- 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 -->
|
||||
<array name="config_autoBrightnessLevels">
|
||||
<item>2</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>10</item>
|
||||
<item>40</item>
|
||||
<item>100</item>
|
||||
<item>325</item>
|
||||
<item>1250</item>
|
||||
<item>3500</item>
|
||||
<item>5500</item>
|
||||
</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>2</item>
|
||||
<item>7</item>
|
||||
<item>10</item>
|
||||
<item>12</item>
|
||||
<item>24</item>
|
||||
<item>95</item>
|
||||
<item>111</item>
|
||||
<item>149</item>
|
||||
<item>192</item>
|
||||
<item>252</item>
|
||||
<item>500</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. -->
|
||||
<array name="config_screenBrightnessBacklight">
|
||||
<item>0</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
<item>12</item>
|
||||
<item>48</item>
|
||||
<item>57</item>
|
||||
<item>76</item>
|
||||
<item>98</item>
|
||||
<item>129</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>0</item>
|
||||
<item>5</item>
|
||||
<item>7</item>
|
||||
<item>10</item>
|
||||
<item>12</item>
|
||||
<item>24</item>
|
||||
<item>95</item>
|
||||
<item>111</item>
|
||||
<item>149</item>
|
||||
<item>192</item>
|
||||
<item>252</item>
|
||||
<item>500</item>
|
||||
</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">500</integer>
|
||||
<integer name="config_autoBrightnessDarkeningLightDebounce">500</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 -35,0
|
||||
L 35,0
|
||||
L 35,105
|
||||
L -35,105
|
||||
Z
|
||||
</string>
|
||||
|
||||
<!-- Indicate whether to allow the device to suspend when the screen is off
|
||||
due to the proximity sensor. This resource should only be set to true
|
||||
if the sensor HAL correctly handles the proximity sensor as a wake-up source.
|
||||
Otherwise, the device may fail to wake out of suspend reliably.
|
||||
The default is false. -->
|
||||
<bool name="config_suspendWhenScreenOffDueToProximity">true</bool>
|
||||
|
||||
<!-- Power Management: Specifies whether to decouple the auto-suspend state of the
|
||||
device from the display on/off state.
|
||||
|
||||
When false, autosuspend_disable() will be called before the display is turned on
|
||||
and autosuspend_enable() will be called after the display is turned off.
|
||||
This mode provides best compatibility for devices using legacy power management
|
||||
features such as early suspend / late resume.
|
||||
|
||||
When true, autosuspend_display() and autosuspend_enable() will be called
|
||||
independently of whether the display is being turned on or off. This mode
|
||||
enables the power manager to suspend the application processor while the
|
||||
display is on.
|
||||
|
||||
This resource should be set to "true" when a doze component has been specified
|
||||
to maximize power savings but not all devices support it.
|
||||
|
||||
Refer to autosuspend.h for details.
|
||||
-->
|
||||
<bool name="config_powerDecoupleAutoSuspendModeFromDisplay">true</bool>
|
||||
|
||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||
and Strength as defined in Authenticators.java -->
|
||||
<array name="config_biometric_sensors" translatable="false" >
|
||||
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||
</array>
|
||||
|
||||
<!-- Power Management: Specifies whether to decouple the interactive state of the
|
||||
device from the display on/off state.
|
||||
|
||||
When false, setInteractive(..., true) will be called before the display is turned on
|
||||
and setInteractive(..., false) will be called after the display is turned off.
|
||||
This mode provides best compatibility for devices that expect the interactive
|
||||
state to be tied to the display state.
|
||||
|
||||
When true, setInteractive(...) will be called independently of whether the display
|
||||
is being turned on or off. This mode enables the power manager to reduce
|
||||
clocks and disable the touch controller while the display is on.
|
||||
|
||||
This resource should be set to "true" when a doze component has been specified
|
||||
to maximize power savings but not all devices support it.
|
||||
|
||||
Refer to power.h for details.
|
||||
-->
|
||||
<bool name="config_powerDecoupleInteractiveModeFromDisplay">true</bool>
|
||||
|
||||
<!-- The properties of a UDFPS sensor in pixels, in the order listed below: -->
|
||||
<array name="config_udfps_sensor_props" translatable="false" >
|
||||
<item>540</item> <!-- sensorLocationX -->
|
||||
<item>2164</item> <!-- sensorLocationY -->
|
||||
<item>91</item> <!-- sensorRadius -->
|
||||
</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">2</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">1</integer>
|
||||
|
||||
<!-- ComponentName of a dream to show whenever the system would otherwise have
|
||||
gone to sleep. When the PowerManager is asked to go to sleep, it will instead
|
||||
try to start this dream if possible. The dream should typically call startDozing()
|
||||
to put the display into a low power state and allow the application processor
|
||||
to be suspended. When the dream ends, the system will go to sleep as usual.
|
||||
Specify the component name or an empty string if none.
|
||||
Note that doze dreams are not subject to the same start conditions as ordinary dreams.
|
||||
Doze dreams will run whenever the power manager is in a dozing state. -->
|
||||
<string name="config_dozeComponent">com.android.systemui/com.android.systemui.doze.DozeService</string>
|
||||
|
||||
<!-- If true, the doze component is not started until after the screen has been
|
||||
turned off and the screen off animation has been performed. -->
|
||||
<bool name="config_dozeAfterScreenOffByDefault">true</bool>
|
||||
|
||||
<!-- Whether the always on display mode is available. This should only be enabled
|
||||
on devices where the display has been tuned to be power efficient in DOZE and/or
|
||||
DOZE_SUSPEND states. -->
|
||||
<bool name="config_dozeAlwaysOnDisplayAvailable">true</bool>
|
||||
|
||||
<!-- Control whether the always on display mode is enabled by default. This value will be used
|
||||
during initialization when the setting is still null. -->
|
||||
<bool name="config_dozeAlwaysOnEnabled">false</bool>
|
||||
|
||||
<!-- The default refresh rate for a given device. Change this value to set a higher default
|
||||
refresh rate. If the hardware composer on the device supports display modes with a higher
|
||||
refresh rate than the default value specified here, the framework may use those higher
|
||||
refresh rate modes if an app chooses one by setting preferredDisplayModeId or calling
|
||||
setFrameRate().
|
||||
If a non-zero value is set for config_defaultPeakRefreshRate, then
|
||||
config_defaultRefreshRate may be set to 0, in which case the value set for
|
||||
config_defaultPeakRefreshRate will act as the default frame rate. -->
|
||||
<integer name="config_defaultRefreshRate">0</integer>
|
||||
|
||||
<!-- The default peak refresh rate for a given device. Change this value if you want to prevent
|
||||
the framework from using higher refresh rates, even if display modes with higher refresh
|
||||
rates are available from hardware composer. Only has an effect if the value is
|
||||
non-zero. -->
|
||||
<integer name="config_defaultPeakRefreshRate">60</integer>
|
||||
|
||||
<!-- Not allow to switch to higher refresh rate when (display, ambient) brightness falls into
|
||||
the region defined by the two arrays -->
|
||||
<array name="config_brightnessThresholdsOfPeakRefreshRate">
|
||||
<item>50</item>
|
||||
</array>
|
||||
<array name="config_ambientThresholdsOfPeakRefreshRate">
|
||||
<item>-1</item>
|
||||
</array>
|
||||
|
||||
<!-- MMS user agent string -->
|
||||
<string name="config_mms_user_agent" translatable="false">motorolaedge30ultra</string>
|
||||
<!-- MMS user agent profile url -->
|
||||
<string name="config_mms_user_agent_profile_url" translatable="false">http://uaprof.motorola.com/phoneconfig/motov1/Profile/motov1.rdf</string>
|
||||
|
||||
<!-- List supported color modes. -->
|
||||
<array name="config_availableColorModes">
|
||||
<item>0</item> <!-- COLOR_MODE_NATURAL --> <!-- This uses colorimetric render intents-->
|
||||
<item>1</item> <!-- COLOR_MODE_BOOSTED --> <!-- This applies a 10% boost using the PCC-->
|
||||
<item>2</item> <!-- COLOR_MODE_SATURATED -->
|
||||
<item>3</item> <!-- COLOR_MODE_AUTOMATIC --> <!-- This uses enhanced render intents-->
|
||||
</array>
|
||||
|
||||
<!-- How long it takes for the HW to start illuminating after the illumination is requested. -->
|
||||
<integer name="config_udfps_illumination_transition_ms">0</integer>
|
||||
|
||||
<!-- Type of the double tap sensor. Empty if double tap is not supported. -->
|
||||
<string name="config_dozeDoubleTapSensorType" translatable="false">org.lineageos.sensor.double_tap</string>
|
||||
|
||||
<!-- Type of the udfps long press sensor. Empty if long press is not supported. -->
|
||||
<string name="config_dozeUdfpsLongPressSensorType" translatable="false">org.lineageos.sensor.udfps</string>
|
||||
</resources>
|
||||
18
resource-overlay/rtwo/Frameworks/res/values/dimens.xml
Normal file
18
resource-overlay/rtwo/Frameworks/res/values/dimens.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Radius of the software rounded corners. -->
|
||||
<dimen name="rounded_corner_radius">75.0px</dimen>
|
||||
<dimen name="rounded_corner_radius_bottom">75.0px</dimen>
|
||||
<dimen name="rounded_corner_radius_top">75.0px</dimen>
|
||||
|
||||
<!-- Height of the status bar in portrait. The height should be
|
||||
Max((status bar content height + waterfall top size), top cutout size) -->
|
||||
<dimen name="status_bar_height_portrait">90.0px</dimen>
|
||||
<dimen name="status_bar_height_landscape">24.0dip</dimen>
|
||||
|
||||
<dimen name="status_bar_padding_top_portrait">10.0px</dimen>
|
||||
</resources>
|
||||
156
resource-overlay/rtwo/Frameworks/res/xml/power_profile.xml
Normal file
156
resource-overlay/rtwo/Frameworks/res/xml/power_profile.xml
Normal file
@@ -0,0 +1,156 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<device name="Android">
|
||||
<item name="none">0</item>
|
||||
<item name="screen.on">107.3</item>
|
||||
<item name="screen.full">67.68</item>
|
||||
<item name="wifi.on">2.05</item>
|
||||
<item name="wifi.active">82.23</item>
|
||||
<item name="wifi.scan">18.95</item>
|
||||
<item name="camera.avg">879.99</item>
|
||||
<item name="camera.flashlight">304.34</item>
|
||||
<item name="gps.on">8.65</item>
|
||||
<item name="radio.active">97.64</item>
|
||||
<item name="radio.scanning">63.7</item>
|
||||
<array name="radio.on">
|
||||
<value>33.079</value>
|
||||
<value>30</value>
|
||||
<value>25</value>
|
||||
<value>20</value>
|
||||
<value>15</value>
|
||||
<value>10</value>
|
||||
<value>5</value>
|
||||
<value>4.3</value>
|
||||
</array>
|
||||
<array name="cpu.clusters.cores">
|
||||
<value>4</value>
|
||||
<value>3</value>
|
||||
<value>1</value>
|
||||
</array>
|
||||
<array name="cpu.core_speeds.cluster0">
|
||||
<value>307200</value>
|
||||
<value>441600</value>
|
||||
<value>556800</value>
|
||||
<value>691200</value>
|
||||
<value>806400</value>
|
||||
<value>940800</value>
|
||||
<value>1056000</value>
|
||||
<value>1132800</value>
|
||||
<value>1228800</value>
|
||||
<value>1324800</value>
|
||||
<value>1440000</value>
|
||||
<value>1555200</value>
|
||||
<value>1670400</value>
|
||||
<value>1804800</value>
|
||||
</array>
|
||||
<array name="cpu.core_speeds.cluster1">
|
||||
<value>633600</value>
|
||||
<value>768000</value>
|
||||
<value>833200</value>
|
||||
<value>998400</value>
|
||||
<value>1113600</value>
|
||||
<value>1209600</value>
|
||||
<value>1324800</value>
|
||||
<value>1440000</value>
|
||||
<value>1555200</value>
|
||||
<value>1651200</value>
|
||||
<value>1766400</value>
|
||||
<value>1881600</value>
|
||||
<value>1996800</value>
|
||||
<value>2112000</value>
|
||||
<value>2227200</value>
|
||||
<value>2342400</value>
|
||||
<value>2457600</value>
|
||||
<value>2572800</value>
|
||||
<value>2649600</value>
|
||||
<value>2745600</value>
|
||||
</array>
|
||||
<array name="cpu.core_speeds.cluster2">
|
||||
<value>787200</value>
|
||||
<value>921600</value>
|
||||
<value>1036800</value>
|
||||
<value>1171200</value>
|
||||
<value>1286400</value>
|
||||
<value>1401600</value>
|
||||
<value>1536000</value>
|
||||
<value>1651200</value>
|
||||
<value>1766400</value>
|
||||
<value>1881600</value>
|
||||
<value>1996800</value>
|
||||
<value>2131200</value>
|
||||
<value>2246400</value>
|
||||
<value>2361600</value>
|
||||
<value>2476800</value>
|
||||
<value>2592000</value>
|
||||
<value>2707200</value>
|
||||
<value>2822400</value>
|
||||
<value>2918400</value>
|
||||
<value>2995200</value>
|
||||
</array>
|
||||
<array name="cpu.core_power.cluster0">
|
||||
<value>11</value>
|
||||
<value>11</value>
|
||||
<value>9</value>
|
||||
<value>10</value>
|
||||
<value>9</value>
|
||||
<value>10</value>
|
||||
<value>10</value>
|
||||
<value>10</value>
|
||||
<value>12</value>
|
||||
<value>12</value>
|
||||
<value>19</value>
|
||||
<value>25</value>
|
||||
<value>30</value>
|
||||
<value>40</value>
|
||||
</array>
|
||||
<array name="cpu.core_power.cluster1">
|
||||
<value>23</value>
|
||||
<value>29</value>
|
||||
<value>35</value>
|
||||
<value>42</value>
|
||||
<value>47</value>
|
||||
<value>54</value>
|
||||
<value>63</value>
|
||||
<value>83</value>
|
||||
<value>93</value>
|
||||
<value>90</value>
|
||||
<value>104</value>
|
||||
<value>116</value>
|
||||
<value>134</value>
|
||||
<value>149</value>
|
||||
<value>166</value>
|
||||
<value>186</value>
|
||||
<value>202</value>
|
||||
<value>221</value>
|
||||
<value>237</value>
|
||||
<value>257</value>
|
||||
</array>
|
||||
<array name="cpu.core_power.cluster2">
|
||||
<value>45</value>
|
||||
<value>58</value>
|
||||
<value>68</value>
|
||||
<value>83</value>
|
||||
<value>97</value>
|
||||
<value>107</value>
|
||||
<value>129</value>
|
||||
<value>149</value>
|
||||
<value>171</value>
|
||||
<value>195</value>
|
||||
<value>225</value>
|
||||
<value>261</value>
|
||||
<value>289</value>
|
||||
<value>319</value>
|
||||
<value>348</value>
|
||||
<value>356</value>
|
||||
<value>429</value>
|
||||
<value>460</value>
|
||||
<value>536</value>
|
||||
<value>577</value>
|
||||
</array>
|
||||
<item name="cpu.cluster_power.cluster0">8</item>
|
||||
<item name="cpu.cluster_power.cluster1">5</item>
|
||||
<item name="cpu.cluster_power.cluster2">7</item>
|
||||
<item name="cpu.suspend">6.5</item>
|
||||
<item name="cpu.idle">15.7</item>
|
||||
<item name="cpu.active">6.9</item>
|
||||
<item name="battery.capacity">4610</item>
|
||||
</device>
|
||||
9
resource-overlay/rtwo/LineageSystemUI/Android.bp
Normal file
9
resource-overlay/rtwo/LineageSystemUI/Android.bp
Normal file
@@ -0,0 +1,9 @@
|
||||
//
|
||||
// Copyright (C) 2022 The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
runtime_resource_overlay {
|
||||
name: "LineageSystemUIRtwo",
|
||||
vendor: true,
|
||||
}
|
||||
13
resource-overlay/rtwo/LineageSystemUI/AndroidManifest.xml
Normal file
13
resource-overlay/rtwo/LineageSystemUI/AndroidManifest.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.systemui.rtwo.lineage">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="800"
|
||||
android:targetPackage="com.android.systemui" />
|
||||
</manifest>
|
||||
40
resource-overlay/rtwo/LineageSystemUI/res/values/config.xml
Normal file
40
resource-overlay/rtwo/LineageSystemUI/res/values/config.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Hardware keys present on the device, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareKeys">64</integer>
|
||||
|
||||
<!-- Hardware keys present on the device with the ability to wake, stored as a bit field.
|
||||
This integer should equal the sum of the corresponding value for each
|
||||
of the following keys present:
|
||||
1 - Home
|
||||
2 - Back
|
||||
4 - Menu
|
||||
8 - Assistant (search)
|
||||
16 - App switch
|
||||
32 - Camera
|
||||
64 - Volume rocker
|
||||
For example, a device with Home, Back and Menu keys would set this
|
||||
config to 7. -->
|
||||
<integer name="config_deviceHardwareWakeKeys">64</integer>
|
||||
|
||||
<!-- Color of the UDFPS pressed view -->
|
||||
<color name="config_udfpsColor">#ffffff</color>
|
||||
|
||||
<!-- Doze: does the double tap sensor need a proximity check? -->
|
||||
<bool name="doze_double_tap_proximity_check">true</bool>
|
||||
</resources>
|
||||
5
resource-overlay/rtwo/SettingsProvider/Android.bp
Normal file
5
resource-overlay/rtwo/SettingsProvider/Android.bp
Normal file
@@ -0,0 +1,5 @@
|
||||
runtime_resource_overlay {
|
||||
name: "SettingsProviderResRtwo",
|
||||
sdk_version: "current",
|
||||
vendor: true
|
||||
}
|
||||
10
resource-overlay/rtwo/SettingsProvider/AndroidManifest.xml
Normal file
10
resource-overlay/rtwo/SettingsProvider/AndroidManifest.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
coreApp="true"
|
||||
package="com.android.providers.settings.overlay.rtwo">
|
||||
<overlay android:targetPackage="com.android.providers.settings" android:isStatic="true" />
|
||||
</manifest>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- Default for Settings.Global.DEVICE_NAME $1=MODEL-->
|
||||
<string name="def_device_name_simple">motorola edge 30 ultra</string>
|
||||
</resources>
|
||||
5
resource-overlay/rtwo/SystemUI/Android.bp
Normal file
5
resource-overlay/rtwo/SystemUI/Android.bp
Normal file
@@ -0,0 +1,5 @@
|
||||
runtime_resource_overlay {
|
||||
name: "SystemUIResRtwo",
|
||||
sdk_version: "current",
|
||||
vendor: true
|
||||
}
|
||||
10
resource-overlay/rtwo/SystemUI/AndroidManifest.xml
Normal file
10
resource-overlay/rtwo/SystemUI/AndroidManifest.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
coreApp="true"
|
||||
package="com.android.systemui.overlay.rtwo">
|
||||
<overlay android:targetPackage="com.android.systemui" android:isStatic="true" />
|
||||
</manifest>
|
||||
12
resource-overlay/rtwo/SystemUI/res/values-land/dimens.xml
Normal file
12
resource-overlay/rtwo/SystemUI/res/values-land/dimens.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- the padding on the start of the statusbar -->
|
||||
<dimen name="status_bar_padding_start">8dp</dimen>
|
||||
|
||||
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||
<dimen name="status_bar_padding_top">0dp</dimen>
|
||||
</resources>
|
||||
9
resource-overlay/rtwo/SystemUI/res/values/config.xml
Normal file
9
resource-overlay/rtwo/SystemUI/res/values/config.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- The radius of the enrollment progress bar, in DP. -->
|
||||
<integer name="config_udfpsEnrollProgressBar">65</integer>
|
||||
</resources>
|
||||
28
resource-overlay/rtwo/SystemUI/res/values/dimens.xml
Normal file
28
resource-overlay/rtwo/SystemUI/res/values/dimens.xml
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<!-- the padding on the start of the statusbar -->
|
||||
<dimen name="status_bar_padding_start">8.0dip</dimen>
|
||||
|
||||
<!-- Height of the status bar header bar when on Keyguard -->
|
||||
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height</dimen>
|
||||
|
||||
<!-- Margin on the left side of the carrier text on Keyguard -->
|
||||
<dimen name="keyguard_carrier_text_margin">16.0dip</dimen>
|
||||
|
||||
<!-- Margin on the right side of the system icon group on Keyguard. -->
|
||||
<dimen name="system_icons_keyguard_padding_end">10.0px</dimen>
|
||||
|
||||
<!-- Bottom margin size when fingerprint in display is active -->
|
||||
<dimen name="keyguard_indication_margin_bottom">16.0dip</dimen>
|
||||
|
||||
<!-- Location on the screen of the center of the physical power button. -->
|
||||
<dimen name="physical_power_button_center_screen_location_y">920.0px</dimen>
|
||||
|
||||
<!-- Location on the screen of the center of the physical volume up/down buttons. -->
|
||||
<dimen name="physical_volume_up_button_center_screen_location_y">550.0px</dimen>
|
||||
<dimen name="physical_volume_down_button_center_screen_location_y">690.0px</dimen>
|
||||
</resources>
|
||||
8
resource-overlay/rtwo/SystemUI/res/values/integers.xml
Normal file
8
resource-overlay/rtwo/SystemUI/res/values/integers.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2022 The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources>
|
||||
<integer name="config_showUsbPortAlarm">1</integer>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user