blob: 9aa1f037344691566a60124fe03b2dcc9f08839c [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 -->
24 <string name="derived_app_name" translatable="false">@string/app_name</string>
25
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
y8dcd7e02021-08-23 22:44:11 -070052 <!-- config used to determine if header protection is supported in AllApps -->
53 <bool name="config_header_protection_supported">false</bool>
54
Sunny Goyal14168432019-10-24 15:59:49 -070055 <!-- Workspace -->
Patrick Dubroy046e7eb2010-10-06 12:14:43 -070056 <!-- The duration (in ms) of the fade animation on the object outlines, used when
57 we are dragging objects around on the home screen. -->
Adam Cohen0c4d2782021-04-29 15:56:13 -070058 <integer name="config_dragOutlineFadeTime">500</integer>
Patrick Dubroy046e7eb2010-10-06 12:14:43 -070059
60 <!-- The alpha value at which to show the most recent drop visualization outline. -->
Adam Cohenf7ca3b42021-02-22 11:03:58 -080061 <integer name="config_dragOutlineMaxAlpha">255</integer>
Patrick Dubroyce34a972010-10-19 10:34:32 -070062
63 <!-- Parameters controlling the animation for when an item is dropped on the home screen,
64 and it animates from its old position to the new one. -->
Winson Chung61b0c692012-02-23 16:31:13 -080065 <integer name="config_dropAnimMinDuration">100</integer>
Adam Cohen8dfcba42011-07-07 16:38:18 -070066 <integer name="config_dropAnimMaxDuration">500</integer>
Patrick Dubroyce34a972010-10-19 10:34:32 -070067
Adam Cohen7f4eabe2011-04-21 16:19:16 -070068 <!-- The duration of the UserFolder opening and closing animation -->
Adam Cohenc4fe9ea2014-08-18 18:54:10 -070069 <integer name="config_materialFolderExpandDuration">200</integer>
Jon Mirandace74d2a2017-03-23 10:17:55 -070070 <integer name="config_folderDelay">30</integer>
Adam Cohen7f4eabe2011-04-21 16:19:16 -070071
Patrick Dubroyce34a972010-10-19 10:34:32 -070072 <!-- The distance at which the animation should take the max duration -->
73 <integer name="config_dropAnimMaxDist">800</integer>
Adam Lesinski2a898a02010-12-09 21:04:15 -080074
Peter Schillera30b51c2016-07-13 14:04:13 -070075 <!-- The duration of the caret animation -->
76 <integer name="config_caretAnimationDuration">200</integer>
77
Sunny Goyal194f5852018-08-15 16:07:31 -070078 <!-- Various classes overriden by projects/build flavors. -->
Hyunyoung Song1ae42422020-01-26 23:25:14 -080079 <string name="folder_name_provider_class" translatable="false"></string>
Hyunyoung Songfc007472018-10-25 14:09:50 -070080 <string name="stats_log_manager_class" translatable="false"></string>
Sunny Goyalf5523922017-08-28 15:29:18 -070081 <string name="instant_app_resolver_class" translatable="false"></string>
Sunny Goyal66f2b352018-02-09 10:57:12 -080082 <string name="main_process_initializer_class" translatable="false"></string>
Sunny Goyal369212a2019-03-26 15:03:57 -070083 <string name="app_launch_tracker_class" translatable="false"></string>
Sunny Goyalab3963d2019-05-23 00:50:08 -070084 <string name="test_information_handler_class" translatable="false"></string>
Sunny Goyale529a862019-08-06 09:48:36 -070085 <string name="launcher_activity_logic_class" translatable="false"></string>
Sunny Goyal8b74cc72020-07-27 17:50:33 -070086 <string name="model_delegate_class" translatable="false"></string>
Sunny Goyal187b16c2022-03-01 16:53:23 -080087 <string name="window_manager_proxy_class" translatable="false"></string>
Sunny Goyal66f2b352018-02-09 10:57:12 -080088
Sunny Goyalebfae6e2015-08-27 15:30:25 -070089 <!-- View ID to use for QSB widget -->
90 <item type="id" name="qsb_widget" />
91
Sunny Goyale2fd14b2015-08-27 17:45:46 -070092 <!-- View ID used by cell layout to jail its content -->
93 <item type="id" name="cell_layout_jail_id" />
94
Sunny Goyal3fbca152017-11-02 18:55:44 -070095 <!-- View IDs to store item highlight information -->
96 <item type="id" name="view_unhighlight_background" />
Sunny Goyal3fbca152017-11-02 18:55:44 -070097
Samuel Fufae79b4692021-06-17 11:34:20 -050098 <!-- view ID used to restore work tab state -->
99 <item type="id" name="work_tab_state_id" />
100
Sunny Goyaleae05142018-10-24 16:20:37 -0700101 <!-- Menu id for feature flags -->
102 <item type="id" name="menu_apply_flags" />
103
Sunny Goyal14168432019-10-24 15:59:49 -0700104 <!-- Default packages -->
105 <string name="wallpaper_picker_package" translatable="false"></string>
Pratyushd51057a2021-11-18 10:33:31 +0000106 <string name="custom_activity_picker" translatable="false">
107 com.android.customization.picker.CustomizationPickerActivity</string>
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +0000108 <string name="local_colors_extraction_class" translatable="false"></string>
Brian Isganitis63c32ca2022-03-22 14:57:21 -0700109 <string name="search_session_manager_class" translatable="false"></string>
Sunny Goyal14168432019-10-24 15:59:49 -0700110
111 <!-- Accessibility actions -->
Sunny Goyal71b5c0b2015-01-08 16:59:04 -0800112 <item type="id" name="action_remove" />
113 <item type="id" name="action_uninstall" />
Winson Chung1054d4e2018-03-05 19:39:21 +0000114 <item type="id" name="action_reconfigure" />
Sunny Goyal71b5c0b2015-01-08 16:59:04 -0800115 <item type="id" name="action_add_to_workspace" />
Adam Cohenc9735cf2015-01-23 16:11:55 -0800116 <item type="id" name="action_move" />
Sunny Goyal9ae77772015-04-29 16:30:23 -0700117 <item type="id" name="action_move_to_workspace" />
Sunny Goyal1d08f702015-05-04 15:50:25 -0700118 <item type="id" name="action_move_screen_backwards" />
119 <item type="id" name="action_move_screen_forwards" />
Sunny Goyal9ca9c132015-04-29 14:57:22 -0700120 <item type="id" name="action_resize" />
Sunny Goyal3ffa64d2016-07-25 13:54:32 -0700121 <item type="id" name="action_deep_shortcuts" />
Vadim Trysheva50d99f2018-05-04 17:58:29 -0700122 <item type="id" name="action_shortcuts_and_notifications"/>
Tony18c4aa42017-05-10 21:23:57 -0500123 <item type="id" name="action_dismiss_notification" />
Vadim Tryshevdc7d25d2018-10-15 14:01:04 -0700124 <item type="id" name="action_remote_action_shortcut" />
Samuel Fufa5cf3e862020-02-03 20:22:54 -0800125 <item type="id" name="action_dismiss_prediction" />
Samuel Fufa6eaf9892020-04-01 11:40:40 -0700126 <item type="id" name="action_pin_prediction"/>
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700127
Sunny Goyal14168432019-10-24 15:59:49 -0700128 <!-- QSB IDs. DO not change -->
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700129 <item type="id" name="search_container_workspace" />
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700130 <item type="id" name="search_container_all_apps" />
Samuel Fufa2ea01e42020-12-02 13:48:18 -0600131 <item type="id" name="search_container_hotseat" />
Sunny Goyalc7b8df82017-06-27 11:11:03 -0700132
Sunny Goyal14168432019-10-24 15:59:49 -0700133 <!-- Recents -->
Vadim Tryshev6d2321c2018-04-11 17:19:08 -0700134 <item type="id" name="overview_panel"/>
Sunny Goyal7b97eeb2019-11-08 13:43:58 -0800135
Peter Kalauskas03c8f292020-02-18 16:20:27 -0800136 <!-- Whether to enable background preloading of task thumbnails. -->
137 <bool name="config_enableTaskSnapshotPreloading">true</bool>
138
Sunny Goyal7b97eeb2019-11-08 13:43:58 -0800139 <!-- Configuration resources -->
Jon Miranda7edcd782020-03-02 13:18:55 -0800140 <item name="all_apps_spring_damping_ratio" type="dimen" format="float">0.75</item>
141 <item name="all_apps_spring_stiffness" type="dimen" format="float">600</item>
142
Sunny Goyal7f9e8e22020-04-17 12:05:21 -0700143 <item name="dismiss_task_trans_y_damping_ratio" type="dimen" format="float">0.73</item>
144 <item name="dismiss_task_trans_y_stiffness" type="dimen" format="float">800</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800145
Sunny Goyal7f9e8e22020-04-17 12:05:21 -0700146 <item name="dismiss_task_trans_x_damping_ratio" type="dimen" format="float">0.73</item>
147 <item name="dismiss_task_trans_x_stiffness" type="dimen" format="float">800</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800148
Jon Miranda57dab6f2020-04-10 13:38:14 -0700149 <item name="horizontal_spring_damping_ratio" type="dimen" format="float">0.8</item>
Jon Mirandac2140bc2020-04-28 14:38:54 -0700150 <item name="horizontal_spring_stiffness" type="dimen" format="float">250</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800151
Jon Miranda1a304762020-03-04 10:21:17 -0800152 <item name="swipe_up_rect_scale_damping_ratio" type="dimen" format="float">0.75</item>
153 <item name="swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
154
155 <item name="swipe_up_rect_xy_fling_friction" type="dimen" format="float">1.5</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400156
Jon Miranda7d2dfcf2021-05-14 13:07:43 -0700157 <item name="swipe_up_scale_start" type="dimen" format="float">0.88</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400158
Jon Miranda1a304762020-03-04 10:21:17 -0800159 <item name="swipe_up_rect_xy_damping_ratio" type="dimen" format="float">0.8</item>
Jon Miranda8fbf5cd2021-05-03 15:58:43 -0700160 <item name="swipe_up_rect_xy_stiffness" type="dimen" format="float">200</item>
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400161
Jon Miranda7edcd782020-03-02 13:18:55 -0800162 <item name="staggered_damping_ratio" type="dimen" format="float">0.7</item>
163 <item name="staggered_stiffness" type="dimen" format="float">150</item>
Jon Miranda8d3d2752021-09-01 14:26:00 -0700164 <dimen name="unlock_staggered_velocity_dp_per_s">2dp</dimen>
Jon Miranda7edcd782020-03-02 13:18:55 -0800165
Jon Miranda27163852020-06-18 13:03:01 -0700166 <item name="hint_scale_damping_ratio" type="dimen" format="float">0.7</item>
167 <item name="hint_scale_stiffness" type="dimen" format="float">200</item>
168 <dimen name="hint_scale_velocity_dp_per_s">0.3dp</dimen>
169
Jon Miranda1a304762020-03-04 10:21:17 -0800170 <!-- Swipe up to home related -->
171 <dimen name="swipe_up_fling_min_visible_change">18dp</dimen>
Jon Miranda1a304762020-03-04 10:21:17 -0800172 <dimen name="swipe_up_max_workspace_trans_y">-60dp</dimen>
Jon Miranda13519e42021-09-14 13:59:07 -0700173 <dimen name="swipe_up_max_velocity">7.619dp</dimen>
Jon Miranda1a304762020-03-04 10:21:17 -0800174
Jon Miranda7edcd782020-03-02 13:18:55 -0800175 <array name="dynamic_resources">
Jon Mirandac9ad2dd2021-04-13 09:34:29 -0400176 <item>@dimen/swipe_up_scale_start</item>
Jon Miranda13519e42021-09-14 13:59:07 -0700177 <item>@dimen/swipe_up_max_velocity</item>
Jon Miranda7edcd782020-03-02 13:18:55 -0800178 </array>
Tony Wickhamd6f917f2020-03-19 13:19:31 -0700179
Sunny Goyal44840152020-08-25 23:22:18 -0700180 <string-array name="filtered_components" ></string-array>
Pierre Barbier de Reuilleab33b762021-02-16 20:58:35 +0000181
182 <!-- Name of the class used to generate colors from the wallpaper colors. Must be implementing the LauncherAppWidgetHostView.ColorGenerator interface. -->
183 <string name="color_generator_class" translatable="false"/>
184
Shan Huang581429b2022-01-27 06:30:41 +0000185 <!-- Swipe back to home related -->
186 <dimen name="swipe_back_window_scale_x_margin">10dp</dimen>
Shan Huang4ce2b402022-04-07 22:46:13 +0000187 <dimen name="swipe_back_window_max_delta_y">160dp</dimen>
Shan Huang581429b2022-01-27 06:30:41 +0000188 <dimen name="swipe_back_window_corner_radius">40dp</dimen>
Daniel Sandler388f6792010-03-02 14:08:08 -0500189</resources>