config.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2022 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <resources>
  14. <!-- Miscellaneous -->
  15. <bool name="config_largeHeap">false</bool>
  16. <integer name="extracted_color_gradient_alpha">153</integer>
  17. <!-- A string pointer to the original app name string. This allows derived projects to
  18. easily override the app name without providing all translations -->
  19. <string name="derived_app_name" translatable="false">@string/app_name</string>
  20. <!-- String representing the intent for search on the apps market. To specify a query, add
  21. q=<query> to the data to the intent -->
  22. <string name="market_search_intent" translatable="false">market://search?c=apps</string>
  23. <!-- String representing the intent to delete a package.-->
  24. <string name="delete_package_intent" translatable="false">#Intent;action=android.intent.action.DELETE;launchFlags=0x10800000;end</string>
  25. <!-- String representing the fragment class for settings activity.-->
  26. <string name="settings_fragment_name" translatable="false">com.android.launcher3.settings.SettingsActivity$LauncherSettingsFragment</string>
  27. <!-- DragController -->
  28. <item type="id" name="drag_event_parity" />
  29. <!-- AllApps & Launcher transitions -->
  30. <!-- The duration of the animation from search hint to text entry -->
  31. <integer name="config_searchHintAnimationDuration">50</integer>
  32. <!-- The duration of the PagedView page snap animation -->
  33. <integer name="config_pageSnapAnimationDuration">750</integer>
  34. <!-- View tag key used to store SpringAnimation data. -->
  35. <item type="id" name="spring_animation_tag" />
  36. <!-- View tag key used to determine if we should fade in the child views.. -->
  37. <string name="popup_container_iterate_children" translatable="false">popup_container_iterate_children</string>
  38. <!-- Workspace -->
  39. <!-- The duration (in ms) of the fade animation on the object outlines, used when
  40. we are dragging objects around on the home screen. -->
  41. <integer name="config_dragOutlineFadeTime">500</integer>
  42. <!-- The alpha value at which to show the most recent drop visualization outline. -->
  43. <integer name="config_dragOutlineMaxAlpha">255</integer>
  44. <!-- Parameters controlling the animation for when an item is dropped on the home screen,
  45. and it animates from its old position to the new one. -->
  46. <integer name="config_dropAnimMinDuration">100</integer>
  47. <integer name="config_dropAnimMaxDuration">500</integer>
  48. <!-- The duration of the UserFolder opening and closing animation -->
  49. <integer name="config_materialFolderExpandDuration">200</integer>
  50. <integer name="config_folderDelay">30</integer>
  51. <!-- The distance at which the animation should take the max duration -->
  52. <integer name="config_dropAnimMaxDist">800</integer>
  53. <!-- The duration of the caret animation -->
  54. <integer name="config_caretAnimationDuration">200</integer>
  55. <!-- Various classes overriden by projects/build flavors. -->
  56. <string name="folder_name_provider_class" translatable="false"></string>
  57. <string name="stats_log_manager_class" translatable="false"></string>
  58. <string name="instant_app_resolver_class" translatable="false"></string>
  59. <string name="main_process_initializer_class" translatable="false"></string>
  60. <string name="app_launch_tracker_class" translatable="false"></string>
  61. <string name="test_information_handler_class" translatable="false"></string>
  62. <string name="launcher_activity_logic_class" translatable="false"></string>
  63. <string name="model_delegate_class" translatable="false"></string>
  64. <string name="window_manager_proxy_class" translatable="false"></string>
  65. <string name="secondary_display_predictions_class" translatable="false"></string>
  66. <string name="widget_holder_factory_class" translatable="false"></string>
  67. <!-- View ID to use for QSB widget -->
  68. <item type="id" name="qsb_widget" />
  69. <!-- View ID used by cell layout to jail its content -->
  70. <item type="id" name="cell_layout_jail_id" />
  71. <!-- View IDs to store item highlight information -->
  72. <item type="id" name="view_unhighlight_background" />
  73. <!-- view ID used to restore work tab state -->
  74. <item type="id" name="work_tab_state_id" />
  75. <!-- Menu id for feature flags -->
  76. <item type="id" name="menu_apply_flags" />
  77. <!-- Default packages -->
  78. <string name="wallpaper_picker_package" translatable="false"></string>
  79. <string name="custom_activity_picker" translatable="false">
  80. com.android.customization.picker.CustomizationPickerActivity</string>
  81. <string name="local_colors_extraction_class" translatable="false"></string>
  82. <string name="search_session_manager_class" translatable="false"></string>
  83. <!-- Accessibility actions -->
  84. <item type="id" name="action_remove" />
  85. <item type="id" name="action_uninstall" />
  86. <item type="id" name="action_reconfigure" />
  87. <item type="id" name="action_add_to_workspace" />
  88. <item type="id" name="action_move" />
  89. <item type="id" name="action_move_to_workspace" />
  90. <item type="id" name="action_move_screen_backwards" />
  91. <item type="id" name="action_move_screen_forwards" />
  92. <item type="id" name="action_resize" />
  93. <item type="id" name="action_deep_shortcuts" />
  94. <item type="id" name="action_shortcuts_and_notifications"/>
  95. <item type="id" name="action_dismiss_notification" />
  96. <item type="id" name="action_remote_action_shortcut" />
  97. <item type="id" name="action_dismiss_prediction" />
  98. <item type="id" name="action_pin_prediction"/>
  99. <!-- QSB IDs. DO not change -->
  100. <item type="id" name="search_container_workspace" />
  101. <item type="id" name="search_container_all_apps" />
  102. <item type="id" name="search_container_hotseat" />
  103. <!-- Scalable Grid configuration -->
  104. <!-- This is a float because it is converted to dp later in DeviceProfile -->
  105. <dimen name="hotseat_bar_bottom_space_default">48</dimen>
  106. <dimen name="hotseat_qsb_space_default">0</dimen>
  107. <!-- Recents -->
  108. <item type="id" name="overview_panel"/>
  109. <!-- Whether to enable background preloading of task thumbnails. -->
  110. <bool name="config_enableTaskSnapshotPreloading">true</bool>
  111. <!-- Configuration resources -->
  112. <item name="all_apps_spring_damping_ratio" type="dimen" format="float">0.75</item>
  113. <item name="all_apps_spring_stiffness" type="dimen" format="float">600</item>
  114. <item name="dismiss_task_trans_y_damping_ratio" type="dimen" format="float">0.73</item>
  115. <item name="dismiss_task_trans_y_stiffness" type="dimen" format="float">800</item>
  116. <item name="dismiss_task_trans_x_damping_ratio" type="dimen" format="float">0.73</item>
  117. <item name="dismiss_task_trans_x_stiffness" type="dimen" format="float">800</item>
  118. <item name="horizontal_spring_damping_ratio" type="dimen" format="float">0.8</item>
  119. <item name="horizontal_spring_stiffness" type="dimen" format="float">250</item>
  120. <item name="swipe_up_rect_scale_damping_ratio" type="dimen" format="float">0.75</item>
  121. <item name="swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
  122. <item name="swipe_up_rect_scale_higher_stiffness" type="dimen" format="float">400</item>
  123. <item name="swipe_up_rect_xy_fling_friction" type="dimen" format="float">1.5</item>
  124. <item name="swipe_up_scale_start" type="dimen" format="float">0.88</item>
  125. <item name="swipe_up_rect_xy_damping_ratio" type="dimen" format="float">0.8</item>
  126. <item name="swipe_up_rect_xy_stiffness" type="dimen" format="float">200</item>
  127. <!-- Taskbar -->
  128. <!-- This is a float because it is converted to dp later in DeviceProfile -->
  129. <item name="taskbar_icon_size" type="dimen" format="float">0</item>
  130. <!-- These params are only used for hotseat items on devices that have a taskbar. -->
  131. <item name="taskbar_swipe_up_rect_x_stiffness" type="dimen" format="float">350</item>
  132. <item name="taskbar_swipe_up_rect_x_damping" type="dimen" format="float">0.9</item>
  133. <item name="taskbar_swipe_up_rect_y_stiffness" type="dimen" format="float">200</item>
  134. <item name="taskbar_swipe_up_rect_y_damping" type="dimen" format="float">0.78</item>
  135. <item name="taskbar_swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
  136. <item name="staggered_damping_ratio" type="dimen" format="float">0.7</item>
  137. <item name="staggered_stiffness" type="dimen" format="float">150</item>
  138. <dimen name="unlock_staggered_velocity_dp_per_s">2dp</dimen>
  139. <item name="hint_scale_damping_ratio" type="dimen" format="float">0.7</item>
  140. <item name="hint_scale_stiffness" type="dimen" format="float">200</item>
  141. <dimen name="hint_scale_velocity_dp_per_s">0.3dp</dimen>
  142. <!-- Swipe up to home related -->
  143. <dimen name="swipe_up_fling_min_visible_change">18dp</dimen>
  144. <dimen name="swipe_up_max_workspace_trans_y">-60dp</dimen>
  145. <dimen name="swipe_up_max_velocity">7.619dp</dimen>
  146. <array name="dynamic_resources">
  147. <item>@dimen/swipe_up_scale_start</item>
  148. <item>@dimen/swipe_up_max_velocity</item>
  149. </array>
  150. <string-array name="filtered_components" ></string-array>
  151. <!-- Name of the class used to generate colors from the wallpaper colors. Must be implementing the LauncherAppWidgetHostView.ColorGenerator interface. -->
  152. <string name="color_generator_class" translatable="false"/>
  153. <!-- Swipe back to home related -->
  154. <dimen name="swipe_back_window_scale_x_margin">10dp</dimen>
  155. <dimen name="swipe_back_window_max_delta_y">160dp</dimen>
  156. <dimen name="swipe_back_window_corner_radius">40dp</dimen>
  157. <!-- The duration of the bottom sheet opening and closing animation -->
  158. <integer name="config_bottomSheetOpenDuration">267</integer>
  159. <integer name="config_bottomSheetCloseDuration">267</integer>
  160. <!-- The duration of the AllApps opening and closing animation -->
  161. <integer name="config_allAppsOpenDuration">600</integer>
  162. <integer name="config_allAppsCloseDuration">300</integer>
  163. <!-- The max scale for the wallpaper when it's zoomed in -->
  164. <item name="config_wallpaperMaxScale" format="float" type="dimen">0</item>
  165. <!-- Whether the floating rotation button should be on the left/right in the device's natural
  166. orientation -->
  167. <bool name="floating_rotation_button_position_left">true</bool>
  168. </resources>