• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?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-->
16<resources>
17    <!-- Miscellaneous -->
18    <bool name="config_largeHeap">false</bool>
19
20    <!-- 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
24    <!-- 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
27    <!-- String representing the fragment class for settings activity.-->
28    <string name="settings_fragment_name" translatable="false">com.android.launcher3.settings.SettingsActivity$LauncherSettingsFragment</string>
29
30    <!-- AllApps & Launcher transitions -->
31    <!-- The duration of the PagedView page snap animation -->
32    <integer name="config_pageSnapAnimationDuration">750</integer>
33
34    <!-- The duration of the PagedView page snap animation -->
35    <integer name="config_keyboardTaskFocusSnapAnimationDuration">750</integer>
36
37    <!-- 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
40    <!-- Workspace -->
41    <!-- The duration (in ms) of the fade animation on the object outlines, used when
42         we are dragging objects around on the home screen. -->
43    <integer name="config_dragOutlineFadeTime">500</integer>
44
45    <!-- The alpha value at which to show the most recent drop visualization outline. -->
46    <integer name="config_dragOutlineMaxAlpha">255</integer>
47
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. -->
50    <integer name="config_dropAnimMinDuration">100</integer>
51    <integer name="config_dropAnimMaxDuration">500</integer>
52
53    <!-- The duration of the UserFolder opening and closing animation -->
54    <integer name="config_materialFolderExpandDuration">200</integer>
55    <integer name="config_folderDelay">30</integer>
56
57    <!-- The distance at which the animation should take the max duration -->
58    <integer name="config_dropAnimMaxDist">800</integer>
59
60    <!-- The duration of the caret animation -->
61    <integer name="config_caretAnimationDuration">200</integer>
62
63    <!-- Various classes overriden by projects/build flavors. -->
64    <string name="folder_name_provider_class" translatable="false"></string>
65    <string name="stats_log_manager_class" translatable="false"></string>
66    <string name="instant_app_resolver_class" translatable="false"></string>
67    <string name="main_process_initializer_class" translatable="false"></string>
68    <string name="app_launch_tracker_class" translatable="false"></string>
69    <string name="test_information_handler_class" translatable="false"></string>
70    <string name="secondary_display_predictions_class" translatable="false"></string>
71    <string name="taskbar_search_session_controller_class" translatable="false"></string>
72    <string name="taskbar_model_callbacks_factory_class" translatable="false"></string>
73    <string name="taskbar_view_callbacks_factory_class" translatable="false"></string>
74    <string name="launcher_restore_event_logger_class" translatable="false"></string>
75    <string name="taskbar_edu_tooltip_controller_class" translatable="false"></string>
76
77    <!-- Default packages -->
78    <string name="wallpaper_picker_package" translatable="false"></string>
79    <string name="local_colors_extraction_class" translatable="false"></string>
80    <string name="search_session_manager_class" translatable="false"></string>
81
82    <!-- Scalable Grid configuration -->
83    <!-- This is a float because it is converted to dp later in DeviceProfile -->
84    <dimen name="hotseat_bar_bottom_space_default">48</dimen>
85    <dimen name="hotseat_qsb_space_default">0</dimen>
86
87    <!-- Whether to enable background preloading of task thumbnails. -->
88    <bool name="config_enableTaskSnapshotPreloading">true</bool>
89
90    <!-- Configuration resources -->
91    <item name="dismiss_task_trans_y_damping_ratio" type="dimen" format="float">0.73</item>
92    <item name="dismiss_task_trans_y_stiffness" type="dimen" format="float">800</item>
93
94    <item name="swipe_up_rect_scale_damping_ratio" type="dimen" format="float">0.75</item>
95    <item name="swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
96    <item name="swipe_up_rect_scale_higher_stiffness" type="dimen" format="float">400</item>
97    <!-- Flag: enableScalingRevealHomeAnimation() -->
98    <item name="swipe_up_rect_scale_damping_ratio_v2" type="dimen" format="float">0.99</item>
99    <item name="swipe_up_rect_scale_stiffness_v2" type="dimen" format="float">500</item>
100
101    <item name="swipe_up_rect_xy_fling_friction" type="dimen" format="float">1.5</item>
102
103    <item name="swipe_up_scale_start"  type="dimen" format="float">0.88</item>
104
105    <item name="swipe_up_rect_xy_damping_ratio" type="dimen" format="float">0.8</item>
106    <item name="swipe_up_rect_xy_stiffness" type="dimen" format="float">200</item>
107    <!-- Flag: enableScalingRevealHomeAnimation() -->
108    <item name="swipe_up_rect_x_damping_ratio" type="dimen" format="float">0.965</item>
109    <item name="swipe_up_rect_x_stiffness" type="dimen" format="float">450</item>
110    <item name="swipe_up_rect_y_damping_ratio" type="dimen" format="float">0.95</item>
111    <item name="swipe_up_rect_y_stiffness" type="dimen" format="float">400</item>
112
113    <!-- Expressive Dismiss -->
114    <item name="expressive_dismiss_task_trans_y_damping_ratio" type="dimen" format="float">0.6</item>
115    <item name="expressive_dismiss_task_trans_y_stiffness" type="dimen" format="float">900</item>
116    <item name="expressive_dismiss_task_trans_x_damping_ratio" type="dimen" format="float">0.8</item>
117    <item name="expressive_dismiss_task_trans_x_stiffness" type="dimen" format="float">900</item>
118
119    <!-- Taskbar -->
120    <!-- This is a float because it is converted to dp later in DeviceProfile -->
121    <item name="taskbar_icon_size" type="dimen" format="float">0</item>
122
123    <!-- These params are only used for hotseat items on devices that have a taskbar. -->
124    <item name="taskbar_swipe_up_rect_x_stiffness" type="dimen" format="float">350</item>
125    <item name="taskbar_swipe_up_rect_x_damping" type="dimen" format="float">0.9</item>
126    <item name="taskbar_swipe_up_rect_y_stiffness" type="dimen" format="float">200</item>
127    <item name="taskbar_swipe_up_rect_y_damping" type="dimen" format="float">0.78</item>
128    <item name="taskbar_swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
129
130    <item name="staggered_damping_ratio" type="dimen" format="float">0.7</item>
131    <item name="staggered_stiffness" type="dimen" format="float">150</item>
132    <dimen name="unlock_staggered_velocity_dp_per_s">2dp</dimen>
133
134    <item name="hint_scale_damping_ratio" type="dimen" format="float">0.7</item>
135    <item name="hint_scale_stiffness" type="dimen" format="float">200</item>
136    <dimen name="hint_scale_velocity_dp_per_s">0.3dp</dimen>
137
138    <!-- Swipe up to home related -->
139    <dimen name="swipe_up_fling_min_visible_change">18dp</dimen>
140    <dimen name="swipe_up_max_workspace_trans_y">-60dp</dimen>
141    <dimen name="swipe_up_max_velocity">7.619dp</dimen>
142    <!-- Flag: enableScalingRevealHomeAnimation() -->
143    <item name="swipe_up_min_velocity_x_px_per_s" type="dimen" format="integer">300</item>
144    <item name="swipe_up_max_velocity_x_px_per_s" type="dimen" format="integer">500</item>
145    <item name="swipe_up_min_velocity_y_px_per_s" type="dimen" format="integer">2000</item>
146    <item name="swipe_up_max_velocity_y_px_per_s" type="dimen" format="integer">5000</item>
147    <item name="swipe_up_max_velocity_fall_off_factor" type="dimen" format="float">1.4</item>
148
149    <array name="dynamic_resources">
150        <item>@dimen/swipe_up_scale_start</item>
151        <item>@dimen/swipe_up_max_velocity</item>
152    </array>
153
154    <string-array name="filtered_components" ></string-array>
155
156    <!-- Swipe back to home related -->
157    <dimen name="swipe_back_window_scale_x_margin">10dp</dimen>
158    <dimen name="swipe_back_window_corner_radius">40dp</dimen>
159
160    <!-- The duration of the bottom sheet opening and closing animation -->
161    <integer name="config_bottomSheetOpenDuration">267</integer>
162    <integer name="config_bottomSheetCloseDuration">267</integer>
163
164    <!-- The duration of the AllApps opening and closing animation -->
165    <integer name="config_allAppsOpenDuration">600</integer>
166    <integer name="config_allAppsCloseDuration">300</integer>
167
168    <!-- The max scale for the wallpaper when it's zoomed in -->
169    <item name="config_wallpaperMaxScale" format="float" type="dimen">0</item>
170
171    <!-- Whether the floating rotation button should be on the left/right in the device's natural
172         orientation -->
173    <bool name="floating_rotation_button_position_left">true</bool>
174
175    <!--  Mapping of visual icon size to XML value http://b/235886078  -->
176    <dimen name="iconSize48dp">52dp</dimen>
177    <dimen name="iconSize50dp">55dp</dimen>
178    <dimen name="iconSize52dp">57dp</dimen>
179    <dimen name="iconSize54dp">59dp</dimen>
180    <dimen name="iconSize56dp">61dp</dimen>
181    <dimen name="iconSize58dp">63dp</dimen>
182    <dimen name="iconSize60dp">66dp</dimen>
183    <dimen name="iconSize66dp">72dp</dimen>
184    <dimen name="iconSize72dp">79dp</dimen>
185    <dimen name="iconSize82dp">90dp</dimen>
186    <dimen name="iconSize110dp">121dp</dimen>
187    <dimen name="iconSize144dp">158dp</dimen>
188
189
190    <!--  Icon size steps in dp  -->
191    <integer-array name="icon_size_steps">
192        <item>@dimen/iconSize48dp</item>
193        <item>@dimen/iconSize50dp</item>
194        <item>@dimen/iconSize52dp</item>
195        <item>@dimen/iconSize54dp</item>
196        <item>@dimen/iconSize56dp</item>
197        <item>@dimen/iconSize58dp</item>
198        <item>@dimen/iconSize60dp</item>
199        <item>@dimen/iconSize66dp</item>
200        <item>@dimen/iconSize72dp</item>
201        <item>@dimen/iconSize82dp</item>
202        <item>@dimen/iconSize110dp</item>
203        <item>@dimen/iconSize144dp</item>
204    </integer-array>
205
206    <dimen name="minimum_icon_label_size">8sp</dimen>
207
208    <!--  Used for custom widgets  -->
209    <array name="custom_widget_providers"/>
210
211    <!-- Embed parameters -->
212    <dimen name="activity_split_ratio"  format="float">0.5</dimen>
213    <integer name="min_width_split">720</integer>
214
215    <!-- Skip "Install to private" long-press shortcut packages name -->
216    <string-array name="skip_private_profile_shortcut_packages" translatable="false">
217        <item>com.android.settings</item>
218    </string-array>
219
220    <!-- Legacy list of components supporting multiple instances.
221         DO NOT ADD TO THIS LIST.  Apps should use the PROPERTY_SUPPORTS_MULTI_INSTANCE_SYSTEM_UI
222         property to declare multi-instance support in V+. This resource should match the resource
223         of the same name in SystemUI. -->
224    <string-array name="config_appsSupportMultiInstancesSplit">
225    </string-array>
226
227    <!-- Used to differentiate between desktop and non-desktop devices. -->
228    <bool name="desktop_form_factor">false</bool>
229</resources>
230