diff options
Diffstat (limited to 'data/res/values/config.xml')
-rw-r--r-- | data/res/values/config.xml | 65 |
1 files changed, 40 insertions, 25 deletions
diff --git a/data/res/values/config.xml b/data/res/values/config.xml index dc791cf6..e3a910f5 100644 --- a/data/res/values/config.xml +++ b/data/res/values/config.xml @@ -1302,8 +1302,8 @@ If this is defined then: - config_autoBrightnessLcdBacklightValues should not be defined - - config_screenBrightnessMinimumNits must be defined - - config_screenBrightnessMaximumNits must 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 @@ -1347,28 +1347,23 @@ <item>200</item> </integer-array> - <!-- The minimum brightness of the display in nits. On OLED displays this should be measured - with an all white image while the display is fully on and the backlight is set to - config_screenBrightnessSettingMinimum or config_screenBrightnessSettingDark, whichever - is darker. - - If this and config_screenBrightnessMinimumNits are set, then the display's brightness - range is assumed to be linear between - (config_screenBrightnessSettingMinimum, config_screenBrightnessMinimumNits) and - (config_screenBrightnessSettingMaximum, config_screenBrightnessMaximumNits). --> - <item name="config_screenBrightnessMinimumNits" format="float" type="dimen">-1.0</item> - - <!-- The maximum brightness of the display in nits. On OLED displays this should be measured - with an all white image while the display is fully on and the "backlight" is set to - config_screenBrightnessSettingMaximum. 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. - - If this and config_screenBrightnessMinimumNits are set to something non-negative, then the - display's brightness range is assumed to be linear between - (config_screenBrightnessSettingMinimum, config_screenBrightnessMaximumNits) and - (config_screenBrightnessSettingMaximum, config_screenBrightnessMaximumNits). --> - <item name="config_screenBrightnessMaximumNits" format="float" type="dimen">-1.0</item> + <!-- 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"> + </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"> + </array> + <!-- Array of ambient lux threshold values. This is used for determining hysteresis constraint values by calculating the index to use for lookup and then setting the constraint value @@ -2486,6 +2481,7 @@ <string-array translatable="false" name="config_globalActionsList"> <item>power</item> <item>restart</item> + <item>screenshot</item> <item>logout</item> <item>bugreport</item> <item>users</item> @@ -2672,6 +2668,13 @@ <bool name="config_sms_force_7bit_encoding">false</bool> + <!-- Number of physical SIM slots on the device. This includes both eSIM and pSIM slots, and + is not necessarily the same as the number of phones/logical modems supported by the device. + For example, a multi-sim device can have 2 phones/logical modems, but 3 physical slots, + or a single SIM device can have 1 phones/logical modems, but 2 physical slots (one eSIM + and one pSIM) --> + <integer name="config_num_physical_slots">1</integer> + <!--Thresholds for LTE dbm in status bar--> <integer-array translatable="false" name="config_lteDbmThresholds"> <item>-140</item> <!-- SIGNAL_STRENGTH_NONE_OR_UNKNOWN --> @@ -2774,6 +2777,18 @@ some existing device-specific resource overlays. --> <bool name="config_mainBuiltInDisplayIsRound">@bool/config_windowIsRound</bool> + <!-- 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. --> + <string translatable="false" name="config_mainBuiltInDisplayCutout"></string> + + <!-- Whether the display cutout region of the main built-in display should be forced to + black in software (to avoid aliasing or emulate a cutout that is not physically existent). + --> + <bool name="config_fillMainBuiltInDisplayCutout">false</bool> + <!-- Ultrasound support for Mic/speaker path --> <!-- Whether the default microphone audio source supports near-ultrasound frequencies (range of 18 - 21 kHz). --> @@ -2789,7 +2804,7 @@ <bool name="config_eap_sim_based_auth_supported">true</bool> <!-- How long history of previous vibrations should be kept for the dumpsys. --> - <integer name="config_previousVibrationsDumpLimit">20</integer> + <integer name="config_previousVibrationsDumpLimit">50</integer> <!-- The default vibration strength, must be between 1 and 255 inclusive. --> <integer name="config_defaultVibrationAmplitude">255</integer> |