| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | SPDX-FileCopyrightText: The LineageOS Project |
| 4 | SPDX-License-Identifier: Apache-2.0 |
| 5 | --> |
| 6 | <resources> |
| 7 | <!-- Flag indicating whether we should enable the automatic brightness. |
| 8 | Software implementation will be used if config_hardware_auto_brightness_available is not set --> |
| 9 | <bool name="config_automatic_brightness_available">true</bool> |
| 10 | |
| 11 | <!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. --> |
| 12 | <integer-array name="config_availableColorModes"> |
| 13 | <item>0</item> |
| 14 | <item>1</item> |
| 15 | <item>300</item> |
| 16 | </integer-array> |
| 17 | |
| 18 | <!-- Minimum screen brightness setting allowed by power manager. |
| 19 | -2 is invalid so setting will resort to int value specified above. |
| 20 | Set this to 0.0 to allow screen to go to minimal brightness. |
| 21 | The user is forbidden from setting the brightness below this level. --> |
| 22 | <item type="dimen" name="config_screenBrightnessSettingMinimumFloat">0.033404917</item> |
| 23 | |
| 24 | <!-- Maximum screen brightness allowed by the power manager. |
| 25 | -2 is invalid so setting will resort to int value specified above. |
| 26 | Set this to 1.0 for maximum brightness range. |
| 27 | The user is forbidden from setting the brightness above this level. --> |
| 28 | <item type="dimen" name="config_screenBrightnessSettingMaximumFloat">1.0</item> |
| 29 | |
| 30 | <!-- Default screen brightness setting set. |
| 31 | -2 is invalid so setting will resort to int value specified above. |
| 32 | Must be in the range specified by minimum and maximum. --> |
| 33 | <item name="config_screenBrightnessSettingDefaultFloat" format="float" type="dimen">0.38188976</item> |
| 34 | |
| 35 | <!-- Screen brightness used to dim the screen while dozing in a very low power state. |
| 36 | May be less than the minimum allowed brightness setting |
| 37 | that can be set by the user. --> |
| 38 | <item type="dimen" name="config_screenBrightnessDozeFloat">0.5</item> |
| 39 | |
| 40 | <!-- The default peak refresh rate for a given device. Change this value if you want to prevent |
| 41 | the framework from using higher refresh rates, even if display modes with higher refresh |
| 42 | rates are available from hardware composer. Only has an effect if the value is |
| 43 | non-zero. --> |
| 44 | <integer name="config_defaultPeakRefreshRate">120</integer> |
| 45 | |
| 46 | <!-- A string config in svg path format for the main display shape. |
| 47 | (@see https://www.w3.org/TR/SVG/paths.html#PathData). |
| 48 | |
| 49 | This config must be set unless: |
| 50 | 1. {@link Configuration#isScreenRound} is true which means the display shape is circular |
| 51 | and the system will auto-generate a circular shape. |
| 52 | 2. The display has no rounded corner and the system will auto-generate a rectangular shape. |
| 53 | (@see DisplayShape#createDefaultDisplayShape) |
| 54 | |
| 55 | Note: If the display supports multiple resolutions, please define the path config based on |
| 56 | the highest resolution so that it can be scaled correctly in each resolution. --> |
| 57 | <string name="config_mainDisplayShape" translatable="false">"M20 0C10.7 0 0 10.7 0 24v0h24V0z"</string> |
| 58 | </resources> |
Roker2 / Vienna fw overlay
Last active 1 month ago
https://github.com/LineageOS/android_device_google_shusky/tree/bf3858753d35531e70f79c6dca18718092be289d/shiba/overlay/FrameworkResOverlayVendorShiba
Revision 970021b38812564a6b8206b85a6f927cb8689b59
| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | SPDX-FileCopyrightText: The LineageOS Project |
| 4 | SPDX-License-Identifier: Apache-2.0 |
| 5 | --> |
| 6 | <resources> |
| 7 | <!-- Height of the status bar in portrait. |
| 8 | Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. |
| 9 | --> |
| 10 | <dimen name="status_bar_height_portrait">24.0dip</dimen> |
| 11 | |
| 12 | <!-- Height of the status bar in landscape. |
| 13 | Do not read this dimen directly. Use {@link SystemBarUtils#getStatusBarHeight} instead. |
| 14 | --> |
| 15 | <dimen name="status_bar_height_landscape">24.0dip</dimen> |
| 16 | |
| 17 | <!-- Default radius of the software rounded corners. --> |
| 18 | <dimen name="rounded_corner_radius">24.0dip</dimen> |
| 19 | </resources> |