parent
7b12d2d0e7
commit
5cf6ccd42a
@ -31,6 +31,11 @@ PRODUCT_SHIPPING_API_LEVEL := 30
|
|||||||
# Inherit from motorola sm8250-common
|
# Inherit from motorola sm8250-common
|
||||||
$(call inherit-product, device/motorola/sm8250-common/sm8250.mk)
|
$(call inherit-product, device/motorola/sm8250-common/sm8250.mk)
|
||||||
|
|
||||||
|
# Overlay
|
||||||
|
PRODUCT_PACKAGES += \
|
||||||
|
FrameworksResPstar \
|
||||||
|
SystemUIResPstar
|
||||||
|
|
||||||
# Audio
|
# Audio
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
|
||||||
|
1
resource-overlay/Android.mk
Normal file
1
resource-overlay/Android.mk
Normal file
@ -0,0 +1 @@
|
|||||||
|
include $(call all-subdir-makefiles)
|
5
resource-overlay/pstar/Frameworks/Android.bp
Normal file
5
resource-overlay/pstar/Frameworks/Android.bp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
runtime_resource_overlay {
|
||||||
|
name: "FrameworksResPstar",
|
||||||
|
sdk_version: "current",
|
||||||
|
vendor: true
|
||||||
|
}
|
9
resource-overlay/pstar/Frameworks/AndroidManifest.xml
Normal file
9
resource-overlay/pstar/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.pstar">
|
||||||
|
<overlay android:targetPackage="android" android:isStatic="true" android:priority="600"/>
|
||||||
|
</manifest>
|
230
resource-overlay/pstar/Frameworks/res/values/config.xml
Normal file
230
resource-overlay/pstar/Frameworks/res/values/config.xml
Normal file
@ -0,0 +1,230 @@
|
|||||||
|
<?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 -->
|
||||||
|
<integer-array name="config_autoBrightnessLevels">
|
||||||
|
<item>5</item>
|
||||||
|
<item>10</item>
|
||||||
|
<item>40</item>
|
||||||
|
<item>100</item>
|
||||||
|
<item>325</item>
|
||||||
|
<item>1250</item>
|
||||||
|
<item>3500</item>
|
||||||
|
<item>5500</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>5</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. -->
|
||||||
|
<integer-array name="config_screenBrightnessBacklight">
|
||||||
|
<item>0</item>
|
||||||
|
<item>4</item>
|
||||||
|
<item>7</item>
|
||||||
|
<item>13</item>
|
||||||
|
<item>51</item>
|
||||||
|
<item>59</item>
|
||||||
|
<item>82</item>
|
||||||
|
<item>102</item>
|
||||||
|
<item>138</item>
|
||||||
|
<item>255</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>0</item>
|
||||||
|
<item>5</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>
|
||||||
|
|
||||||
|
<!-- 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,90 L -35,90 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>
|
||||||
|
|
||||||
|
<!-- Whether device supports double tap to wake -->
|
||||||
|
<bool name="config_supportDoubleTapWake">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>
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
|
||||||
|
<!-- 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 -->
|
||||||
|
<string-array name="config_biometric_sensors" translatable="false" >
|
||||||
|
<item>0:2:15</item> <!-- ID0:Fingerprint:Strong -->
|
||||||
|
</string-array>
|
||||||
|
|
||||||
|
<!-- Is the notification LED intrusive? Used to decide if there should be a disable option -->
|
||||||
|
<bool name="config_intrusiveNotificationLed">true</bool>
|
||||||
|
|
||||||
|
<!-- 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">4</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">2</integer>
|
||||||
|
|
||||||
|
<!-- Vibrator pattern for feedback about a long screen/key press -->
|
||||||
|
<integer-array name="config_longPressVibePattern">
|
||||||
|
<item>0</item>
|
||||||
|
<item>67</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<!-- Vibrator pattern for feedback about touching a virtual key -->
|
||||||
|
<integer-array name="config_virtualKeyVibePattern">
|
||||||
|
<item>0</item>
|
||||||
|
<item>67</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<!-- Vibrator pattern for a very short but reliable vibration for soft keyboard tap -->
|
||||||
|
<integer-array name="config_keyboardTapVibePattern">
|
||||||
|
<item>0</item>
|
||||||
|
<item>30</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<!-- Vibrator pattern for feedback about booting with safe mode enabled -->
|
||||||
|
<integer-array name="config_safeModeEnabledVibePattern">
|
||||||
|
<item>0</item>
|
||||||
|
<item>0</item>
|
||||||
|
<item>94</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<!-- Vibrator pattern for feedback about hitting a scroll barrier -->
|
||||||
|
<integer-array name="config_scrollBarrierVibePattern">
|
||||||
|
<item>0</item>
|
||||||
|
<item>15</item>
|
||||||
|
<item>30</item>
|
||||||
|
<item>15</item>
|
||||||
|
</integer-array>
|
||||||
|
|
||||||
|
<!-- True if the device supports system navigation keys. -->
|
||||||
|
<bool name="config_supportSystemNavigationKeys">true</bool>
|
||||||
|
|
||||||
|
<!-- Specify if the fingerprint hardware support gestures-->
|
||||||
|
<bool name="config_fingerprintSupportsGestures">true</bool>
|
||||||
|
</resources>
|
15
resource-overlay/pstar/Frameworks/res/values/dimens.xml
Normal file
15
resource-overlay/pstar/Frameworks/res/values/dimens.xml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?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 portrait. The height should be
|
||||||
|
Max((status bar content height + waterfall top size), top cutout size) -->
|
||||||
|
<dimen name="status_bar_height_portrait">90px</dimen>
|
||||||
|
<!-- 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_landscape">24dp</dimen>
|
||||||
|
<!-- Height of area above QQS where battery/time go -->
|
||||||
|
<dimen name="quick_qs_offset_height">@dimen/status_bar_height_portrait</dimen>
|
||||||
|
</resources>
|
162
resource-overlay/pstar/Frameworks/res/xml/power_profile.xml
Normal file
162
resource-overlay/pstar/Frameworks/res/xml/power_profile.xml
Normal file
@ -0,0 +1,162 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<device name="Android">
|
||||||
|
<item name="screen.on">130</item>
|
||||||
|
<item name="screen.full">400</item>
|
||||||
|
<item name="wifi.on">1.2</item>
|
||||||
|
<item name="wifi.active">68</item>
|
||||||
|
<item name="wifi.scan">75.7</item>
|
||||||
|
<item name="audio">24.9</item>
|
||||||
|
<item name="video">123.6</item>
|
||||||
|
<item name="camera.flashlight">187</item>
|
||||||
|
<item name="camera.avg">662.3</item>
|
||||||
|
<item name="gps.on">47.4</item>
|
||||||
|
<item name="radio.active">237.8</item>
|
||||||
|
<item name="radio.scanning">45</item>
|
||||||
|
<array name="radio.on">
|
||||||
|
<value>38.8</value>
|
||||||
|
<value>35</value>
|
||||||
|
<value>30</value>
|
||||||
|
<value>25</value>
|
||||||
|
<value>20</value>
|
||||||
|
<value>15</value>
|
||||||
|
<value>10</value>
|
||||||
|
<value>8</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.clusters.cores">
|
||||||
|
<value>4</value>
|
||||||
|
<value>3</value>
|
||||||
|
<value>1</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.speeds.cluster0">
|
||||||
|
<value>300000</value>
|
||||||
|
<value>403200</value>
|
||||||
|
<value>518400</value>
|
||||||
|
<value>614400</value>
|
||||||
|
<value>691200</value>
|
||||||
|
<value>787200</value>
|
||||||
|
<value>883200</value>
|
||||||
|
<value>979200</value>
|
||||||
|
<value>1075200</value>
|
||||||
|
<value>1171200</value>
|
||||||
|
<value>1248000</value>
|
||||||
|
<value>1344000</value>
|
||||||
|
<value>1420800</value>
|
||||||
|
<value>1516800</value>
|
||||||
|
<value>1612800</value>
|
||||||
|
<value>1708800</value>
|
||||||
|
<value>1804800</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.active.cluster0">
|
||||||
|
<value>17.398</value>
|
||||||
|
<value>17.709</value>
|
||||||
|
<value>18.098</value>
|
||||||
|
<value>18.380</value>
|
||||||
|
<value>18.424</value>
|
||||||
|
<value>18.624</value>
|
||||||
|
<value>18.641</value>
|
||||||
|
<value>21.351</value>
|
||||||
|
<value>21.568</value>
|
||||||
|
<value>21.594</value>
|
||||||
|
<value>21.675</value>
|
||||||
|
<value>22.185</value>
|
||||||
|
<value>22.325</value>
|
||||||
|
<value>22.431</value>
|
||||||
|
<value>22.545</value>
|
||||||
|
<value>24.618</value>
|
||||||
|
<value>25.684</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.speeds.cluster1">
|
||||||
|
<value>710400</value>
|
||||||
|
<value>825600</value>
|
||||||
|
<value>940800</value>
|
||||||
|
<value>1056000</value>
|
||||||
|
<value>1171200</value>
|
||||||
|
<value>1286400</value>
|
||||||
|
<value>1382400</value>
|
||||||
|
<value>1478400</value>
|
||||||
|
<value>1574400</value>
|
||||||
|
<value>1670400</value>
|
||||||
|
<value>1766400</value>
|
||||||
|
<value>1862400</value>
|
||||||
|
<value>1958400</value>
|
||||||
|
<value>2054400</value>
|
||||||
|
<value>2150400</value>
|
||||||
|
<value>2246400</value>
|
||||||
|
<value>2342400</value>
|
||||||
|
<value>2419200</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.active.cluster1">
|
||||||
|
<value>30</value>
|
||||||
|
<value>37</value>
|
||||||
|
<value>45</value>
|
||||||
|
<value>51</value>
|
||||||
|
<value>60</value>
|
||||||
|
<value>68</value>
|
||||||
|
<value>72</value>
|
||||||
|
<value>81</value>
|
||||||
|
<value>94</value>
|
||||||
|
<value>100</value>
|
||||||
|
<value>109</value>
|
||||||
|
<value>133</value>
|
||||||
|
<value>141</value>
|
||||||
|
<value>149</value>
|
||||||
|
<value>163</value>
|
||||||
|
<value>180</value>
|
||||||
|
<value>198</value>
|
||||||
|
<value>209</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.speeds.cluster2">
|
||||||
|
<value>844800</value>
|
||||||
|
<value>960000</value>
|
||||||
|
<value>1075200</value>
|
||||||
|
<value>1190400</value>
|
||||||
|
<value>1305600</value>
|
||||||
|
<value>1401600</value>
|
||||||
|
<value>1516800</value>
|
||||||
|
<value>1632000</value>
|
||||||
|
<value>1747200</value>
|
||||||
|
<value>1862400</value>
|
||||||
|
<value>1977600</value>
|
||||||
|
<value>2073600</value>
|
||||||
|
<value>2169600</value>
|
||||||
|
<value>2265600</value>
|
||||||
|
<value>2361600</value>
|
||||||
|
<value>2457600</value>
|
||||||
|
<value>2553600</value>
|
||||||
|
<value>2649600</value>
|
||||||
|
<value>2745600</value>
|
||||||
|
<value>2841600</value>
|
||||||
|
</array>
|
||||||
|
<array name="cpu.active.cluster2">
|
||||||
|
<value>53</value>
|
||||||
|
<value>61</value>
|
||||||
|
<value>67</value>
|
||||||
|
<value>76</value>
|
||||||
|
<value>88</value>
|
||||||
|
<value>92</value>
|
||||||
|
<value>102</value>
|
||||||
|
<value>116</value>
|
||||||
|
<value>129</value>
|
||||||
|
<value>133</value>
|
||||||
|
<value>168</value>
|
||||||
|
<value>182</value>
|
||||||
|
<value>224</value>
|
||||||
|
<value>233</value>
|
||||||
|
<value>240</value>
|
||||||
|
<value>249</value>
|
||||||
|
<value>272</value>
|
||||||
|
<value>295</value>
|
||||||
|
<value>330</value>
|
||||||
|
<value>366</value>
|
||||||
|
</array>
|
||||||
|
<item name="cpu.idle">11.5</item>
|
||||||
|
<item name="cpu.awake">8.7</item>
|
||||||
|
<array name="memory.bandwidths">
|
||||||
|
<value>20</value>
|
||||||
|
</array>
|
||||||
|
<item name="battery.capacity">5000</item>
|
||||||
|
<item name="modem.controller.idle">5</item>
|
||||||
|
<item name="modem.controller.rx">130</item>
|
||||||
|
<item name="modem.controller.tx">160</item>
|
||||||
|
<item name="modem.controller.voltage">3700</item>
|
||||||
|
</device>
|
5
resource-overlay/pstar/SystemUI/Android.bp
Normal file
5
resource-overlay/pstar/SystemUI/Android.bp
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
runtime_resource_overlay {
|
||||||
|
name: "SystemUIResPstar",
|
||||||
|
sdk_version: "current",
|
||||||
|
vendor: true
|
||||||
|
}
|
10
resource-overlay/pstar/SystemUI/AndroidManifest.xml
Normal file
10
resource-overlay/pstar/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.pstar">
|
||||||
|
<overlay android:targetPackage="com.android.systemui" android:isStatic="true" />
|
||||||
|
</manifest>
|
12
resource-overlay/pstar/SystemUI/res/values-land/dimens.xml
Normal file
12
resource-overlay/pstar/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>
|
22
resource-overlay/pstar/SystemUI/res/values/dimens.xml
Normal file
22
resource-overlay/pstar/SystemUI/res/values/dimens.xml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<!--
|
||||||
|
Copyright (C) 2022 The LineageOS Project
|
||||||
|
SPDX-License-Identifier: Apache-2.0
|
||||||
|
-->
|
||||||
|
<resources>
|
||||||
|
<dimen name="real_rounded_corner_radius">90px</dimen>
|
||||||
|
|
||||||
|
<!-- the padding on the start of the statusbar -->
|
||||||
|
<dimen name="status_bar_padding_start">0dp</dimen>
|
||||||
|
|
||||||
|
<!-- the padding on the top of the statusbar (usually 0) -->
|
||||||
|
<dimen name="status_bar_padding_top">10px</dimen>
|
||||||
|
|
||||||
|
<dimen name="rounded_corner_content_padding">6px</dimen>
|
||||||
|
|
||||||
|
<!-- Height of the status bar header bar when on Keyguard -->
|
||||||
|
<dimen name="status_bar_header_height_keyguard">@*android:dimen/status_bar_height_portrait</dimen>
|
||||||
|
|
||||||
|
<!-- Margin on the left side of the carrier text on Keyguard -->
|
||||||
|
<dimen name="keyguard_carrier_text_margin">@dimen/status_bar_padding_start</dimen>
|
||||||
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user