add3d8322d
The old folder preview and animation relied on creating bitmaps for transition. As we move to hardware bitmaps, creating custom bitmaps which rely on icon bitmaps would be costly (hardware bitmaps are immutable and cannot be drawn on a software canvas). Bug: 35428783 Change-Id: I39869ed44feb6a886985ad15775bc1ab55565727
153 lines
7.0 KiB
XML
153 lines
7.0 KiB
XML
<resources>
|
|
<!-- Dynamic Grid -->
|
|
<!-- Out of 100, the percent of space the overview bar should try and take vertically. -->
|
|
<integer name="config_dynamic_grid_overview_icon_zone_percentage">22</integer>
|
|
|
|
<!-- Miscellaneous -->
|
|
<bool name="config_largeHeap">false</bool>
|
|
<bool name="is_tablet">false</bool>
|
|
<bool name="is_large_tablet">false</bool>
|
|
<bool name="allow_rotation">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>
|
|
|
|
<!-- Values for icon shape overrides. These should correspond to entries defined
|
|
in icon_shape_override_paths_names -->
|
|
<string-array translatable="false" name="icon_shape_override_paths_values">
|
|
<item></item>
|
|
<item>M50,0L100,0 100,100 0,100 0,0z</item>
|
|
<item>M50,0 C10,0 0,10 0,50 0,90 10,100 50,100 90,100 100,90 100,50 100,10 90,0 50,0 Z</item>
|
|
<item>M50 0A50 50,0,1,1,50 100A50 50,0,1,1,50 0</item>
|
|
<item>M50,0A50,50,0,0 1 100,50 L100,85 A15,15,0,0 1 85,100 L50,100 A50,50,0,0 1 50,0z</item>
|
|
</string-array>
|
|
|
|
<string-array translatable="false" name="icon_shape_override_paths_names">
|
|
<!-- Option to not change the icon shape on home screen. [CHAR LIMIT=50] -->
|
|
<item>@string/icon_shape_system_default</item>
|
|
<item>@string/icon_shape_square</item>
|
|
<item>@string/icon_shape_squircle</item>
|
|
<item>@string/icon_shape_circle</item>
|
|
<item>@string/icon_shape_teardrop</item>
|
|
</string-array>
|
|
|
|
<!-- DragController -->
|
|
<item type="id" name="drag_event_parity" />
|
|
|
|
<!-- AllApps & Launcher transitions -->
|
|
<!-- The alpha of the AppsCustomize bg in spring loaded mode -->
|
|
<integer name="config_workspaceScrimAlpha">30</integer>
|
|
<integer name="config_allAppsTransitionTime">100</integer>
|
|
<integer name="config_overviewTransitionTime">250</integer>
|
|
|
|
<!-- Out of 100, the percent to shrink the workspace during spring loaded mode. -->
|
|
<integer name="config_workspaceSpringLoadShrinkPercentage">90</integer>
|
|
<!-- Out of 100, the percent to shrink the workspace during overview mode. -->
|
|
<integer name="config_workspaceOverviewShrinkPercentage">70</integer>
|
|
|
|
<!-- Fade/zoom in/out duration & scale in a Launcher overlay transition.
|
|
Note: This should be less than the config_overlayTransitionTime as they happen together. -->
|
|
<integer name="config_overlayRevealTime">220</integer>
|
|
<integer name="config_overlaySlideRevealTime">320</integer>
|
|
<integer name="config_overlayTransitionTime">300</integer>
|
|
<integer name="config_overlayItemsAlphaStagger">60</integer>
|
|
|
|
<!-- This constant stores the ratio of the all apps button drawable which
|
|
is used for internal (baked-in) padding -->
|
|
<integer name="config_allAppsButtonPaddingPercent">17</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" />
|
|
|
|
<!-- 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">900</integer>
|
|
|
|
<!-- The alpha value at which to show the most recent drop visualization outline. -->
|
|
<integer name="config_dragOutlineMaxAlpha">128</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>
|
|
|
|
<!-- Hotseat -->
|
|
<bool name="hotseat_transpose_layout_with_orientation">true</bool>
|
|
|
|
<!-- Name of a subclass of com.android.launcher3.AppFilter used to
|
|
filter the activities shown in the launcher. Can be empty. -->
|
|
<string name="app_filter_class" translatable="false"></string>
|
|
|
|
<!-- Name of an icon provider class. -->
|
|
<string name="icon_provider_class" translatable="false"></string>
|
|
|
|
<!-- Name of a drawable factory class. -->
|
|
<string name="drawable_factory_class" translatable="false"></string>
|
|
|
|
<!-- Name of a user event dispatcher class. -->
|
|
<string name="user_event_dispatcher_class" translatable="false"></string>
|
|
|
|
<!-- Name of a color extraction implementation class. -->
|
|
<string name="color_extraction_impl_class" translatable="false"></string>
|
|
|
|
<!-- Name of a subclass of com.android.launcher3.util.InstantAppResolver. Can be empty. -->
|
|
<string name="instant_app_resolver_class" translatable="false"></string>
|
|
|
|
<!-- Package name of the default wallpaper picker. -->
|
|
<string name="wallpaper_picker_package" 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" />
|
|
|
|
<!-- Popup items -->
|
|
<integer name="config_popupOpenCloseDuration">150</integer>
|
|
<integer name="config_popupArrowOpenDuration">80</integer>
|
|
<integer name="config_removeNotificationViewDuration">300</integer>
|
|
|
|
<!-- Accessibility actions -->
|
|
<item type="id" name="action_remove" />
|
|
<item type="id" name="action_uninstall" />
|
|
<item type="id" name="action_info" />
|
|
<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_dismiss_notification" />
|
|
|
|
<!-- QSB IDs. DO not change -->
|
|
<item type="id" name="search_container_workspace" />
|
|
<item type="id" name="search_container_hotseat" />
|
|
<item type="id" name="search_container_all_apps" />
|
|
|
|
</resources>
|