diff options
Diffstat (limited to 'packages/SystemUI/res/values/config.xml')
-rw-r--r-- | packages/SystemUI/res/values/config.xml | 132 |
1 files changed, 112 insertions, 20 deletions
diff --git a/packages/SystemUI/res/values/config.xml b/packages/SystemUI/res/values/config.xml index 696ebd4f09de..6cfa07467478 100644 --- a/packages/SystemUI/res/values/config.xml +++ b/packages/SystemUI/res/values/config.xml @@ -37,12 +37,6 @@ <item>400</item> </integer-array> - <!-- Show mic or phone affordance on Keyguard --> - <bool name="config_keyguardShowLeftAffordance">false</bool> - - <!-- Show camera affordance on Keyguard --> - <bool name="config_keyguardShowCameraAffordance">false</bool> - <!-- decay duration (from size_max -> size), in ms --> <integer name="navigation_bar_deadzone_hold">333</integer> <integer name="navigation_bar_deadzone_decay">333</integer> @@ -87,7 +81,7 @@ <!-- Tiles native to System UI. Order should match "quick_settings_tiles_default" --> <string name="quick_settings_tiles_stock" translatable="false"> - internet,bt,flashlight,dnd,alarm,airplane,nfc,controls,wallet,rotation,battery,cast,screenrecord,mictoggle,cameratoggle,location,hotspot,inversion,saver,dark,work,night,reverse,reduce_brightness,qr_code_scanner,onehanded,color_correction,aod,caffeine,heads_up + internet,bt,flashlight,dnd,alarm,airplane,nfc,controls,wallet,rotation,battery,cast,screenrecord,mictoggle,cameratoggle,location,hotspot,inversion,saver,dark,work,night,reverse,reduce_brightness,qr_code_scanner,onehanded,color_correction,dream,aod,caffeine,heads_up </string> <!-- The tiles to display in QuickSettings --> @@ -292,7 +286,7 @@ <bool name="config_enableFullscreenUserSwitcher">false</bool> <!-- SystemUIFactory component --> - <string name="config_systemUIFactoryComponent" translatable="false">com.android.systemui.SystemUIFactory</string> + <string name="config_systemUIFactoryComponent" translatable="false">com.android.systemui.SystemUIInitializerImpl</string> <!-- QS tile shape store width. negative implies fill configuration instead of stroke--> <dimen name="config_qsTileStrokeWidthActive">-1dp</dimen> @@ -343,9 +337,6 @@ have been scrolled off-screen. --> <bool name="config_showNotificationShelf">true</bool> - <!-- Whether or not the notifications should always fade as they are dismissed. --> - <bool name="config_fadeNotificationsOnDismiss">false</bool> - <!-- Whether or not the fade on the notification is based on the amount that it has been swiped off-screen. --> <bool name="config_fadeDependingOnAmountSwiped">false</bool> @@ -442,6 +433,9 @@ they were added. --> <integer name="config_smart_replies_in_notifications_onclick_init_delay">200</integer> + <!-- Smartspace trampoline activity that is used when the user taps smartspace. --> + <string name="config_smartspaceTrampolineActivityComponent" translatable="false">com.google.android.apps.gsa.staticplugins.opa.smartspace.ExportedSmartspaceTrampolineActivity</string> + <!-- Screenshot editing default activity. Must handle ACTION_EDIT image/png intents. Blank sends the user to the Chooser first. This name is in the ComponentName flattened format (package/class) --> @@ -495,6 +489,12 @@ <!-- Whether to show a severe low battery dialog. --> <bool name="config_severe_battery_dialog">false</bool> + <!-- A path representing a shield. Will sometimes be displayed with the battery icon when + needed. This path is a 10px wide and 13px tall. --> + <string name="config_batterymeterShieldPath" translatable="false"> + M5 0L0 1.88V6.19C0 9.35 2.13 12.29 5 13.01C7.87 12.29 10 9.35 10 6.19V1.88L5 0Z + </string> + <!-- A path similar to frameworks/base/core/res/res/values/config.xml config_mainBuiltInDisplayCutout that describes a path larger than the exact path of a display cutout. If present as well as config_enableDisplayCutoutProtection is set to true, then @@ -555,6 +555,9 @@ <!-- Package name of the preferred system app to perform eSOS action --> <string name="config_preferredEmergencySosPackage" translatable="false"></string> + <!-- Whether to show the side fps hint while on bouncer --> + <bool name="config_show_sidefps_hint_on_bouncer">true</bool> + <!-- Whether to use the split 2-column notification shade --> <bool name="config_use_split_notification_shade">false</bool> @@ -584,13 +587,13 @@ 280 </integer> + <!-- The time (in ms) needed to trigger the lock icon view's long-press affordance --> + <integer name="config_lockIconLongPress" translatable="false">200</integer> + <!-- package name of a built-in camera app to use to restrict implicit intent resolution when the double-press power gesture is used. Ignored if empty. --> <string translatable="false" name="config_cameraGesturePackage"></string> - <!-- Determines whether to allow the nav bar handle to be forced to be opaque. --> - <bool name="allow_force_nav_bar_handle_opaque">true</bool> - <!-- Whether a transition of ACTIVITY_TYPE_DREAM to the home app should play a home sound effect --> <bool name="config_playHomeSoundAfterDream">false</bool> @@ -615,6 +618,55 @@ 2 - Override the setting to never bypass keyguard --> <integer name="config_face_unlock_bypass_override">0</integer> + <!-- Messages that should NOT be shown to the user during face authentication on keyguard. + This includes both lockscreen and bouncer. This should be used to hide messages that may be + too chatty or messages that the user can't do much about. Entries are defined in + android.hardware.biometrics.face@1.0 types.hal. + + Although not visibly shown to the user, these acquired messages (sent per face auth frame) + are still counted towards the total frames to determine whether a deferred message + (see config_face_help_msgs_defer_until_timeout) meets the threshold % of frames to show on + face timeout. --> + <integer-array name="config_face_acquire_device_entry_ignorelist" translatable="false" > + </integer-array> + + <!-- Which face help messages to defer until face auth times out. If face auth is cancelled + or ends on another error, then the message is never surfaced. May also never surface + if it doesn't meet a threshold % of authentication frames specified by. + config_face_help_msgs_defer_until_timeout_threshold. --> + <integer-array name="config_face_help_msgs_defer_until_timeout"> + </integer-array> + + <!-- Percentage of face auth frames received required to show a deferred message at + FACE_ERROR_TIMEOUT. See config_face_help_msgs_defer_until_timeout for messages + that are deferred.--> + <item name="config_face_help_msgs_defer_until_timeout_threshold" + translatable="false" format="float" type="dimen"> + .75 + </item> + + <!-- Which face help messages to surface when fingerprint is also enrolled. + Message ids correspond with the acquired ids in BiometricFaceConstants --> + <integer-array name="config_face_help_msgs_when_fingerprint_enrolled"> + <item>3</item> <!-- TOO_DARK --> + <item>25</item> <!-- DARK_GLASSES --> + <item>26</item> <!-- MOUTH_COVERING_DETECTED --> + </integer-array> + + <!-- Which device wake-ups will trigger face auth. These values correspond with + PowerManager#WakeReason. --> + <integer-array name="config_face_auth_wake_up_triggers"> + <item>1</item> <!-- WAKE_REASON_POWER_BUTTON --> + <item>4</item> <!-- WAKE_REASON_GESTURE --> + <item>6</item> <!-- WAKE_REASON_WAKE_KEY --> + <item>7</item> <!-- WAKE_REASON_WAKE_MOTION --> + <item>9</item> <!-- WAKE_REASON_LID --> + <item>10</item> <!-- WAKE_REASON_DISPLAY_GROUP_ADDED --> + <item>15</item> <!-- WAKE_REASON_TAP --> + <item>16</item> <!-- WAKE_REASON_LIFT --> + <item>17</item> <!-- WAKE_REASON_BIOMETRIC --> + </integer-array> + <!-- Whether the communal service should be enabled --> <bool name="config_communalServiceEnabled">false</bool> @@ -623,11 +675,15 @@ <!-- This value is used when calculating whether the device is in ambient light mode. It is light mode when the light sensor sample value exceeds above this value. --> - <integer name="config_ambientLightModeThreshold">5</integer> + <item name="config_ambientLightModeThreshold" translatable="false" format="float" type="dimen"> + 0.8 + </item> <!-- This value is used when calculating whether the device is in ambient dark mode. It is dark mode when the light sensor sample value drops below this value. --> - <integer name="config_ambientDarkModeThreshold">2</integer> + <item name="config_ambientDarkModeThreshold" translatable="false" format="float" type="dimen"> + 0.4 + </item> <!-- This value is used when calculating whether the device is in ambient light mode. Each sample contains light sensor events from this span of time duration. --> @@ -684,14 +740,11 @@ <!-- Flag to enable privacy dot views, it shall be true for normal case --> <bool name="config_enablePrivacyDot">true</bool> - <!-- Flag to enable dream overlay service and its registration --> - <bool name="config_dreamOverlayServiceEnabled">false</bool> - <!-- Class for the communal source connector to be used --> <string name="config_communalSourceConnector" translatable="false"></string> <!-- How often in milliseconds to jitter the dream overlay in order to avoid burn-in. --> - <integer name="config_dreamOverlayBurnInProtectionUpdateIntervalMillis">500</integer> + <integer name="config_dreamOverlayBurnInProtectionUpdateIntervalMillis">1000</integer> <!-- How long in milliseconds before full burn-in protection is achieved. --> <integer name="config_dreamOverlayMillisUntilFullJitter">240000</integer> @@ -702,6 +755,19 @@ <integer name="complicationRestoreMs">1000</integer> + <integer name="complicationFadeOutDelayMs">200</integer> + + <!-- Duration in milliseconds of the dream in un-blur animation. --> + <integer name="config_dreamOverlayInBlurDurationMs">250</integer> + <!-- Duration in milliseconds of the dream in complications fade-in animation. --> + <integer name="config_dreamOverlayInComplicationsDurationMs">250</integer> + <!-- Duration in milliseconds of the y-translation animation when entering a dream --> + <integer name="config_dreamOverlayInTranslationYDurationMs">917</integer> + + <!-- Delay in milliseconds before switching to the dock user and dreaming if a secondary user is + active when the device is locked and docked. 0 indicates disabled. Default is 1 minute. --> + <integer name="config_defaultDockUserTimeoutMs">60000</integer> + <!-- Icons that don't show in a collapsed non-keyguard statusbar --> <string-array name="config_collapsed_statusbar_icon_blocklist" translatable="false"> <item>@*android:string/status_bar_volume</item> @@ -721,4 +787,30 @@ <item>com.android.keyguard</item> <item>com.android.systemui</item> </string-array> + + <!-- Whether the device should display hotspot UI. If true, UI will display only when tethering + is available. If false, UI will never show regardless of tethering availability" --> + <bool name="config_show_wifi_tethering">true</bool> + + <!-- A collection of "slots" for placing quick affordance actions on the lock screen when the + device is locked. Each item is a string consisting of two parts, separated by the ':' character. + The first part is the unique ID for the slot, it is not a human-visible name, but should still + be unique across all slots specified. The second part is the capacity and must be a positive + integer; this is how many quick affordance actions that user is allowed to add to the slot. --> + <string-array name="config_keyguardQuickAffordanceSlots" translatable="false"> + <item>bottom_start:1</item> + <item>bottom_end:1</item> + </string-array> + + <!-- A collection of defaults for the quick affordances on the lock screen. Each item must be a + string with two parts: the ID of the slot and the comma-delimited list of affordance IDs, + separated by a colon ':' character. For example: <item>bottom_end:home,wallet</item>. The + default is displayed by System UI as long as the user hasn't made a different choice for that + slot. If the user did make a choice, even if the choice is the "None" option, the default is + ignored. --> + <string-array name="config_keyguardQuickAffordanceDefaults" translatable="false"> + <item>bottom_start:home</item> + <item>bottom_end:wallet</item> + </string-array> + </resources> |