mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-19 18:58:19 +00:00
- Uses overscroll damping logic to reduce the velocity
- The start to target rect interpolation can be from the
start, center, or bottom of the rect depending on where the item
is on the workspace. This reduces the amount of distance needed to
travel between, which helps further reduce gesture feedback.
Bug: 173107751
Test: test closing app that is on:
- top row of home screen
- middle of home screen
- in hotseat
Change-Id: I055dd61ca3491807109ff2f6c501bf710c8d340f
226 lines
10 KiB
XML
226 lines
10 KiB
XML
<resources>
|
|
<!-- Miscellaneous -->
|
|
<bool name="config_largeHeap">false</bool>
|
|
|
|
<integer name="extracted_color_gradient_alpha">153</integer>
|
|
|
|
<!-- A string pointer to the original app name string. This allows derived projects to
|
|
easily override the app name without providing all translations -->
|
|
<string name="derived_app_name" translatable="false">@string/app_name</string>
|
|
|
|
<!-- String representing the intent for search on the apps market. To specify a query, add
|
|
q=<query> to the data to the intent -->
|
|
<string name="market_search_intent" translatable="false">market://search?c=apps</string>
|
|
|
|
<!-- String representing the intent to delete a package.-->
|
|
<string name="delete_package_intent" translatable="false">#Intent;action=android.intent.action.DELETE;launchFlags=0x10800000;end</string>
|
|
|
|
<!-- String representing the fragment class for settings activity.-->
|
|
<string name="settings_fragment_name" translatable="false">com.android.launcher3.settings.SettingsActivity$LauncherSettingsFragment</string>
|
|
|
|
<!-- DragController -->
|
|
<item type="id" name="drag_event_parity" />
|
|
|
|
<!-- AllApps & Launcher transitions -->
|
|
<!-- Out of 100, the percent to shrink the workspace during spring loaded mode. -->
|
|
<integer name="config_workspaceSpringLoadShrinkPercentage">85</integer>
|
|
|
|
<!-- The duration of the animation from search hint to text entry -->
|
|
<integer name="config_searchHintAnimationDuration">50</integer>
|
|
|
|
<!-- View tag key used to store SpringAnimation data. -->
|
|
<item type="id" name="spring_animation_tag" />
|
|
|
|
<!-- View tag key used to determine if we should fade in the child views.. -->
|
|
<string name="popup_container_iterate_children" translatable="false">popup_container_iterate_children</string>
|
|
|
|
<!-- config used to determine if header protection is supported in AllApps -->
|
|
<bool name="config_header_protection_supported">false</bool>
|
|
|
|
<!-- Workspace -->
|
|
<!-- The duration (in ms) of the fade animation on the object outlines, used when
|
|
we are dragging objects around on the home screen. -->
|
|
<integer name="config_dragOutlineFadeTime">500</integer>
|
|
|
|
<!-- The alpha value at which to show the most recent drop visualization outline. -->
|
|
<integer name="config_dragOutlineMaxAlpha">255</integer>
|
|
|
|
<!-- Parameters controlling the animation for when an item is dropped on the home screen,
|
|
and it animates from its old position to the new one. -->
|
|
<integer name="config_dropAnimMinDuration">100</integer>
|
|
<integer name="config_dropAnimMaxDuration">500</integer>
|
|
|
|
<!-- The duration of the UserFolder opening and closing animation -->
|
|
<integer name="config_materialFolderExpandDuration">200</integer>
|
|
<integer name="config_folderDelay">30</integer>
|
|
|
|
<!-- The distance at which the animation should take the max duration -->
|
|
<integer name="config_dropAnimMaxDist">800</integer>
|
|
|
|
<!-- The duration of the caret animation -->
|
|
<integer name="config_caretAnimationDuration">200</integer>
|
|
|
|
<!-- Various classes overriden by projects/build flavors. -->
|
|
<string name="folder_name_provider_class" translatable="false"></string>
|
|
<string name="stats_log_manager_class" translatable="false"></string>
|
|
<string name="instant_app_resolver_class" translatable="false"></string>
|
|
<string name="main_process_initializer_class" translatable="false"></string>
|
|
<string name="app_launch_tracker_class" translatable="false"></string>
|
|
<string name="test_information_handler_class" translatable="false"></string>
|
|
<string name="launcher_activity_logic_class" translatable="false"></string>
|
|
<string name="model_delegate_class" translatable="false"></string>
|
|
|
|
<!-- View ID to use for QSB widget -->
|
|
<item type="id" name="qsb_widget" />
|
|
|
|
<!-- View ID used by cell layout to jail its content -->
|
|
<item type="id" name="cell_layout_jail_id" />
|
|
|
|
<!-- View IDs to store item highlight information -->
|
|
<item type="id" name="view_unhighlight_background" />
|
|
|
|
<!-- view ID used to restore work tab state -->
|
|
<item type="id" name="work_tab_state_id" />
|
|
|
|
<!-- Menu id for feature flags -->
|
|
<item type="id" name="menu_apply_flags" />
|
|
|
|
<!-- Default packages -->
|
|
<string name="wallpaper_picker_package" translatable="false"></string>
|
|
<string name="local_colors_extraction_class" translatable="false"></string>
|
|
|
|
<!-- Accessibility actions -->
|
|
<item type="id" name="action_remove" />
|
|
<item type="id" name="action_uninstall" />
|
|
<item type="id" name="action_reconfigure" />
|
|
<item type="id" name="action_add_to_workspace" />
|
|
<item type="id" name="action_move" />
|
|
<item type="id" name="action_move_to_workspace" />
|
|
<item type="id" name="action_move_screen_backwards" />
|
|
<item type="id" name="action_move_screen_forwards" />
|
|
<item type="id" name="action_resize" />
|
|
<item type="id" name="action_deep_shortcuts" />
|
|
<item type="id" name="action_shortcuts_and_notifications"/>
|
|
<item type="id" name="action_dismiss_notification" />
|
|
<item type="id" name="action_remote_action_shortcut" />
|
|
<item type="id" name="action_dismiss_prediction" />
|
|
<item type="id" name="action_pin_prediction"/>
|
|
|
|
<!-- QSB IDs. DO not change -->
|
|
<item type="id" name="search_container_workspace" />
|
|
<item type="id" name="search_container_all_apps" />
|
|
<item type="id" name="search_container_hotseat" />
|
|
|
|
<!-- Recents -->
|
|
<item type="id" name="overview_panel"/>
|
|
|
|
<!-- Whether to enable background preloading of task thumbnails. -->
|
|
<bool name="config_enableTaskSnapshotPreloading">true</bool>
|
|
|
|
<!-- Configuration resources -->
|
|
<item name="all_apps_spring_damping_ratio" type="dimen" format="float">0.75</item>
|
|
<item name="all_apps_spring_stiffness" type="dimen" format="float">600</item>
|
|
|
|
<item name="dismiss_task_trans_y_damping_ratio" type="dimen" format="float">0.73</item>
|
|
<item name="dismiss_task_trans_y_stiffness" type="dimen" format="float">800</item>
|
|
|
|
<item name="dismiss_task_trans_x_damping_ratio" type="dimen" format="float">0.73</item>
|
|
<item name="dismiss_task_trans_x_stiffness" type="dimen" format="float">800</item>
|
|
|
|
<item name="horizontal_spring_damping_ratio" type="dimen" format="float">0.8</item>
|
|
<item name="horizontal_spring_stiffness" type="dimen" format="float">250</item>
|
|
|
|
<item name="swipe_up_rect_scale_damping_ratio" type="dimen" format="float">0.75</item>
|
|
<item name="swipe_up_rect_scale_stiffness" type="dimen" format="float">200</item>
|
|
|
|
<item name="swipe_up_rect_xy_fling_friction" type="dimen" format="float">1.5</item>
|
|
|
|
<item name="swipe_up_scale_start" type="dimen" format="float">0.88</item>
|
|
<item name="swipe_up_duration" type="dimen" format="float">400</item>
|
|
|
|
<item name="swipe_up_trans_y_dp" type="dimen" format="float">4.5</item>
|
|
<item name="swipe_up_trans_y_dp_per_s" type="dimen" format="float">3</item>
|
|
|
|
<item name="swipe_up_trans_y_damping" type="dimen" format="float">0.45</item>
|
|
<item name="swipe_up_trans_y_stiffness" type="dimen" format="float">200</item>
|
|
|
|
<item name="swipe_up_rect_xy_damping_ratio" type="dimen" format="float">0.8</item>
|
|
<item name="swipe_up_rect_xy_stiffness" type="dimen" format="float">200</item>
|
|
|
|
|
|
<item name="swipe_up_rect_2_x_damping_ratio" type="dimen" format="float">1</item>
|
|
<item name="swipe_up_rect_2_x_stiffness" type="dimen" format="float">250</item>
|
|
|
|
<item name="swipe_up_rect_2_y_damping_ratio" type="dimen" format="float">1</item>
|
|
<item name="swipe_up_rect_2_y_stiffness" type="dimen" format="float">600</item>
|
|
|
|
<item name="swipe_up_rect_2_y_stiffness_low_swipe_multiplier" type="dimen" format="float">0.8</item>
|
|
<item name="swipe_up_low_swipe_duration_multiplier" type="dimen" format="float">1</item>
|
|
|
|
<item name="swipe_up_launcher_alpha_max_progress" type="dimen" format="float">0.85</item>
|
|
|
|
|
|
<item name="c1_a" type="dimen" format="float">0.05</item>
|
|
<item name="c1_b" type="dimen" format="float">0</item>
|
|
<item name="c1_c" type="dimen" format="float">0.133333</item>
|
|
<item name="c1_d" type="dimen" format="float">0.06</item>
|
|
|
|
<item name="mp_x" type="dimen" format="float">0.166666</item>
|
|
<item name="mp_y" type="dimen" format="float">.4</item>
|
|
|
|
<item name="c2_a" type="dimen" format="float">0.208333</item>
|
|
<item name="c2_b" type="dimen" format="float">.82</item>
|
|
<item name="c2_c" type="dimen" format="float">.25</item>
|
|
<item name="c2_d" type="dimen" format="float">1</item>
|
|
|
|
|
|
<item name="staggered_damping_ratio" type="dimen" format="float">0.7</item>
|
|
<item name="staggered_stiffness" type="dimen" format="float">150</item>
|
|
<dimen name="unlock_staggered_velocity_dp_per_s">2dp</dimen>
|
|
|
|
<item name="hint_scale_damping_ratio" type="dimen" format="float">0.7</item>
|
|
<item name="hint_scale_stiffness" type="dimen" format="float">200</item>
|
|
<dimen name="hint_scale_velocity_dp_per_s">0.3dp</dimen>
|
|
|
|
<!-- Swipe up to home related -->
|
|
<dimen name="swipe_up_fling_min_visible_change">18dp</dimen>
|
|
<dimen name="swipe_up_max_workspace_trans_y">-60dp</dimen>
|
|
<dimen name="swipe_up_max_velocity">7.619dp</dimen>
|
|
|
|
<array name="dynamic_resources">
|
|
<item>@dimen/swipe_up_duration</item>
|
|
<item>@dimen/swipe_up_scale_start</item>
|
|
<item>@dimen/swipe_up_trans_y_dp</item>
|
|
<item>@dimen/swipe_up_trans_y_dp_per_s</item>
|
|
<item>@dimen/swipe_up_trans_y_damping</item>
|
|
<item>@dimen/swipe_up_trans_y_stiffness</item>
|
|
<item>@dimen/swipe_up_rect_2_x_damping_ratio</item>
|
|
<item>@dimen/swipe_up_rect_2_x_stiffness</item>
|
|
<item>@dimen/swipe_up_rect_2_y_damping_ratio</item>
|
|
<item>@dimen/swipe_up_rect_2_y_stiffness</item>
|
|
<item>@dimen/swipe_up_launcher_alpha_max_progress</item>
|
|
<item>@dimen/swipe_up_rect_2_y_stiffness_low_swipe_multiplier</item>
|
|
<item>@dimen/swipe_up_low_swipe_duration_multiplier</item>
|
|
<item>@dimen/swipe_up_max_velocity</item>
|
|
|
|
<item>@dimen/c1_a</item>
|
|
<item>@dimen/c1_b</item>
|
|
<item>@dimen/c1_c</item>
|
|
<item>@dimen/c1_d</item>
|
|
|
|
<item>@dimen/mp_x</item>
|
|
<item>@dimen/mp_y</item>
|
|
|
|
<item>@dimen/c2_a</item>
|
|
<item>@dimen/c2_b</item>
|
|
<item>@dimen/c2_c</item>
|
|
<item>@dimen/c2_d</item>
|
|
</array>
|
|
|
|
<string-array name="filtered_components" ></string-array>
|
|
|
|
<!-- Name of the class used to generate colors from the wallpaper colors. Must be implementing the LauncherAppWidgetHostView.ColorGenerator interface. -->
|
|
<string name="color_generator_class" translatable="false"/>
|
|
|
|
</resources>
|