blob: 2a3b588245b78a49950588306ed5f221a5bcf187 [file] [log] [blame]
Andras Kloczlc2bd15f2022-03-30 18:06:13 +01001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2022 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
Daniel Sandler388f6792010-03-02 14:08:08 -050016<resources>
Sunny Goyal14168432019-10-24 15:59:49 -070017 <!-- Miscellaneous -->
Adam Cohen56901eb2011-07-25 14:54:22 -070018 <bool name="config_largeHeap">false</bool>
Winson Chunga62e9fd2011-07-11 15:20:48 -070019
Sunny Goyal112ce422016-08-22 16:45:29 -070020 <!-- A string pointer to the original app name string. This allows derived projects to
21 easily override the app name without providing all translations -->
22 <string name="derived_app_name" translatable="false">@string/app_name</string>
23
Jon Mirandac56e3ff2017-08-23 12:13:24 -070024 <!-- String representing the intent to delete a package.-->
25 <string name="delete_package_intent" translatable="false">#Intent;action=android.intent.action.DELETE;launchFlags=0x10800000;end</string>
26
Sunny Goyal7f920b82018-06-27 15:47:49 -070027 <!-- String representing the fragment class for settings activity.-->
Sunny Goyaleae05142018-10-24 16:20:37 -070028 <string name="settings_fragment_name" translatable="false">com.android.launcher3.settings.SettingsActivity$LauncherSettingsFragment</string>
Sunny Goyal7f920b82018-06-27 15:47:49 -070029
Sunny Goyal14168432019-10-24 15:59:49 -070030 <!-- AllApps & Launcher transitions -->
Andras Kloczlc2bd15f2022-03-30 18:06:13 +010031 <!-- The duration of the PagedView page snap animation -->
32 <integer name="config_pageSnapAnimationDuration">750</integer>
33
Schneider Victor-tulias1ca66992024-01-10 14:04:12 -050034 <!-- The duration of the PagedView page snap animation -->
35 <integer name="config_keyboardTaskFocusSnapAnimationDuration">750</integer>
36
Jon Miranda32ff76c2021-06-01 21:26:10 -070037 <!-- View tag key used to determine if we should fade in the child views.. -->
38 <string name="popup_container_iterate_children" translatable="false">popup_container_iterate_children</string>
39
Sunny Goyal14168432019-10-24 15:59:49 -070040 <!-- Workspace -->
Patrick Dubroy046e7eb2010-10-06 12:14:43 -070041 <!-- The duration (in ms) of the fade animation on the object outlines, used when
42 we are dragging objects around on the home screen. -->
Adam Cohen0c4d2782021-04-29 15:56:13 -070043 <integer name="config_dragOutlineFadeTime">500</integer>
Patrick Dubroy046e7eb2010-10-06 12:14:43 -070044
45 <!-- The alpha value at which to show the most recent drop visualization outline. -->
Adam Cohenf7ca3b42021-02-22 11:03:58 -080046 <integer name="config_dragOutlineMaxAlpha">255</integer>
Patrick Dubroyce34a972010-10-19 10:34:32 -070047
48 <!-- Parameters controlling the animation for when an item is dropped on the home screen,
49 and it animates from its old position to the new one. -->
Winson Chung61b0c692012-02-23 16:31:13 -080050 <integer name="config_dropAnimMinDuration">100</integer>
Adam Cohen8dfcba42011-07-07 16:38:18 -070051 <integer name="config_dropAnimMaxDuration">500</integer>
Patrick Dubroyce34a972010-10-19 10:34:32 -070052
Adam Cohen7f4eabe2011-04-21 16:19:16 -070053 <!-- The duration of the UserFolder opening and closing animation -->
Adam Cohenc4fe9ea2014-08-18 18:54:10 -070054 <integer name="config_materialFolderExpandDuration">200</integer>
Jon Mirandace74d2a2017-03-23 10:17:55 -070055 <integer name="config_folderDelay">30</integer>
Adam Cohen7f4eabe2011-04-21 16:19:16 -070056
Patrick Dubroyce34a972010-10-19 10:34:32 -070057 <!-- The distance at which the animation should take the max duration -->
58 <integer name="config_dropAnimMaxDist">800</integer>
Adam Lesinski2a898a02010-12-09 21:04:15 -080059
Peter Schillera30b51c2016-07-13 14:04:13 -070060 <!-- The duration of the caret animation -->
61 <integer name="config_caretAnimationDuration">200</integer>
62
Sunny Goyal194f5852018-08-15 16:07:31 -070063 <!-- Various classes overriden by projects/build flavors. -->
Hyunyoung Song1ae42422020-01-26 23:25:14 -080064 <string name="folder_name_provider_class" translatable="false"></string>
Hyunyoung Songfc007472018-10-25 14:09:50 -070065 <string name="stats_log_manager_class" translatable="false"></string>
Sunny Goyalf5523922017-08-28 15:29:18 -070066 <string name="instant_app_resolver_class" translatable="false"></string>
Sunny Goyal66f2b352018-02-09 10:57:12 -080067 <string name="main_process_initializer_class" translatable="false"></string>
Sunny Goyal369212a2019-03-26 15:03:57 -070068 <string name="app_launch_tracker_class" translatable="false"></string>
Sunny Goyalab3963d2019-05-23 00:50:08 -070069 <string name="test_information_handler_class" translatable="false"></string>
Sunny Goyale529a862019-08-06 09:48:36 -070070 <string name="launcher_activity_logic_class" translatable="false"></string>
Sunny Goyal8b74cc72020-07-27 17:50:33 -070071 <string name="model_delegate_class" translatable="false"></string>
Sunny Goyal187b16c2022-03-01 16:53:23 -080072 <string name="window_manager_proxy_class" translatable="false"></string>
Sukesh Ram1b4869f2022-06-06 21:40:11 +000073 <string name="secondary_display_predictions_class" translatable="false"></string>
Sihua Ma1db8bc22022-11-08 17:13:13 -080074 <string name="widget_holder_factory_class" translatable="false"></string>
Brian Isganitis7a5809e2023-05-17 21:54:16 +000075 <string name="taskbar_search_session_controller_class" translatable="false"></string>
Brian Isganitisd478b142023-05-22 22:12:15 +000076 <string name="taskbar_model_callbacks_factory_class" translatable="false"></string>
Andy Wickham0ae51bc2024-01-26 18:49:47 -080077 <string name="taskbar_view_callbacks_factory_class" translatable="false"></string>
Charlie Anderson489f1ad2023-10-25 17:30:55 -040078 <string name="launcher_restore_event_logger_class" translatable="false"></string>
Saumya Prakash17cd6ca2024-04-10 22:14:38 +000079 <string name="taskbar_edu_tooltip_controller_class" translatable="false"></string>
Sunny Goyalbd07c052024-04-05 11:19:17 -070080 <!-- Used for determining category of a widget presented in widget recommendations. -->
81 <string name="widget_recommendation_category_provider_class" translatable="false"></string>
Sunny Goyal11117d92024-03-25 16:12:10 -070082 <string name="api_wrapper_class" translatable="false"></string>
Sunny Goyaleae05142018-10-24 16:20:37 -070083
Sunny Goyal14168432019-10-24 15:59:49 -070084 <!-- Default packages -->
85 <string name="wallpaper_picker_package" translatable="false"></string>
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +000086 <string name="local_colors_extraction_class" translatable="false"></string>
Brian Isganitis63c32ca2022-03-22 14:57:21 -070087 <string name="search_session_manager_class" translatable="false"></string>
Sunny Goyal4a22ed82024-04-08 11:56:50 -070088 <string name="plugin_manager_wrapper_class" translatable="false"></string>
Sunny Goyalc7b8df82017-06-27 11:11:03 -070089
Thales Limab8c05952022-05-23 16:58:38 +010090 <!-- Scalable Grid configuration -->
91 <!-- This is a float because it is converted to dp later in DeviceProfile -->
92 <dimen name="hotseat_bar_bottom_space_default">48</dimen>
93 <dimen name="hotseat_qsb_space_default">0</dimen>
94
Peter Kalauskas03c8f292020-02-18 16:20:27 -080095 <!-- Whether to enable background preloading of task thumbnails. -->
96 <bool name="config_enableTaskSnapshotPreloading">true</bool>
97
Sunny Goyal7b97eeb2019-11-08 13:43:58 -080098 <!-- Configuration resources -->
Sunny Goyal7f9e8e22020-04-17 12:05:21 -070099 <item name="dismiss_task_trans_y_damping_ratio" type="dimen" format="float">0.73</item>
100 <item name="dismiss_task_trans_y_stiffness" type="dimen" format="float">800</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800101
Jon Miranda1a304762020-03-04 10:21:17 -0800102 <item name="swipe_up_rect_scale_damping_ratio" type="dimen" format="float">0.75</item>
103 <item name="swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
Jon Mirandada8c0f92022-08-05 15:43:48 -0700104 <item name="swipe_up_rect_scale_higher_stiffness" type="dimen" format="float">400</item>
Luca Zuccarinic9cbc9d2024-03-11 14:29:48 +0000105 <!-- Flag: enableScalingRevealHomeAnimation() -->
Luca Zuccarinia152f8f2024-05-13 13:29:07 +0000106 <item name="swipe_up_rect_scale_damping_ratio_v2" type="dimen" format="float">0.99</item>
107 <item name="swipe_up_rect_scale_stiffness_v2" type="dimen" format="float">500</item>
Jon Miranda1a304762020-03-04 10:21:17 -0800108
109 <item name="swipe_up_rect_xy_fling_friction" type="dimen" format="float">1.5</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400110
Jon Miranda7d2dfcf2021-05-14 13:07:43 -0700111 <item name="swipe_up_scale_start" type="dimen" format="float">0.88</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400112
Jon Miranda1a304762020-03-04 10:21:17 -0800113 <item name="swipe_up_rect_xy_damping_ratio" type="dimen" format="float">0.8</item>
Jon Miranda8fbf5cd2021-05-03 15:58:43 -0700114 <item name="swipe_up_rect_xy_stiffness" type="dimen" format="float">200</item>
Luca Zuccarinic9cbc9d2024-03-11 14:29:48 +0000115 <!-- Flag: enableScalingRevealHomeAnimation() -->
116 <item name="swipe_up_rect_x_damping_ratio" type="dimen" format="float">0.965</item>
Luca Zuccarinia152f8f2024-05-13 13:29:07 +0000117 <item name="swipe_up_rect_x_stiffness" type="dimen" format="float">450</item>
Luca Zuccarinic9cbc9d2024-03-11 14:29:48 +0000118 <item name="swipe_up_rect_y_damping_ratio" type="dimen" format="float">0.95</item>
Luca Zuccarinia152f8f2024-05-13 13:29:07 +0000119 <item name="swipe_up_rect_y_stiffness" type="dimen" format="float">400</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400120
Jon Miranda9c478b62023-03-23 21:38:49 -0700121 <!-- Taskbar -->
122 <!-- This is a float because it is converted to dp later in DeviceProfile -->
123 <item name="taskbar_icon_size" type="dimen" format="float">0</item>
124
Jon Miranda18c53ac2023-03-17 16:34:52 -0700125 <!-- These params are only used for hotseat items on devices that have a taskbar. -->
126 <item name="taskbar_swipe_up_rect_x_stiffness" type="dimen" format="float">350</item>
127 <item name="taskbar_swipe_up_rect_x_damping" type="dimen" format="float">0.9</item>
128 <item name="taskbar_swipe_up_rect_y_stiffness" type="dimen" format="float">200</item>
129 <item name="taskbar_swipe_up_rect_y_damping" type="dimen" format="float">0.78</item>
130 <item name="taskbar_swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
131
Jon Miranda7edcd782020-03-02 13:18:55 -0800132 <item name="staggered_damping_ratio" type="dimen" format="float">0.7</item>
133 <item name="staggered_stiffness" type="dimen" format="float">150</item>
Jon Miranda8d3d2752021-09-01 14:26:00 -0700134 <dimen name="unlock_staggered_velocity_dp_per_s">2dp</dimen>
Jon Miranda7edcd782020-03-02 13:18:55 -0800135
Jon Miranda27163852020-06-18 13:03:01 -0700136 <item name="hint_scale_damping_ratio" type="dimen" format="float">0.7</item>
137 <item name="hint_scale_stiffness" type="dimen" format="float">200</item>
138 <dimen name="hint_scale_velocity_dp_per_s">0.3dp</dimen>
139
Jon Miranda1a304762020-03-04 10:21:17 -0800140 <!-- Swipe up to home related -->
141 <dimen name="swipe_up_fling_min_visible_change">18dp</dimen>
Jon Miranda1a304762020-03-04 10:21:17 -0800142 <dimen name="swipe_up_max_workspace_trans_y">-60dp</dimen>
Jon Miranda13519e42021-09-14 13:59:07 -0700143 <dimen name="swipe_up_max_velocity">7.619dp</dimen>
Luca Zuccarinic9cbc9d2024-03-11 14:29:48 +0000144 <!-- Flag: enableScalingRevealHomeAnimation() -->
145 <item name="swipe_up_min_velocity_x_px_per_s" type="dimen" format="integer">300</item>
146 <item name="swipe_up_max_velocity_x_px_per_s" type="dimen" format="integer">500</item>
147 <item name="swipe_up_min_velocity_y_px_per_s" type="dimen" format="integer">2000</item>
148 <item name="swipe_up_max_velocity_y_px_per_s" type="dimen" format="integer">5000</item>
149 <item name="swipe_up_max_velocity_fall_off_factor" type="dimen" format="float">1.4</item>
Jon Miranda1a304762020-03-04 10:21:17 -0800150
Jon Miranda7edcd782020-03-02 13:18:55 -0800151 <array name="dynamic_resources">
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400152 <item>@dimen/swipe_up_scale_start</item>
Jon Miranda13519e42021-09-14 13:59:07 -0700153 <item>@dimen/swipe_up_max_velocity</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800154 </array>
Tony Wickhamd6f917f2020-03-19 13:19:31 -0700155
Sunny Goyal44840152020-08-25 23:22:18 -0700156 <string-array name="filtered_components" ></string-array>
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +0000157
Shan Huang581429b2022-01-27 06:30:41 +0000158 <!-- Swipe back to home related -->
159 <dimen name="swipe_back_window_scale_x_margin">10dp</dimen>
Shan Huang581429b2022-01-27 06:30:41 +0000160 <dimen name="swipe_back_window_corner_radius">40dp</dimen>
Alex Chau3d2c0622022-09-01 21:28:14 +0100161
162 <!-- The duration of the bottom sheet opening and closing animation -->
163 <integer name="config_bottomSheetOpenDuration">267</integer>
164 <integer name="config_bottomSheetCloseDuration">267</integer>
165
166 <!-- The duration of the AllApps opening and closing animation -->
167 <integer name="config_allAppsOpenDuration">600</integer>
168 <integer name="config_allAppsCloseDuration">300</integer>
169
170 <!-- The max scale for the wallpaper when it's zoomed in -->
171 <item name="config_wallpaperMaxScale" format="float" type="dimen">0</item>
Mady Mellor78c89932022-08-16 12:13:50 -0700172
Winson Chung39def732023-01-26 07:54:06 +0000173 <!-- Whether the floating rotation button should be on the left/right in the device's natural
174 orientation -->
175 <bool name="floating_rotation_button_position_left">true</bool>
Thales Lima2759aa32023-06-05 16:25:45 +0100176
177 <!-- Mapping of visual icon size to XML value http://b/235886078 -->
178 <dimen name="iconSize48dp">52dp</dimen>
179 <dimen name="iconSize50dp">55dp</dimen>
180 <dimen name="iconSize52dp">57dp</dimen>
181 <dimen name="iconSize54dp">59dp</dimen>
182 <dimen name="iconSize56dp">61dp</dimen>
183 <dimen name="iconSize58dp">63dp</dimen>
184 <dimen name="iconSize60dp">66dp</dimen>
185 <dimen name="iconSize66dp">72dp</dimen>
186 <dimen name="iconSize72dp">79dp</dimen>
Jordan Silva999dd2a2023-11-17 19:31:43 +0000187 <dimen name="iconSize82dp">90dp</dimen>
188 <dimen name="iconSize110dp">121dp</dimen>
189 <dimen name="iconSize144dp">158dp</dimen>
190
Thales Lima2759aa32023-06-05 16:25:45 +0100191
192 <!-- Icon size steps in dp -->
193 <integer-array name="icon_size_steps">
194 <item>@dimen/iconSize48dp</item>
195 <item>@dimen/iconSize50dp</item>
196 <item>@dimen/iconSize52dp</item>
197 <item>@dimen/iconSize54dp</item>
198 <item>@dimen/iconSize56dp</item>
199 <item>@dimen/iconSize58dp</item>
200 <item>@dimen/iconSize60dp</item>
201 <item>@dimen/iconSize66dp</item>
202 <item>@dimen/iconSize72dp</item>
Jordan Silva999dd2a2023-11-17 19:31:43 +0000203 <item>@dimen/iconSize82dp</item>
204 <item>@dimen/iconSize110dp</item>
205 <item>@dimen/iconSize144dp</item>
Thales Lima2759aa32023-06-05 16:25:45 +0100206 </integer-array>
fbaron30d9e3f2023-08-03 17:03:59 -0700207
Thales Lima24ceca62023-09-25 16:21:17 -0700208 <dimen name="minimum_icon_label_size">8sp</dimen>
209
fbaron30d9e3f2023-08-03 17:03:59 -0700210 <!-- Used for custom widgets -->
211 <array name="custom_widget_providers"/>
Anna Zhuravlevad986fda2024-01-12 18:04:36 +0000212
Sebastian Franco9ae40322023-10-10 10:50:28 -0700213 <!-- Embed parameters -->
214 <dimen name="activity_split_ratio" format="float">0.5</dimen>
215 <integer name="min_width_split">720</integer>
Anna Zhuravlevad986fda2024-01-12 18:04:36 +0000216
217 <!-- Skip "Install to private" long-press shortcut packages name -->
218 <string-array name="skip_private_profile_shortcut_packages" translatable="false">
219 <item>com.android.settings</item>
220 </string-array>
Winson Chung94e8ad02024-05-08 21:14:57 +0000221
222 <!-- Legacy list of components supporting multiple instances.
223 DO NOT ADD TO THIS LIST. Apps should use the PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI
224 property to declare multi-instance support in V+. This resource should match the resource
225 of the same name in SystemUI. -->
226 <string-array name="config_appsSupportMultiInstancesSplit">
227 </string-array>
Daniel Sandler388f6792010-03-02 14:08:08 -0500228</resources>