• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2009, The Android Open Source Project
5**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10**     http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19
20<!-- These resources are around just to allow their values to be customized
21     for different hardware and product builds. -->
22<resources>
23
24    <!-- Component to be used as the recents implementation.  Must implement the
25     RecentsImplementation interface.  This name is in the ComponentName flattened format
26     (package/class)  -->
27    <string name="config_recentsComponent" translatable="false">com.android.systemui.recents.LegacyRecentsImpl</string>
28
29    <!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
30    for devices where the java drawing of round rects may be slow -->
31    <bool name="config_recents_use_hardware_layers">false</bool>
32
33    <!-- The number of app thumbnails we keep in memory -->
34    <integer name="config_recents_max_thumbnail_count">10</integer>
35
36    <!-- The number of app icons we keep in memory -->
37    <integer name="config_recents_max_icon_count">20</integer>
38
39    <!-- Whether to use cheap, less good looking shadows for recents -->
40    <bool name="config_recents_fake_shadows">false</bool>
41
42    <!-- The duration in seconds to wait before the dismiss buttons are shown. -->
43    <integer name="recents_task_bar_dismiss_delay_seconds">1000</integer>
44
45    <!-- The duration for animating the task decorations in after transitioning from an app. -->
46    <integer name="recents_task_enter_from_app_duration">200</integer>
47
48    <!-- The duration for animating the task decorations in after transitioning from an app. -->
49    <integer name="recents_task_enter_from_affiliated_app_duration">125</integer>
50
51    <!-- The duration for animating the task decorations out before transitioning to an app. -->
52    <integer name="recents_task_exit_to_app_duration">125</integer>
53
54    <!-- The min animation duration for animating the nav bar scrim in. -->
55    <integer name="recents_nav_bar_scrim_enter_duration">400</integer>
56
57    <!-- The animation duration for scrolling the stack to a particular item. -->
58    <integer name="recents_animate_task_stack_scroll_duration">200</integer>
59
60    <!-- The delay to enforce between each alt-tab key press. -->
61    <integer name="recents_alt_tab_key_delay">200</integer>
62
63    <!-- Svelte specific logic, see RecentsConfiguration.SVELTE_* constants. -->
64    <integer name="recents_svelte_level">0</integer>
65
66    <!-- Recents: The relative range of visible tasks from the current scroll position
67         while the stack is focused. -->
68    <item name="recents_layout_focused_range_min" format="float" type="integer">-3</item>
69    <item name="recents_layout_focused_range_max" format="float" type="integer">2</item>
70
71    <!-- Recents: The relative range of visible tasks from the current scroll position
72         while the stack is not focused. -->
73    <item name="recents_layout_unfocused_range_min" format="float" type="integer">-2</item>
74    <item name="recents_layout_unfocused_range_max" format="float" type="integer">2.5</item>
75</resources>