comet: Selectively update overlays from BP2A
Change-Id: Ie95d7833851771588581549ee900379c57683e46
This commit is contained in:
parent
00f310d506
commit
5854cc3289
21 changed files with 501 additions and 12 deletions
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Set to true to enable the user switcher on the keyguard. -->
|
||||
<bool name="config_keyguardUserSwitcher">false</bool>
|
||||
|
||||
<!-- If true, show multiuser switcher by default unless the user specifically disables it. -->
|
||||
<bool name="config_showUserSwitcherByDefault">false</bool>
|
||||
</resources>
|
|
@ -24,9 +24,6 @@
|
|||
entries do not follow the convention, but all new entries should. -->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- IWLAN-->
|
||||
<string name="config_qualified_networks_service_package">com.android.qns</string>
|
||||
|
||||
<!-- If true, allows rotation resolver service to help resolve screen rotation. -->
|
||||
<bool name="config_allowRotationResolver">false</bool>
|
||||
|
||||
|
@ -52,6 +49,7 @@
|
|||
state. Default is empty. -->
|
||||
<integer-array name="config_rearDisplayDeviceStates">
|
||||
<item>3</item>
|
||||
<item>5</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- The device states (supplied by DeviceStateManager) that should be treated as concurrent
|
||||
|
@ -60,6 +58,10 @@
|
|||
<item>4</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Indicates whether the window manager reacts to half-fold device states by overriding
|
||||
rotation. -->
|
||||
<bool name="config_windowManagerHalfFoldAutoRotateOverride">false</bool>
|
||||
|
||||
<!-- Indicates whether the window manager pauses autorotation when folding or unfolding
|
||||
a foldable device based on hinge angle sensor events and physical display switch events. -->
|
||||
<bool name="config_windowManagerPauseRotationWhenUnfolding">true</bool>
|
||||
|
@ -101,11 +103,15 @@
|
|||
<item>3:0:0</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Whether to show Fold lock behavior setting feature in Settings App -->
|
||||
<bool name="config_fold_lock_behavior">true</bool>
|
||||
|
||||
<!-- Device states where the sensor based rotation values should be reversed around the Z axis
|
||||
for the default display.
|
||||
TODO(b/265312193): Remove this workaround when this bug is fixed.-->
|
||||
<integer-array name="config_deviceStatesToReverseDefaultDisplayRotationAroundZAxis">
|
||||
<item>3</item>
|
||||
<item>5</item>
|
||||
</integer-array>
|
||||
|
||||
<!-- Boolean indicating whether secondary built-in displays should have their orientation
|
||||
|
@ -117,7 +123,7 @@
|
|||
|
||||
<!-- Class name of the device specific implementation of DeviceStatePolicy.Provider
|
||||
or empty if the default should be used. -->
|
||||
<string translatable="false" name="config_deviceSpecificDeviceStatePolicyProvider">com.google.android.server.policy.CometDeviceStatePolicyProvider</string>
|
||||
<string name="config_deviceSpecificDeviceStatePolicyProvider" translatable="false">com.google.android.server.policy.CometDeviceStatePolicyProvider</string>
|
||||
|
||||
<!-- Set to true to offset the wallpaper when using multiple displays so that it's centered
|
||||
at the same position as in the largest display.-->
|
||||
|
@ -128,12 +134,13 @@
|
|||
|
||||
<!-- Map of System DeviceState supplied by DeviceStateManager to WM Jetpack posture. Must be in
|
||||
the format [System DeviceState]:[WM Jetpack Posture], for example: "0:1". -->
|
||||
<string-array name="config_device_state_postures">
|
||||
<string-array name="config_device_state_postures" translatable="false">
|
||||
<item>0:1</item>
|
||||
<item>1:2</item>
|
||||
<item>2:3</item>
|
||||
<item>3:1</item>
|
||||
<item>4:1000</item>
|
||||
<item>5:1</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Which Surface rotations are considered as tabletop posture (horizontal hinge) when the
|
||||
|
@ -156,7 +163,7 @@
|
|||
Note: Activity min/max aspect ratio restrictions will still be respected.
|
||||
Therefore this override can control the maximum screen area that can be occupied by
|
||||
the app in the letterbox mode. -->
|
||||
<item name="config_fixedOrientationLetterboxAspectRatio" format="float" type="dimen">1.001</item>
|
||||
<item name="config_fixedOrientationLetterboxAspectRatio" type="dimen">1.333</item>
|
||||
|
||||
<!-- Corners radius for activity presented the letterbox mode. Values < 0 enable rounded
|
||||
corners with radius equal to min between device bottom corner radii. Default 0 value turns
|
||||
|
@ -167,7 +174,7 @@
|
|||
0 corresponds to the upper side of the screen and 1 to the lower side. If given value < 0
|
||||
or > 1 it is ignored and for non-tabletop mode central position is used (0.5); for
|
||||
tabletop mode top (0.0) is used. -->
|
||||
<item type="dimen" name="config_letterboxVerticalPositionMultiplier">0.5</item>
|
||||
<item name="config_letterboxVerticalPositionMultiplier" type="dimen">0.5</item>
|
||||
|
||||
<!-- Whether horizontal reachability repositioning is allowed for letterboxed fullscreen apps.
|
||||
-->
|
||||
|
@ -184,6 +191,9 @@
|
|||
<!-- Whether displaying letterbox education is enabled for letterboxed fullscreen apps. -->
|
||||
<bool name="config_letterboxIsEducationEnabled">true</bool>
|
||||
|
||||
<!-- Whether using split screen aspect ratio as a default aspect ratio for unresizable apps. -->
|
||||
<bool name="config_letterboxIsSplitScreenAspectRatioForUnresizableAppsEnabled">true</bool>
|
||||
|
||||
<!-- Whether the specific behaviour for translucent activities letterboxing is enabled.
|
||||
TODO(b/255532890) Enable when ignoreOrientationRequest is set -->
|
||||
<bool name="config_letterboxIsEnabledForTranslucentActivities">true</bool>
|
||||
|
@ -205,10 +215,6 @@
|
|||
split screen. -->
|
||||
<bool name="config_isWindowManagerCameraCompatTreatmentEnabled">true</bool>
|
||||
|
||||
<!-- Whether a camera compat controller is enabled to allow the user to apply or revert
|
||||
treatment for stretched issues in camera viewfinder. -->
|
||||
<bool name="config_isCameraCompatControlForStretchedIssuesEnabled">true</bool>
|
||||
|
||||
<!-- List of the labels of requestable device state config values -->
|
||||
<string-array name="config_deviceStatesAvailableForAppRequests">
|
||||
<item>config_deviceStateRearDisplay</item>
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Indicating whether the retry timer from setup data call response for data throttling should
|
||||
be honored for emergency network request. By default this is off, meaning for emergency
|
||||
network requests, the data frameworks will ignore the previous retry timer passed in from
|
||||
setup data call response. -->
|
||||
<bool name="config_honor_data_retry_timer_for_emergency_network">true</bool>
|
||||
|
||||
<!-- Telephony qualified networks service package name to bind to by default. -->
|
||||
<string name="config_qualified_networks_service_package" translatable="false">com.android.qns</string>
|
||||
</resources>
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Whether the extended restart dialog is enabled -->
|
||||
<bool name="config_letterboxIsRestartDialogEnabled">true</bool>
|
||||
|
||||
<!-- Whether the additional education about reachability is enabled -->
|
||||
<bool name="config_letterboxIsReachabilityEducationEnabled">true</bool>
|
||||
</resources>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- The maximum number of tiles in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_tiles" type="integer">@integer/comet_unfolded_quick_qs_panel_max_tiles</item>
|
||||
|
||||
<!-- The maximum number of rows in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_rows" type="integer">@integer/comet_unfolded_quick_qs_panel_max_rows</item>
|
||||
|
||||
<!-- The number of columns in the QuickSettings -->
|
||||
<item name="quick_settings_num_columns" type="integer">@integer/comet_unfolded_quick_settings_num_columns</item>
|
||||
|
||||
<!-- The number of rows in the QuickSettings -->
|
||||
<item name="quick_settings_max_rows" type="integer">@integer/comet_unfolded_quick_settings_max_rows</item>
|
||||
|
||||
<!-- The number of rows in the paginated grid QuickSettings -->
|
||||
<integer name="quick_settings_paginated_grid_num_rows">5</integer>
|
||||
|
||||
<!-- Whether to use the split 2-column notification shade -->
|
||||
<item name="config_use_split_notification_shade" type="bool">@bool/comet_unfolded_config_use_split_notification_shade</item>
|
||||
</resources>
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<item name="status_view_margin_horizontal" type="dimen">@dimen/comet_unfolded_status_view_margin_horizontal</item>
|
||||
|
||||
<!-- Side padding on the side of notifications -->
|
||||
<item name="notification_side_paddings" type="dimen">@dimen/comet_unfolded_notification_side_paddings</item>
|
||||
|
||||
<!-- gap on either side of status bar notification icons -->
|
||||
<item name="status_bar_icon_horizontal_margin" type="dimen">@dimen/comet_unfolded_status_bar_icon_horizontal_margin</item>
|
||||
|
||||
<!-- Height of status bar in split shade mode - visible only on large screens -->
|
||||
<item name="large_screen_shade_header_height" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_height</item>
|
||||
<item name="large_screen_shade_header_left_padding" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_left_padding</item>
|
||||
<item name="notification_panel_margin_bottom" type="dimen">@dimen/comet_unfolded_notification_panel_margin_bottom</item>
|
||||
<item name="split_shade_notifications_scrim_margin_bottom" type="dimen">@dimen/comet_unfolded_split_shade_notifications_scrim_margin_bottom</item>
|
||||
<item name="notification_panel_margin_horizontal" type="dimen">@dimen/comet_unfolded_notification_panel_margin_horizontal</item>
|
||||
<item name="qqs_layout_padding_bottom" type="dimen">@dimen/comet_unfolded_qqs_layout_padding_bottom</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. The exception is split shade when this value becomes
|
||||
independent -->
|
||||
<item name="qs_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_horizontal_margin</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_shade_content_margin_horizontal as
|
||||
it's vertically aligned with notifications. The exception is split shade when this value
|
||||
becomes independent -->
|
||||
<item name="qs_content_horizontal_padding" type="dimen">@dimen/comet_unfolded_qs_content_horizontal_padding</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. That's not the case on large screen when we have either split
|
||||
shade and QS is not above notifications or in portrait shade when notification scrim is no
|
||||
longer full width and next page of tiles should be at the edge of the screen -->
|
||||
<item name="qs_tiles_page_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_tiles_page_horizontal_margin</item>
|
||||
|
||||
<!-- The height of the gap between adjacent notification sections. -->
|
||||
<item name="notification_section_divider_height" type="dimen">@dimen/comet_unfolded_notification_section_divider_height</item>
|
||||
|
||||
<!-- The margin from the top of the screen to notifications and keyguard status view in
|
||||
split shade on keyguard-->
|
||||
<item name="keyguard_split_shade_top_margin" type="dimen">@dimen/comet_unfolded_keyguard_split_shade_top_margin</item>
|
||||
|
||||
<!-- Biometric Auth pattern view size, better to align keyguard_security_width -->
|
||||
<item name="biometric_auth_pattern_view_size" type="dimen">@dimen/comet_unfolded_biometric_auth_pattern_view_size</item>
|
||||
<item name="qs_media_session_height_expanded" type="dimen">@dimen/comet_unfolded_qs_media_session_height_expanded</item>
|
||||
<item name="controls_header_horizontal_padding" type="dimen">@dimen/comet_unfolded_controls_header_horizontal_padding</item>
|
||||
<item name="controls_content_margin_horizontal" type="dimen">@dimen/comet_unfolded_controls_content_margin_horizontal</item>
|
||||
<item name="controls_content_padding" type="dimen">@dimen/comet_unfolded_controls_content_padding</item>
|
||||
<item name="control_list_vertical_spacing" type="dimen">@dimen/comet_unfolded_control_list_vertical_spacing</item>
|
||||
<item name="control_list_horizontal_spacing" type="dimen">@dimen/comet_unfolded_control_list_horizontal_spacing</item>
|
||||
<item name="controls_panel_corner_radius" type="dimen">@dimen/comet_unfolded_controls_panel_corner_radius</item>
|
||||
|
||||
<!-- The amount of vertical offset for the keyguard during the full shade transition. -->
|
||||
<item name="lockscreen_shade_keyguard_transition_vertical_offset" type="dimen">@dimen/comet_unfolded_lockscreen_shade_keyguard_transition_vertical_offset</item>
|
||||
|
||||
<!-- Maximum over scroll amount for the shade when transition to the full shade. -->
|
||||
<item name="lockscreen_shade_max_over_scroll_amount" type="dimen">@dimen/comet_unfolded_lockscreen_shade_max_over_scroll_amount</item>
|
||||
</resources>
|
|
@ -0,0 +1,24 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- The maximum number of tiles in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_tiles" type="integer">@integer/comet_unfolded_quick_qs_panel_max_tiles</item>
|
||||
|
||||
<!-- The maximum number of rows in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_rows" type="integer">@integer/comet_unfolded_quick_qs_panel_max_rows</item>
|
||||
|
||||
<!-- The number of columns in the QuickSettings -->
|
||||
<item name="quick_settings_num_columns" type="integer">@integer/comet_unfolded_quick_settings_num_columns</item>
|
||||
|
||||
<!-- The number of rows in the QuickSettings -->
|
||||
<item name="quick_settings_max_rows" type="integer">@integer/comet_unfolded_quick_settings_max_rows</item>
|
||||
|
||||
<!-- The number of rows in the paginated grid QuickSettings -->
|
||||
<integer name="quick_settings_paginated_grid_num_rows">5</integer>
|
||||
|
||||
<!-- Whether to use the split 2-column notification shade -->
|
||||
<item name="config_use_split_notification_shade" type="bool">@bool/comet_unfolded_config_use_split_notification_shade</item>
|
||||
</resources>
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<item name="status_view_margin_horizontal" type="dimen">@dimen/comet_unfolded_status_view_margin_horizontal</item>
|
||||
|
||||
<!-- Side padding on the side of notifications -->
|
||||
<item name="notification_side_paddings" type="dimen">@dimen/comet_unfolded_notification_side_paddings</item>
|
||||
|
||||
<!-- gap on either side of status bar notification icons -->
|
||||
<item name="status_bar_icon_horizontal_margin" type="dimen">@dimen/comet_unfolded_status_bar_icon_horizontal_margin</item>
|
||||
|
||||
<!-- Height of status bar in split shade mode - visible only on large screens -->
|
||||
<item name="large_screen_shade_header_height" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_height</item>
|
||||
<item name="large_screen_shade_header_left_padding" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_left_padding</item>
|
||||
<item name="notification_panel_margin_bottom" type="dimen">@dimen/comet_unfolded_notification_panel_margin_bottom</item>
|
||||
<item name="split_shade_notifications_scrim_margin_bottom" type="dimen">@dimen/comet_unfolded_split_shade_notifications_scrim_margin_bottom</item>
|
||||
<item name="notification_panel_margin_horizontal" type="dimen">@dimen/comet_unfolded_notification_panel_margin_horizontal</item>
|
||||
<item name="qqs_layout_padding_bottom" type="dimen">@dimen/comet_unfolded_qqs_layout_padding_bottom</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. The exception is split shade when this value becomes
|
||||
independent -->
|
||||
<item name="qs_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_horizontal_margin</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_shade_content_margin_horizontal as
|
||||
it's vertically aligned with notifications. The exception is split shade when this value
|
||||
becomes independent -->
|
||||
<item name="qs_content_horizontal_padding" type="dimen">@dimen/comet_unfolded_qs_content_horizontal_padding</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. That's not the case on large screen when we have either split
|
||||
shade and QS is not above notifications or in portrait shade when notification scrim is no
|
||||
longer full width and next page of tiles should be at the edge of the screen -->
|
||||
<item name="qs_tiles_page_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_tiles_page_horizontal_margin</item>
|
||||
|
||||
<!-- The height of the gap between adjacent notification sections. -->
|
||||
<item name="notification_section_divider_height" type="dimen">@dimen/comet_unfolded_notification_section_divider_height</item>
|
||||
|
||||
<!-- The margin from the top of the screen to notifications and keyguard status view in
|
||||
split shade on keyguard-->
|
||||
<item name="keyguard_split_shade_top_margin" type="dimen">@dimen/comet_unfolded_keyguard_split_shade_top_margin</item>
|
||||
|
||||
<!-- Biometric Auth pattern view size, better to align keyguard_security_width -->
|
||||
<item name="biometric_auth_pattern_view_size" type="dimen">@dimen/comet_unfolded_biometric_auth_pattern_view_size</item>
|
||||
<item name="qs_media_session_height_expanded" type="dimen">@dimen/comet_unfolded_qs_media_session_height_expanded</item>
|
||||
<item name="controls_header_horizontal_padding" type="dimen">@dimen/comet_unfolded_controls_header_horizontal_padding</item>
|
||||
<item name="controls_content_margin_horizontal" type="dimen">@dimen/comet_unfolded_controls_content_margin_horizontal</item>
|
||||
<item name="controls_content_padding" type="dimen">@dimen/comet_unfolded_controls_content_padding</item>
|
||||
<item name="control_list_vertical_spacing" type="dimen">@dimen/comet_unfolded_control_list_vertical_spacing</item>
|
||||
<item name="control_list_horizontal_spacing" type="dimen">@dimen/comet_unfolded_control_list_horizontal_spacing</item>
|
||||
<item name="controls_panel_corner_radius" type="dimen">@dimen/comet_unfolded_controls_panel_corner_radius</item>
|
||||
|
||||
<!-- The amount of vertical offset for the keyguard during the full shade transition. -->
|
||||
<item name="lockscreen_shade_keyguard_transition_vertical_offset" type="dimen">@dimen/comet_unfolded_lockscreen_shade_keyguard_transition_vertical_offset</item>
|
||||
|
||||
<!-- Maximum over scroll amount for the shade when transition to the full shade. -->
|
||||
<item name="lockscreen_shade_max_over_scroll_amount" type="dimen">@dimen/comet_unfolded_lockscreen_shade_max_over_scroll_amount</item>
|
||||
</resources>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- Allows PIN/Pattern to be drawn on one side of a display, and for the user to
|
||||
switch sides -->
|
||||
<bool name="can_use_one_handed_bouncer">true</bool>
|
||||
</resources>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- The maximum number of tiles in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_tiles" type="integer">@integer/comet_unfolded_quick_qs_panel_max_tiles</item>
|
||||
|
||||
<!-- The maximum number of rows in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_rows" type="integer">@integer/comet_unfolded_quick_qs_panel_max_rows</item>
|
||||
|
||||
<!-- The number of columns in the QuickSettings -->
|
||||
<item name="quick_settings_num_columns" type="integer">@integer/comet_unfolded_quick_settings_num_columns</item>
|
||||
|
||||
<!-- The number of rows in the QuickSettings -->
|
||||
<item name="quick_settings_max_rows" type="integer">@integer/comet_unfolded_quick_settings_max_rows</item>
|
||||
|
||||
<!-- Whether to use the split 2-column notification shade -->
|
||||
<item name="config_use_split_notification_shade" type="bool">@bool/comet_unfolded_config_use_split_notification_shade</item>
|
||||
</resources>
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<item name="status_view_margin_horizontal" type="dimen">@dimen/comet_unfolded_status_view_margin_horizontal</item>
|
||||
|
||||
<!-- Side padding on the side of notifications -->
|
||||
<item name="notification_side_paddings" type="dimen">@dimen/comet_unfolded_notification_side_paddings</item>
|
||||
|
||||
<!-- gap on either side of status bar notification icons -->
|
||||
<item name="status_bar_icon_horizontal_margin" type="dimen">@dimen/comet_unfolded_status_bar_icon_horizontal_margin</item>
|
||||
|
||||
<!-- Height of status bar in split shade mode - visible only on large screens -->
|
||||
<item name="large_screen_shade_header_height" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_height</item>
|
||||
<item name="large_screen_shade_header_left_padding" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_left_padding</item>
|
||||
<item name="notification_panel_margin_bottom" type="dimen">@dimen/comet_unfolded_notification_panel_margin_bottom</item>
|
||||
<item name="split_shade_notifications_scrim_margin_bottom" type="dimen">@dimen/comet_unfolded_split_shade_notifications_scrim_margin_bottom</item>
|
||||
<item name="notification_panel_margin_horizontal" type="dimen">@dimen/comet_unfolded_notification_panel_margin_horizontal</item>
|
||||
<item name="qqs_layout_padding_bottom" type="dimen">@dimen/comet_unfolded_qqs_layout_padding_bottom</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. The exception is split shade when this value becomes
|
||||
independent -->
|
||||
<item name="qs_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_horizontal_margin</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_shade_content_margin_horizontal as
|
||||
it's vertically aligned with notifications. The exception is split shade when this value
|
||||
becomes independent -->
|
||||
<item name="qs_content_horizontal_padding" type="dimen">@dimen/comet_unfolded_qs_content_horizontal_padding</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. That's not the case on large screen when we have either split
|
||||
shade and QS is not above notifications or in portrait shade when notification scrim is no
|
||||
longer full width and next page of tiles should be at the edge of the screen -->
|
||||
<item name="qs_tiles_page_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_tiles_page_horizontal_margin</item>
|
||||
|
||||
<!-- The height of the gap between adjacent notification sections. -->
|
||||
<item name="notification_section_divider_height" type="dimen">@dimen/comet_unfolded_notification_section_divider_height</item>
|
||||
|
||||
<!-- The margin from the top of the screen to notifications and keyguard status view in
|
||||
split shade on keyguard-->
|
||||
<item name="keyguard_split_shade_top_margin" type="dimen">@dimen/comet_unfolded_keyguard_split_shade_top_margin</item>
|
||||
|
||||
<!-- Biometric Auth pattern view size, better to align keyguard_security_width -->
|
||||
<item name="biometric_auth_pattern_view_size" type="dimen">@dimen/comet_unfolded_biometric_auth_pattern_view_size</item>
|
||||
<item name="qs_media_session_height_expanded" type="dimen">@dimen/comet_unfolded_qs_media_session_height_expanded</item>
|
||||
<item name="controls_header_horizontal_padding" type="dimen">@dimen/comet_unfolded_controls_header_horizontal_padding</item>
|
||||
<item name="controls_content_margin_horizontal" type="dimen">@dimen/comet_unfolded_controls_content_margin_horizontal</item>
|
||||
<item name="controls_content_padding" type="dimen">@dimen/comet_unfolded_controls_content_padding</item>
|
||||
<item name="control_list_vertical_spacing" type="dimen">@dimen/comet_unfolded_control_list_vertical_spacing</item>
|
||||
<item name="control_list_horizontal_spacing" type="dimen">@dimen/comet_unfolded_control_list_horizontal_spacing</item>
|
||||
<item name="controls_panel_corner_radius" type="dimen">@dimen/comet_unfolded_controls_panel_corner_radius</item>
|
||||
|
||||
<!-- The amount of vertical offset for the keyguard during the full shade transition. -->
|
||||
<item name="lockscreen_shade_keyguard_transition_vertical_offset" type="dimen">@dimen/comet_unfolded_lockscreen_shade_keyguard_transition_vertical_offset</item>
|
||||
|
||||
<!-- Maximum over scroll amount for the shade when transition to the full shade. -->
|
||||
<item name="lockscreen_shade_max_over_scroll_amount" type="dimen">@dimen/comet_unfolded_lockscreen_shade_max_over_scroll_amount</item>
|
||||
</resources>
|
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- The maximum number of tiles in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_tiles" type="integer">@integer/comet_unfolded_quick_qs_panel_max_tiles</item>
|
||||
|
||||
<!-- The maximum number of rows in the QuickQSPanel -->
|
||||
<item name="quick_qs_panel_max_rows" type="integer">@integer/comet_unfolded_quick_qs_panel_max_rows</item>
|
||||
|
||||
<!-- The number of columns in the QuickSettings -->
|
||||
<item name="quick_settings_num_columns" type="integer">@integer/comet_unfolded_quick_settings_num_columns</item>
|
||||
|
||||
<!-- The number of rows in the QuickSettings -->
|
||||
<item name="quick_settings_max_rows" type="integer">@integer/comet_unfolded_quick_settings_max_rows</item>
|
||||
|
||||
<!-- Whether to use the split 2-column notification shade -->
|
||||
<item name="config_use_split_notification_shade" type="bool">@bool/comet_unfolded_config_use_split_notification_shade</item>
|
||||
</resources>
|
|
@ -0,0 +1,61 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<item name="status_view_margin_horizontal" type="dimen">@dimen/comet_unfolded_status_view_margin_horizontal</item>
|
||||
|
||||
<!-- Side padding on the side of notifications -->
|
||||
<item name="notification_side_paddings" type="dimen">@dimen/comet_unfolded_notification_side_paddings</item>
|
||||
|
||||
<!-- gap on either side of status bar notification icons -->
|
||||
<item name="status_bar_icon_horizontal_margin" type="dimen">@dimen/comet_unfolded_status_bar_icon_horizontal_margin</item>
|
||||
|
||||
<!-- Height of status bar in split shade mode - visible only on large screens -->
|
||||
<item name="large_screen_shade_header_height" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_height</item>
|
||||
<item name="large_screen_shade_header_left_padding" type="dimen">@dimen/comet_unfolded_large_screen_shade_header_left_padding</item>
|
||||
<item name="notification_panel_margin_bottom" type="dimen">@dimen/comet_unfolded_notification_panel_margin_bottom</item>
|
||||
<item name="split_shade_notifications_scrim_margin_bottom" type="dimen">@dimen/comet_unfolded_split_shade_notifications_scrim_margin_bottom</item>
|
||||
<item name="notification_panel_margin_horizontal" type="dimen">@dimen/comet_unfolded_notification_panel_margin_horizontal</item>
|
||||
<item name="qqs_layout_padding_bottom" type="dimen">@dimen/comet_unfolded_qqs_layout_padding_bottom</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. The exception is split shade when this value becomes
|
||||
independent -->
|
||||
<item name="qs_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_horizontal_margin</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_shade_content_margin_horizontal as
|
||||
it's vertically aligned with notifications. The exception is split shade when this value
|
||||
becomes independent -->
|
||||
<item name="qs_content_horizontal_padding" type="dimen">@dimen/comet_unfolded_qs_content_horizontal_padding</item>
|
||||
|
||||
<!-- Most of the time it should be the same as notification_side_paddings as it's vertically
|
||||
aligned with notifications. That's not the case on large screen when we have either split
|
||||
shade and QS is not above notifications or in portrait shade when notification scrim is no
|
||||
longer full width and next page of tiles should be at the edge of the screen -->
|
||||
<item name="qs_tiles_page_horizontal_margin" type="dimen">@dimen/comet_unfolded_qs_tiles_page_horizontal_margin</item>
|
||||
|
||||
<!-- The height of the gap between adjacent notification sections. -->
|
||||
<item name="notification_section_divider_height" type="dimen">@dimen/comet_unfolded_notification_section_divider_height</item>
|
||||
|
||||
<!-- The margin from the top of the screen to notifications and keyguard status view in
|
||||
split shade on keyguard-->
|
||||
<item name="keyguard_split_shade_top_margin" type="dimen">@dimen/comet_unfolded_keyguard_split_shade_top_margin</item>
|
||||
|
||||
<!-- Biometric Auth pattern view size, better to align keyguard_security_width -->
|
||||
<item name="biometric_auth_pattern_view_size" type="dimen">@dimen/comet_unfolded_biometric_auth_pattern_view_size</item>
|
||||
<item name="qs_media_session_height_expanded" type="dimen">@dimen/comet_unfolded_qs_media_session_height_expanded</item>
|
||||
<item name="controls_header_horizontal_padding" type="dimen">@dimen/comet_unfolded_controls_header_horizontal_padding</item>
|
||||
<item name="controls_content_margin_horizontal" type="dimen">@dimen/comet_unfolded_controls_content_margin_horizontal</item>
|
||||
<item name="controls_content_padding" type="dimen">@dimen/comet_unfolded_controls_content_padding</item>
|
||||
<item name="control_list_vertical_spacing" type="dimen">@dimen/comet_unfolded_control_list_vertical_spacing</item>
|
||||
<item name="control_list_horizontal_spacing" type="dimen">@dimen/comet_unfolded_control_list_horizontal_spacing</item>
|
||||
<item name="controls_panel_corner_radius" type="dimen">@dimen/comet_unfolded_controls_panel_corner_radius</item>
|
||||
|
||||
<!-- The amount of vertical offset for the keyguard during the full shade transition. -->
|
||||
<item name="lockscreen_shade_keyguard_transition_vertical_offset" type="dimen">@dimen/comet_unfolded_lockscreen_shade_keyguard_transition_vertical_offset</item>
|
||||
|
||||
<!-- Maximum over scroll amount for the shade when transition to the full shade. -->
|
||||
<item name="lockscreen_shade_max_over_scroll_amount" type="dimen">@dimen/comet_unfolded_lockscreen_shade_max_over_scroll_amount</item>
|
||||
</resources>
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<add-resource name="comet_unfolded_config_use_split_notification_shade" type="bool" />
|
||||
<bool name="comet_unfolded_config_use_split_notification_shade">true</bool>
|
||||
</resources>
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- The number of rows in the QuickSettings -->
|
||||
<integer name="quick_settings_max_rows">5</integer>
|
||||
|
||||
<!-- The number of rows in the paginated grid QuickSettings -->
|
||||
<integer name="quick_settings_paginated_grid_num_rows">5</integer>
|
||||
|
||||
<!-- Flag to activate notification to contents feature -->
|
||||
<bool name="config_notificationToContents">true</bool>
|
||||
</resources>
|
|
@ -0,0 +1,55 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<add-resource name="comet_unfolded_biometric_auth_pattern_view_size" type="dimen" />
|
||||
<dimen name="comet_unfolded_biometric_auth_pattern_view_size">348.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_control_list_horizontal_spacing" type="dimen" />
|
||||
<dimen name="comet_unfolded_control_list_horizontal_spacing">16.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_control_list_vertical_spacing" type="dimen" />
|
||||
<dimen name="comet_unfolded_control_list_vertical_spacing">8.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_controls_content_margin_horizontal" type="dimen" />
|
||||
<dimen name="comet_unfolded_controls_content_margin_horizontal">24.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_controls_content_padding" type="dimen" />
|
||||
<dimen name="comet_unfolded_controls_content_padding">24.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_controls_header_horizontal_padding" type="dimen" />
|
||||
<dimen name="comet_unfolded_controls_header_horizontal_padding">12.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_controls_panel_corner_radius" type="dimen" />
|
||||
<dimen name="comet_unfolded_controls_panel_corner_radius">42.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_keyguard_split_shade_top_margin" type="dimen" />
|
||||
<dimen name="comet_unfolded_keyguard_split_shade_top_margin">68.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_large_screen_shade_header_height" type="dimen" />
|
||||
<dimen name="comet_unfolded_large_screen_shade_header_height">42.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_lockscreen_shade_keyguard_transition_vertical_offset" type="dimen" />
|
||||
<dimen name="comet_unfolded_lockscreen_shade_keyguard_transition_vertical_offset">83.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_lockscreen_shade_max_over_scroll_amount" type="dimen" />
|
||||
<dimen name="comet_unfolded_lockscreen_shade_max_over_scroll_amount">32.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_notification_panel_margin_bottom" type="dimen" />
|
||||
<dimen name="comet_unfolded_notification_panel_margin_bottom">48.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_notification_panel_margin_horizontal" type="dimen" />
|
||||
<dimen name="comet_unfolded_notification_panel_margin_horizontal">24.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_notification_side_paddings" type="dimen" />
|
||||
<dimen name="comet_unfolded_notification_side_paddings">16.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_qqs_layout_padding_bottom" type="dimen" />
|
||||
<dimen name="comet_unfolded_qqs_layout_padding_bottom">16.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_qs_content_horizontal_padding" type="dimen" />
|
||||
<dimen name="comet_unfolded_qs_content_horizontal_padding">24.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_qs_horizontal_margin" type="dimen" />
|
||||
<dimen name="comet_unfolded_qs_horizontal_margin">24.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_qs_media_session_height_expanded" type="dimen" />
|
||||
<dimen name="comet_unfolded_qs_media_session_height_expanded">172.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_qs_tiles_page_horizontal_margin" type="dimen" />
|
||||
<dimen name="comet_unfolded_qs_tiles_page_horizontal_margin">12.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_split_shade_notifications_scrim_margin_bottom" type="dimen" />
|
||||
<dimen name="comet_unfolded_split_shade_notifications_scrim_margin_bottom">16.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_status_bar_icon_horizontal_margin" type="dimen" />
|
||||
<dimen name="comet_unfolded_status_bar_icon_horizontal_margin">0.0sp</dimen>
|
||||
<add-resource name="comet_unfolded_status_view_margin_horizontal" type="dimen" />
|
||||
<dimen name="comet_unfolded_status_view_margin_horizontal">8.0dip</dimen>
|
||||
<add-resource name="comet_unfolded_large_screen_shade_header_left_padding" type="dimen" />
|
||||
<item name="comet_unfolded_large_screen_shade_header_left_padding" type="dimen">@dimen/qs_horizontal_margin</item>
|
||||
<add-resource name="comet_unfolded_notification_section_divider_height" type="dimen" />
|
||||
<item name="comet_unfolded_notification_section_divider_height" type="dimen">@dimen/notification_side_paddings</item>
|
||||
</resources>
|
|
@ -0,0 +1,15 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
SPDX-FileCopyrightText: The LineageOS Project
|
||||
SPDX-License-Identifier: Apache-2.0
|
||||
-->
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<add-resource name="comet_unfolded_quick_qs_panel_max_rows" type="integer" />
|
||||
<integer name="comet_unfolded_quick_qs_panel_max_rows">2</integer>
|
||||
<add-resource name="comet_unfolded_quick_qs_panel_max_tiles" type="integer" />
|
||||
<integer name="comet_unfolded_quick_qs_panel_max_tiles">4</integer>
|
||||
<add-resource name="comet_unfolded_quick_settings_max_rows" type="integer" />
|
||||
<integer name="comet_unfolded_quick_settings_max_rows">5</integer>
|
||||
<add-resource name="comet_unfolded_quick_settings_num_columns" type="integer" />
|
||||
<integer name="comet_unfolded_quick_settings_num_columns">2</integer>
|
||||
</resources>
|
|
@ -49,7 +49,7 @@
|
|||
</string-array>
|
||||
|
||||
<!-- The ratio to use when using the two-pane settings layout -->
|
||||
<item name="config_activity_embed_split_ratio" format="float" type="dimen">0.5</item>
|
||||
<item name="config_activity_embed_split_ratio" type="dimen">0.5</item>
|
||||
|
||||
<!-- The smallest value of current width of the window when the split should be used. -->
|
||||
<integer name="config_activity_embed_split_min_cur_dp">600</integer>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue