blob: 14812a8f44de90f483c425eb8584476a26817230 [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
Mario Bertschlerf30c63c2017-08-21 12:32:42 -070020 <integer name="extracted_color_gradient_alpha">153</integer>
Sunny Goyal6d1e9a12017-07-27 10:21:50 -070021
Sunny Goyal112ce422016-08-22 16:45:29 -070022 <!-- A string pointer to the original app name string. This allows derived projects to
23 easily override the app name without providing all translations -->
Alexander Martinzd97e43b2023-04-17 13:35:15 +020024 <string name="derived_app_name" translatable="false">@string/shiftos_app_name</string>
Sunny Goyal112ce422016-08-22 16:45:29 -070025
Sunny Goyal161f96b2017-05-07 11:56:00 -070026 <!-- String representing the intent for search on the apps market. To specify a query, add
27 q=<query> to the data to the intent -->
28 <string name="market_search_intent" translatable="false">market://search?c=apps</string>
29
Jon Mirandac56e3ff2017-08-23 12:13:24 -070030 <!-- String representing the intent to delete a package.-->
31 <string name="delete_package_intent" translatable="false">#Intent;action=android.intent.action.DELETE;launchFlags=0x10800000;end</string>
32
Sunny Goyal7f920b82018-06-27 15:47:49 -070033 <!-- String representing the fragment class for settings activity.-->
Sunny Goyaleae05142018-10-24 16:20:37 -070034 <string name="settings_fragment_name" translatable="false">com.android.launcher3.settings.SettingsActivity$LauncherSettingsFragment</string>
Sunny Goyal7f920b82018-06-27 15:47:49 -070035
Sunny Goyal14168432019-10-24 15:59:49 -070036 <!-- DragController -->
Sunny Goyal58376922015-05-26 18:56:52 -070037 <item type="id" name="drag_event_parity" />
Winson Chung6e1bdaf2012-05-29 17:03:45 -070038
Sunny Goyal14168432019-10-24 15:59:49 -070039 <!-- AllApps & Launcher transitions -->
Sunny Goyal50245032016-07-13 14:24:18 -070040 <!-- The duration of the animation from search hint to text entry -->
41 <integer name="config_searchHintAnimationDuration">50</integer>
42
Andras Kloczlc2bd15f2022-03-30 18:06:13 +010043 <!-- The duration of the PagedView page snap animation -->
44 <integer name="config_pageSnapAnimationDuration">750</integer>
45
Jon Miranda5c83e7c2017-06-06 15:41:21 -070046 <!-- View tag key used to store SpringAnimation data. -->
47 <item type="id" name="spring_animation_tag" />
48
Jon Miranda32ff76c2021-06-01 21:26:10 -070049 <!-- View tag key used to determine if we should fade in the child views.. -->
50 <string name="popup_container_iterate_children" translatable="false">popup_container_iterate_children</string>
51
Sunny Goyal14168432019-10-24 15:59:49 -070052 <!-- Workspace -->
Patrick Dubroy046e7eb2010-10-06 12:14:43 -070053 <!-- The duration (in ms) of the fade animation on the object outlines, used when
54 we are dragging objects around on the home screen. -->
Adam Cohen0c4d2782021-04-29 15:56:13 -070055 <integer name="config_dragOutlineFadeTime">500</integer>
Patrick Dubroy046e7eb2010-10-06 12:14:43 -070056
57 <!-- The alpha value at which to show the most recent drop visualization outline. -->
Adam Cohenf7ca3b42021-02-22 11:03:58 -080058 <integer name="config_dragOutlineMaxAlpha">255</integer>
Patrick Dubroyce34a972010-10-19 10:34:32 -070059
60 <!-- Parameters controlling the animation for when an item is dropped on the home screen,
61 and it animates from its old position to the new one. -->
Winson Chung61b0c692012-02-23 16:31:13 -080062 <integer name="config_dropAnimMinDuration">100</integer>
Adam Cohen8dfcba42011-07-07 16:38:18 -070063 <integer name="config_dropAnimMaxDuration">500</integer>
Patrick Dubroyce34a972010-10-19 10:34:32 -070064
Adam Cohen7f4eabe2011-04-21 16:19:16 -070065 <!-- The duration of the UserFolder opening and closing animation -->
Adam Cohenc4fe9ea2014-08-18 18:54:10 -070066 <integer name="config_materialFolderExpandDuration">200</integer>
Jon Mirandace74d2a2017-03-23 10:17:55 -070067 <integer name="config_folderDelay">30</integer>
Adam Cohen7f4eabe2011-04-21 16:19:16 -070068
Patrick Dubroyce34a972010-10-19 10:34:32 -070069 <!-- The distance at which the animation should take the max duration -->
70 <integer name="config_dropAnimMaxDist">800</integer>
Adam Lesinski2a898a02010-12-09 21:04:15 -080071
Peter Schillera30b51c2016-07-13 14:04:13 -070072 <!-- The duration of the caret animation -->
73 <integer name="config_caretAnimationDuration">200</integer>
74
Sunny Goyal194f5852018-08-15 16:07:31 -070075 <!-- Various classes overriden by projects/build flavors. -->
Hyunyoung Song1ae42422020-01-26 23:25:14 -080076 <string name="folder_name_provider_class" translatable="false"></string>
Hyunyoung Songfc007472018-10-25 14:09:50 -070077 <string name="stats_log_manager_class" translatable="false"></string>
Sunny Goyalf5523922017-08-28 15:29:18 -070078 <string name="instant_app_resolver_class" translatable="false"></string>
Sunny Goyal66f2b352018-02-09 10:57:12 -080079 <string name="main_process_initializer_class" translatable="false"></string>
Sunny Goyal369212a2019-03-26 15:03:57 -070080 <string name="app_launch_tracker_class" translatable="false"></string>
Sunny Goyalab3963d2019-05-23 00:50:08 -070081 <string name="test_information_handler_class" translatable="false"></string>
Sunny Goyale529a862019-08-06 09:48:36 -070082 <string name="launcher_activity_logic_class" translatable="false"></string>
Sunny Goyal8b74cc72020-07-27 17:50:33 -070083 <string name="model_delegate_class" translatable="false"></string>
Sunny Goyal187b16c2022-03-01 16:53:23 -080084 <string name="window_manager_proxy_class" translatable="false"></string>
Sukesh Ram1b4869f2022-06-06 21:40:11 +000085 <string name="secondary_display_predictions_class" translatable="false"></string>
Sihua Ma1db8bc22022-11-08 17:13:13 -080086 <string name="widget_holder_factory_class" translatable="false"></string>
Sunny Goyal66f2b352018-02-09 10:57:12 -080087
Sunny Goyalebfae6e2015-08-27 15:30:25 -070088 <!-- View ID to use for QSB widget -->
89 <item type="id" name="qsb_widget" />
90
Sunny Goyale2fd14b2015-08-27 17:45:46 -070091 <!-- View ID used by cell layout to jail its content -->
92 <item type="id" name="cell_layout_jail_id" />
93
Sunny Goyal3fbca152017-11-02 18:55:44 -070094 <!-- View IDs to store item highlight information -->
95 <item type="id" name="view_unhighlight_background" />
Sunny Goyal3fbca152017-11-02 18:55:44 -070096
Samuel Fufae79b4692021-06-17 11:34:20 -050097 <!-- view ID used to restore work tab state -->
98 <item type="id" name="work_tab_state_id" />
99
Sunny Goyaleae05142018-10-24 16:20:37 -0700100 <!-- Menu id for feature flags -->
101 <item type="id" name="menu_apply_flags" />
102
Sunny Goyal14168432019-10-24 15:59:49 -0700103 <!-- Default packages -->
104 <string name="wallpaper_picker_package" translatable="false"></string>
Pratyushd51057a2021-11-18 10:33:31 +0000105 <string name="custom_activity_picker" translatable="false">
106 com.android.customization.picker.CustomizationPickerActivity</string>
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +0000107 <string name="local_colors_extraction_class" translatable="false"></string>
Brian Isganitis63c32ca2022-03-22 14:57:21 -0700108 <string name="search_session_manager_class" translatable="false"></string>
Sunny Goyal14168432019-10-24 15:59:49 -0700109
110 <!-- Accessibility actions -->
Sunny Goyal71b5c0b2015-01-08 16:59:04 -0800111 <item type="id" name="action_remove" />
112 <item type="id" name="action_uninstall" />
Winson Chung1054d4e2018-03-05 19:39:21 +0000113 <item type="id" name="action_reconfigure" />
Sunny Goyal71b5c0b2015-01-08 16:59:04 -0800114 <item type="id" name="action_add_to_workspace" />
Adam Cohenc9735cf2015-01-23 16:11:55 -0800115 <item type="id" name="action_move" />
Sunny Goyal9ae77772015-04-29 16:30:23 -0700116 <item type="id" name="action_move_to_workspace" />
Sunny Goyal1d08f702015-05-04 15:50:25 -0700117 <item type="id" name="action_move_screen_backwards" />
118 <item type="id" name="action_move_screen_forwards" />
Sunny Goyal9ca9c132015-04-29 14:57:22 -0700119 <item type="id" name="action_resize" />
Sunny Goyal3ffa64d2016-07-25 13:54:32 -0700120 <item type="id" name="action_deep_shortcuts" />
Vadim Trysheva50d99f2018-05-04 17:58:29 -0700121 <item type="id" name="action_shortcuts_and_notifications"/>
Tony18c4aa42017-05-10 21:23:57 -0500122 <item type="id" name="action_dismiss_notification" />
Vadim Tryshevdc7d25d2018-10-15 14:01:04 -0700123 <item type="id" name="action_remote_action_shortcut" />
Samuel Fufa5cf3e862020-02-03 20:22:54 -0800124 <item type="id" name="action_dismiss_prediction" />
Samuel Fufa6eaf9892020-04-01 11:40:40 -0700125 <item type="id" name="action_pin_prediction"/>
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700126
Sunny Goyal14168432019-10-24 15:59:49 -0700127 <!-- QSB IDs. DO not change -->
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700128 <item type="id" name="search_container_workspace" />
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700129 <item type="id" name="search_container_all_apps" />
Samuel Fufa2ea01e42020-12-02 13:48:18 -0600130 <item type="id" name="search_container_hotseat" />
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700131
Thales Limab8c05952022-05-23 16:58:38 +0100132 <!-- Scalable Grid configuration -->
133 <!-- This is a float because it is converted to dp later in DeviceProfile -->
134 <dimen name="hotseat_bar_bottom_space_default">48</dimen>
135 <dimen name="hotseat_qsb_space_default">0</dimen>
136
Sunny Goyal14168432019-10-24 15:59:49 -0700137 <!-- Recents -->
Vadim Tryshev6d2321c2018-04-11 17:19:08 -0700138 <item type="id" name="overview_panel"/>
Sunny Goyal7b97eeb2019-11-08 13:43:58 -0800139
Peter Kalauskas03c8f292020-02-18 16:20:27 -0800140 <!-- Whether to enable background preloading of task thumbnails. -->
141 <bool name="config_enableTaskSnapshotPreloading">true</bool>
142
Sunny Goyal7b97eeb2019-11-08 13:43:58 -0800143 <!-- Configuration resources -->
Jon Miranda7edcd782020-03-02 13:18:55 -0800144 <item name="all_apps_spring_damping_ratio" type="dimen" format="float">0.75</item>
145 <item name="all_apps_spring_stiffness" type="dimen" format="float">600</item>
146
Sunny Goyal7f9e8e22020-04-17 12:05:21 -0700147 <item name="dismiss_task_trans_y_damping_ratio" type="dimen" format="float">0.73</item>
148 <item name="dismiss_task_trans_y_stiffness" type="dimen" format="float">800</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800149
Sunny Goyal7f9e8e22020-04-17 12:05:21 -0700150 <item name="dismiss_task_trans_x_damping_ratio" type="dimen" format="float">0.73</item>
151 <item name="dismiss_task_trans_x_stiffness" type="dimen" format="float">800</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800152
Jon Miranda57dab6f2020-04-10 13:38:14 -0700153 <item name="horizontal_spring_damping_ratio" type="dimen" format="float">0.8</item>
Jon Mirandac2140bc2020-04-28 14:38:54 -0700154 <item name="horizontal_spring_stiffness" type="dimen" format="float">250</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800155
Jon Miranda1a304762020-03-04 10:21:17 -0800156 <item name="swipe_up_rect_scale_damping_ratio" type="dimen" format="float">0.75</item>
157 <item name="swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
Jon Mirandada8c0f92022-08-05 15:43:48 -0700158 <item name="swipe_up_rect_scale_higher_stiffness" type="dimen" format="float">400</item>
Jon Miranda1a304762020-03-04 10:21:17 -0800159
160 <item name="swipe_up_rect_xy_fling_friction" type="dimen" format="float">1.5</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400161
Jon Miranda7d2dfcf2021-05-14 13:07:43 -0700162 <item name="swipe_up_scale_start" type="dimen" format="float">0.88</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400163
Jon Miranda1a304762020-03-04 10:21:17 -0800164 <item name="swipe_up_rect_xy_damping_ratio" type="dimen" format="float">0.8</item>
Jon Miranda8fbf5cd2021-05-03 15:58:43 -0700165 <item name="swipe_up_rect_xy_stiffness" type="dimen" format="float">200</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400166
Jon Miranda9c478b62023-03-23 21:38:49 -0700167 <!-- Taskbar -->
168 <!-- This is a float because it is converted to dp later in DeviceProfile -->
169 <item name="taskbar_icon_size" type="dimen" format="float">0</item>
170
Jon Miranda18c53ac2023-03-17 16:34:52 -0700171 <!-- These params are only used for hotseat items on devices that have a taskbar. -->
172 <item name="taskbar_swipe_up_rect_x_stiffness" type="dimen" format="float">350</item>
173 <item name="taskbar_swipe_up_rect_x_damping" type="dimen" format="float">0.9</item>
174 <item name="taskbar_swipe_up_rect_y_stiffness" type="dimen" format="float">200</item>
175 <item name="taskbar_swipe_up_rect_y_damping" type="dimen" format="float">0.78</item>
176 <item name="taskbar_swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
177
Jon Miranda7edcd782020-03-02 13:18:55 -0800178 <item name="staggered_damping_ratio" type="dimen" format="float">0.7</item>
179 <item name="staggered_stiffness" type="dimen" format="float">150</item>
Jon Miranda8d3d2752021-09-01 14:26:00 -0700180 <dimen name="unlock_staggered_velocity_dp_per_s">2dp</dimen>
Jon Miranda7edcd782020-03-02 13:18:55 -0800181
Jon Miranda27163852020-06-18 13:03:01 -0700182 <item name="hint_scale_damping_ratio" type="dimen" format="float">0.7</item>
183 <item name="hint_scale_stiffness" type="dimen" format="float">200</item>
184 <dimen name="hint_scale_velocity_dp_per_s">0.3dp</dimen>
185
Jon Miranda1a304762020-03-04 10:21:17 -0800186 <!-- Swipe up to home related -->
187 <dimen name="swipe_up_fling_min_visible_change">18dp</dimen>
Jon Miranda1a304762020-03-04 10:21:17 -0800188 <dimen name="swipe_up_max_workspace_trans_y">-60dp</dimen>
Jon Miranda13519e42021-09-14 13:59:07 -0700189 <dimen name="swipe_up_max_velocity">7.619dp</dimen>
Jon Miranda1a304762020-03-04 10:21:17 -0800190
Jon Miranda7edcd782020-03-02 13:18:55 -0800191 <array name="dynamic_resources">
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400192 <item>@dimen/swipe_up_scale_start</item>
Jon Miranda13519e42021-09-14 13:59:07 -0700193 <item>@dimen/swipe_up_max_velocity</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800194 </array>
Tony Wickhamd6f917f2020-03-19 13:19:31 -0700195
Sunny Goyal44840152020-08-25 23:22:18 -0700196 <string-array name="filtered_components" ></string-array>
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +0000197
198 <!-- Name of the class used to generate colors from the wallpaper colors. Must be implementing the LauncherAppWidgetHostView.ColorGenerator interface. -->
199 <string name="color_generator_class" translatable="false"/>
200
Shan Huang581429b2022-01-27 06:30:41 +0000201 <!-- Swipe back to home related -->
202 <dimen name="swipe_back_window_scale_x_margin">10dp</dimen>
Shan Huang4ce2b402022-04-07 22:46:13 +0000203 <dimen name="swipe_back_window_max_delta_y">160dp</dimen>
Shan Huang581429b2022-01-27 06:30:41 +0000204 <dimen name="swipe_back_window_corner_radius">40dp</dimen>
Alex Chau3d2c0622022-09-01 21:28:14 +0100205
206 <!-- The duration of the bottom sheet opening and closing animation -->
207 <integer name="config_bottomSheetOpenDuration">267</integer>
208 <integer name="config_bottomSheetCloseDuration">267</integer>
209
210 <!-- The duration of the AllApps opening and closing animation -->
211 <integer name="config_allAppsOpenDuration">600</integer>
212 <integer name="config_allAppsCloseDuration">300</integer>
213
214 <!-- The max scale for the wallpaper when it's zoomed in -->
215 <item name="config_wallpaperMaxScale" format="float" type="dimen">0</item>
Mady Mellor78c89932022-08-16 12:13:50 -0700216
Winson Chung39def732023-01-26 07:54:06 +0000217 <!-- Whether the floating rotation button should be on the left/right in the device's natural
218 orientation -->
219 <bool name="floating_rotation_button_position_left">true</bool>
Daniel Sandler388f6792010-03-02 14:08:08 -0500220</resources>