blob: 6df31ffceba9dd9d24a1cafacbf3dd12983e57de [file] [log] [blame]
Joe Onorato798ac4c2010-05-27 16:39:00 -04001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2009, The Android Open Source Project
5**
Jim Miller64fffad2012-05-17 17:01:15 -07006** 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
Joe Onorato798ac4c2010-05-27 16:39:00 -04009**
Jim Miller64fffad2012-05-17 17:01:15 -070010** http://www.apache.org/licenses/LICENSE-2.0
Joe Onorato798ac4c2010-05-27 16:39:00 -040011**
Jim Miller64fffad2012-05-17 17:01:15 -070012** 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
Joe Onorato798ac4c2010-05-27 16:39:00 -040016** 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>
Selim Cineke8199c52014-09-17 04:03:52 +020023 <!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
24 for devices where the java drawing of round rects may be slow -->
25 <bool name="config_recents_use_hardware_layers">false</bool>
26
Jorim Jaggi81e0c842014-09-12 23:28:58 +020027 <!-- The number of app thumbnails we keep in memory -->
28 <integer name="config_recents_max_thumbnail_count">10</integer>
29
30 <!-- The number of app icons we keep in memory -->
31 <integer name="config_recents_max_icon_count">20</integer>
32
Jorim Jaggicb557032014-09-16 23:09:24 +020033 <!-- Whether to use cheap, less good looking shadows for recents -->
34 <bool name="config_recents_fake_shadows">false</bool>
Christoph Studer37e44682014-09-16 20:23:13 +020035
Jorim Jaggibe4116a2015-05-20 20:04:08 -070036 <!-- Whether to clip notification contents with a rounded rectangle. Might be expensive on
37 certain GPU's and thus can be turned off with only minimal visual impact. -->
38 <bool name="config_notifications_round_rect_clipping">true</bool>
39
Joe Onorato52c1dc22010-07-01 16:39:39 -040040 <!-- Control whether status bar should distinguish HSPA data icon form UMTS
41 data icon on devices -->
Joe Onorato798ac4c2010-05-27 16:39:00 -040042 <bool name="config_hspa_data_distinguishable">false</bool>
Joe Onorato52c1dc22010-07-01 16:39:39 -040043
Joe Onoratof3c3c4f2010-10-21 11:09:02 -040044 <!-- Component to be used as the status bar service. Must implement the IStatusBar
45 interface. This name is in the ComponentName flattened format (package/class) -->
Joe Onoratofd52b182010-11-10 18:00:52 -080046 <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.phone.PhoneStatusBar</string>
Joe Onoratof3c3c4f2010-10-21 11:09:02 -040047
Joe Onorato8595a3d2010-11-19 18:12:07 -080048 <!-- Whether or not we show the number in the bar. -->
Daniel Sandleraf084802011-07-22 13:02:07 -040049 <bool name="config_statusBarShowNumber">false</bool>
Joe Onorato8595a3d2010-11-19 18:12:07 -080050
satok5485ff62011-05-27 19:15:01 +090051 <!-- How many icons may be shown at once in the system bar. Includes any
52 slots that may be reused for things like IME control. -->
53 <integer name="config_maxNotificationIcons">5</integer>
Daniel Sandler9b5ae0c2011-08-25 17:29:26 -070054
55 <!-- Show phone (voice) signal strength instead of data in mobile RSSI. -->
56 <bool name="config_showPhoneRSSIForData">false</bool>
57
58 <!-- When true, show 1/2G networks as 3G. -->
59 <bool name="config_showMin3G">false</bool>
Daniel Sandler9ff63782012-05-03 23:16:42 -040060
John Spurlock8ab172e2013-12-19 16:39:23 -050061 <!-- Show rotation lock toggle in System UI-->
Daniel Sandler9ff63782012-05-03 23:16:42 -040062 <bool name="config_showRotationLock">true</bool>
Jim Miller64fffad2012-05-17 17:01:15 -070063
John Spurlock4f0db5e2014-01-30 13:45:59 -050064 <!-- Vibration duration for GlowPadView used in SearchPanelView -->
Philip Milnea01a2a892012-05-29 14:46:54 -070065 <integer translatable="false" name="config_vibration_duration">0</integer>
66
John Spurlock4f0db5e2014-01-30 13:45:59 -050067 <!-- Vibration duration for GlowPadView used in SearchPanelView -->
Philip Milnea01a2a892012-05-29 14:46:54 -070068 <integer translatable="false" name="config_search_panel_view_vibration_duration">20</integer>
Chris Wrenb4e2c48b2012-06-15 16:51:54 -040069
Jorim Jaggi15dac5f2014-08-27 19:08:26 +020070 <!-- Show camera affordance on Keyguard -->
71 <bool name="config_keyguardShowCameraAffordance">true</bool>
72
Jorim Jaggi0e664392014-09-27 01:30:22 +020073 <!-- Whether we should use SRC drawing mode when drawing the scrim behind. If this flag is set,
74 we change the canvas opacity so libhwui doesn't call glClear on our surface, and then we
75 draw the scrim with SRC to overwrite the whole buffer, which saves us a layer of overdraw.
76 However, SRC performs poorly on some devices, where it is more efficient to
77 glClear + SRC_OVER, in which case this flag should be disabled. -->
78 <bool name="config_status_bar_scrim_behind_use_src">true</bool>
79
Daniel Sandler4377d142012-09-11 15:18:47 -040080 <!-- The length of the vibration when the notification pops open. -->
Chris Wrenb4e2c48b2012-06-15 16:51:54 -040081 <integer name="one_finger_pop_duration_ms">10</integer>
Daniel Sandlerf6a34122012-08-06 14:31:13 -040082
Daniel Sandlerc26185b2012-08-29 15:49:53 -040083 <!-- decay duration (from size_max -> size), in ms -->
84 <integer name="navigation_bar_deadzone_hold">333</integer>
85 <integer name="navigation_bar_deadzone_decay">333</integer>
Ji-Hwan Lee25eb3d02014-04-22 12:39:26 +090086
Daniel Sandler25bb8ee2012-08-30 17:10:50 -040087 <bool name="config_dead_zone_flash">false</bool>
Michael Jurkaadf0b212012-09-04 05:15:26 -070088
89 <!-- Min alpha % that recent items will fade to while being dismissed -->
90 <integer name="config_recent_item_min_alpha">3</integer>
Winson Chungd63c59782012-09-05 17:34:41 -070091
92 <!-- The number of columns in the QuickSettings -->
93 <integer name="quick_settings_num_columns">3</integer>
94
John Spurlock73203eb2014-04-15 16:14:46 -040095 <!-- The maximum number of rows in the QuickSettings -->
96 <integer name="quick_settings_max_rows">4</integer>
97
98 <!-- The maximum number of rows in the QuickSettings when on the keyguard -->
99 <integer name="quick_settings_max_rows_keyguard">3</integer>
100
Winson Chungd63c59782012-09-05 17:34:41 -0700101 <!-- The number of columns that the top level tiles span in the QuickSettings -->
102 <integer name="quick_settings_user_time_settings_tile_span">1</integer>
Winson Chungd4726d02012-09-14 12:27:29 -0700103
John Spurlockbceed062014-08-10 18:04:16 -0400104 <!-- The default tiles to display in QuickSettings -->
105 <string name="quick_settings_tiles_default" translatable="false">
Jason Monkec9af012015-12-10 11:10:23 -0500106 wifi,bt,flashlight,dnd,cell,battery,rotation,airplane,location,cast
John Spurlockbceed062014-08-10 18:04:16 -0400107 </string>
108
109 <!-- The tiles to display in QuickSettings -->
110 <string name="quick_settings_tiles" translatable="false">default</string>
111
Winson Chungeed9fd42013-09-24 14:19:36 -0700112 <!-- Whether or not the RSSI tile is capitalized or not. -->
113 <bool name="quick_settings_rssi_tile_capitalization">true</bool>
114
Winson Chung3ed6f942012-09-20 16:07:11 -0700115 <!-- Timeouts for brightness dialog to disappear -->
116 <integer name="quick_settings_brightness_dialog_short_timeout">2000</integer>
117 <integer name="quick_settings_brightness_dialog_long_timeout">4000</integer>
Daniel Sandler4377d142012-09-11 15:18:47 -0400118
Jorim Jaggi0ed01de2014-12-11 21:00:12 +0100119 <!-- The maximum number of items to be displayed in quick settings -->
Jason Monkdeba7a42015-12-08 16:14:10 -0500120 <integer name="quick_settings_detail_max_item_count">5</integer>
Jorim Jaggi0ed01de2014-12-11 21:00:12 +0100121
Daniel Sandler2fe71d02013-06-06 16:15:43 -0400122 <!-- Should "4G" be shown instead of "LTE" when the network is NETWORK_TYPE_LTE? -->
Wink Saville65a90d02013-06-18 14:47:14 -0700123 <bool name="config_show4GForLTE">true</bool>
Chris Wren51c75102013-07-16 20:49:17 -0400124
125 <!-- milliseconds before the heads up notification auto-dismisses. -->
Selim Cinek2c97e5c2015-05-29 17:07:44 +0200126 <integer name="heads_up_notification_decay">5000</integer>
Chris Wren51c75102013-07-16 20:49:17 -0400127
Chris Wrena6d4fb62014-11-20 14:46:23 -0500128 <!-- milliseconds after a heads up notification is pushed back
129 before the app can interrupt again. -->
130 <integer name="heads_up_default_snooze_length_ms">60000</integer>
131
Chris Wren930ecca2014-11-12 17:43:41 -0500132 <!-- Minimum display time for a heads up notification, in milliseconds. -->
Selim Cinekb8f09cf2015-03-16 17:09:28 -0700133 <integer name="heads_up_notification_minimum_time">2000</integer>
Chris Wren930ecca2014-11-12 17:43:41 -0500134
Chris Wren51c75102013-07-16 20:49:17 -0400135 <!-- milliseconds before the heads up notification accepts touches. -->
Selim Cinek684a4422015-04-15 16:18:39 -0700136 <integer name="touch_acceptance_delay">700</integer>
Winson Chung2f2ca082014-04-03 18:05:29 -0700137
Winson Chunga26fb782014-06-12 17:52:39 -0700138 <!-- The duration in seconds to wait before the dismiss buttons are shown. -->
Winson0d14d4d2015-10-26 17:05:04 -0700139 <integer name="recents_task_bar_dismiss_delay_seconds">1000</integer>
Winson Chungc041d882014-11-14 17:34:03 -0800140
Winson Chungc041d882014-11-14 17:34:03 -0800141 <!-- The duration of the window transition when coming to Recents from an app.
142 In order to defer the in-app animations until after the transition is complete,
143 we also need to use this value as the starting delay when animating the first
144 task decorations in. -->
145 <integer name="recents_enter_from_app_transition_duration">325</integer>
146
147 <!-- The duration for animating the task decorations in after transitioning from an app. -->
148 <integer name="recents_task_enter_from_app_duration">200</integer>
149
Winson65c851e2016-01-20 12:43:35 -0800150 <!-- The duration for animating the task decorations in after transitioning from an app. -->
151 <integer name="recents_task_enter_from_affiliated_app_duration">125</integer>
152
Winson Chungc041d882014-11-14 17:34:03 -0800153 <!-- The duration for animating the task decorations out before transitioning to an app. -->
154 <integer name="recents_task_exit_to_app_duration">125</integer>
155
156 <!-- The duration of the window transition when coming to Recents from the Launcher.
157 In order to defer the in-app animations until after the transition is complete,
158 we also need to use this value as the starting delay when animating the task views
159 in from the bottom of the screen. -->
160 <integer name="recents_enter_from_home_transition_duration">100</integer>
161
162 <!-- The duration for animating the task from the bottom of the screen when transitioning
163 from home. -->
164 <integer name="recents_task_enter_from_home_duration">225</integer>
165
166 <!-- The stagger for each task when animating the task from the bottom of the screen when
167 transitioning from home. -->
168 <integer name="recents_task_enter_from_home_stagger_delay">12</integer>
169
170 <!-- The duration of the animation of the tasks to the bottom of the screen when leaving
171 Recents to go back to the Launcher. -->
172 <integer name="recents_task_exit_to_home_duration">225</integer>
173
Winson Chung521e7dc2014-06-02 15:31:56 -0700174 <!-- The min animation duration for animating the nav bar scrim in. -->
175 <integer name="recents_nav_bar_scrim_enter_duration">400</integer>
Winson Chungc041d882014-11-14 17:34:03 -0800176
Winson Chung9f49df92014-05-07 18:08:34 -0700177 <!-- The animation duration for animating the removal of a task view. -->
Winsonf24f2162016-01-05 12:11:55 -0800178 <integer name="recents_animate_task_view_remove_duration">175</integer>
Winson Chungc041d882014-11-14 17:34:03 -0800179
Winson Chungebfc6982014-08-26 12:25:34 -0700180 <!-- The animation duration for scrolling the stack to a particular item. -->
Winson116b2c22015-12-03 17:21:00 -0800181 <integer name="recents_animate_task_stack_scroll_duration">200</integer>
Winson Chungc041d882014-11-14 17:34:03 -0800182
Peter Schillerb124d562015-12-11 21:31:17 -0800183 <!-- The animation duration for scrolling the stack to a particular item. -->
Winson4b9cded2016-01-26 16:26:47 -0800184 <integer name="recents_auto_advance_duration">750</integer>
185
186 <!-- The animation duration for subsequent scrolling the stack to a particular item. -->
187 <integer name="recents_subsequent_auto_advance_duration">1000</integer>
Peter Schillerb124d562015-12-11 21:31:17 -0800188
Winsonc29ff002015-11-20 16:00:45 -0800189 <!-- The animation duration for entering and exiting the history. -->
190 <integer name="recents_history_transition_duration">250</integer>
191
Winson Chung14926462014-04-14 18:57:14 -0700192 <!-- The minimum alpha for the dim applied to cards that go deeper into the stack. -->
193 <integer name="recents_max_task_stack_view_dim">96</integer>
Winson Chungc041d882014-11-14 17:34:03 -0800194
Winson Chunga0e88b52014-08-11 19:25:42 -0700195 <!-- The delay to enforce between each alt-tab key press. -->
196 <integer name="recents_alt_tab_key_delay">200</integer>
Winson Chungc041d882014-11-14 17:34:03 -0800197
Winson Chung96d70412014-11-12 14:17:17 -0800198 <!-- Svelte specific logic, see RecentsConfiguration.SVELTE_* constants. -->
199 <integer name="recents_svelte_level">0</integer>
Jorim Jaggid4a57442014-04-10 02:45:55 +0200200
Jorim Jaggicdb06ca2016-01-25 19:15:12 -0800201 <!-- In multi-window, determines whether the stack where recents lives should grow from
202 the smallest position when being launched. -->
203 <bool name="recents_grow_in_multiwindow">true</bool>
204
Winson4993c2f2015-11-19 10:06:06 -0800205 <!-- Recents: The relative range of visible tasks from the current scroll position
206 while the stack is focused. -->
Winson8aa99592016-01-19 15:07:07 -0800207 <item name="recents_layout_focused_range_min" format="float" type="integer">-3</item>
Winson4993c2f2015-11-19 10:06:06 -0800208 <item name="recents_layout_focused_range_max" format="float" type="integer">3</item>
209
210 <!-- Recents: The relative range of visible tasks from the current scroll position
211 while the stack is not focused. -->
212 <item name="recents_layout_unfocused_range_min" format="float" type="integer">-2</item>
213 <item name="recents_layout_unfocused_range_max" format="float" type="integer">2.5</item>
214
Ji-Hwan Lee25eb3d02014-04-22 12:39:26 +0900215 <!-- Whether to enable KeyguardService or not -->
216 <bool name="config_enableKeyguardService">true</bool>
217
Jorim Jaggid4a57442014-04-10 02:45:55 +0200218 <!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow
219 card. -->
Jorim Jaggie210cc82014-08-12 23:44:59 +0200220 <integer name="keyguard_max_notification_count">3</integer>
Jorim Jaggib7b61dd2014-05-21 15:45:07 +0200221
222 <!-- Defines the implementation of the velocity tracker to be used for the panel expansion. Can
223 be 'platform' or 'noisy' (i.e. for noisy touch screens). -->
224 <string name="velocity_tracker_impl" translatable="false">platform</string>
John Spurlock86005342014-05-23 11:58:00 -0400225
Adrian Roos8ddb2da2014-06-16 18:56:22 -0700226 <!-- Set to true to enable the user switcher on the keyguard. -->
227 <bool name="config_keyguardUserSwitcher">false</bool>
John Spurlock66127272014-06-28 11:27:17 -0400228
John Spurlocked69bd62014-07-23 11:09:02 -0400229 <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? -->
230 <bool name="doze_display_state_supported">false</bool>
231
John Spurlockcb566aa2014-08-03 22:58:28 -0400232 <!-- Doze: should the significant motion sensor be used as a pulse signal? -->
233 <bool name="doze_pulse_on_significant_motion">false</bool>
John Spurlocked69bd62014-07-23 11:09:02 -0400234
John Spurlock559d9592014-08-09 12:04:36 -0400235 <!-- Doze: should the pickup sensor be used as a pulse signal? -->
236 <bool name="doze_pulse_on_pick_up">false</bool>
237
John Spurlock686e4d52014-11-20 21:48:09 -0500238 <!-- Doze: check proximity sensor before pulsing? -->
239 <bool name="doze_proximity_check_before_pulse">true</bool>
240
John Spurlock190d0262014-09-14 15:39:13 -0400241 <!-- Doze: should notifications be used as a pulse signal? -->
242 <bool name="doze_pulse_on_notifications">true</bool>
243
244 <!-- Doze: when to pulse after a buzzworthy notification arrives -->
Selim Cinek01db67d2015-09-24 13:19:25 +0200245 <string name="doze_pulse_schedule" translatable="false">10s,30s,60s</string>
John Spurlock190d0262014-09-14 15:39:13 -0400246
247 <!-- Doze: maximum number of times the notification pulse schedule can be reset -->
John Spurlock618e4202015-02-10 09:10:21 -0500248 <integer name="doze_pulse_schedule_resets">2</integer>
John Spurlockcb566aa2014-08-03 22:58:28 -0400249
John Spurlock50a8ea62014-09-16 09:12:03 -0400250 <!-- Doze: duration to avoid false pickup gestures triggered by notification vibrations -->
251 <integer name="doze_pickup_vibration_threshold">2000</integer>
252
John Spurlockf5d250d2014-12-02 10:41:25 -0500253 <!-- Doze: can we assume the pickup sensor includes a proximity check? -->
John Spurlockb9fe4e12015-01-26 18:55:29 -0500254 <bool name="doze_pickup_performs_proximity_check">false</bool>
John Spurlockf5d250d2014-12-02 10:41:25 -0500255
John Spurlockd06aa572014-09-10 10:40:49 -0400256 <!-- Doze: pulse parameter - how long does it take to fade in? -->
Jorim Jaggi16423aa2014-10-28 11:42:58 +0100257 <integer name="doze_pulse_duration_in">900</integer>
258
John Spurlockf5d250d2014-12-02 10:41:25 -0500259 <!-- Doze: pulse parameter - how long does it take to fade in after a pickup? -->
260 <integer name="doze_pulse_duration_in_pickup">300</integer>
261
John Spurlockd06aa572014-09-10 10:40:49 -0400262 <!-- Doze: pulse parameter - once faded in, how long does it stay visible? -->
263 <integer name="doze_pulse_duration_visible">3000</integer>
264
265 <!-- Doze: pulse parameter - how long does it take to fade out? -->
Jorim Jaggi16423aa2014-10-28 11:42:58 +0100266 <integer name="doze_pulse_duration_out">600</integer>
John Spurlockd06aa572014-09-10 10:40:49 -0400267
John Spurlocke15452b2014-08-21 09:44:39 -0400268 <!-- Doze: alpha to apply to small icons when dozing -->
269 <integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff -->
270
John Spurlock289d7972014-10-17 12:06:38 -0400271 <!-- Hotspot tile: number of days to show after feature is used. -->
272 <integer name="days_to_show_hotspot_tile">30</integer>
273
274 <!-- Color inversion tile: number of days to show after feature is used. -->
275 <integer name="days_to_show_color_inversion_tile">7</integer>
John Spurlock8f8ecd62014-08-27 17:46:03 -0400276
277 <!-- Number of times to show the strong alarm warning text in the volume dialog -->
278 <integer name="zen_mode_alarm_warning_threshold">5</integer>
John Spurlock27c7b922014-09-23 14:59:51 -0400279
John Spurlock530052a2014-11-30 16:26:19 -0500280 <!-- Maximum number of total conditions to display in the zen mode selection panel -->
281 <integer name="zen_mode_max_conditions">5</integer>
John Spurlock3e077012014-11-29 13:22:21 -0500282
John Spurlockf2565a82014-10-23 20:16:22 -0400283 <!-- Enable the default volume dialog -->
284 <bool name="enable_volume_ui">true</bool>
Andrew Flynna478d702015-04-14 23:33:45 -0400285
286 <!-- Duration of the full carrier network change icon animation. -->
287 <integer name="carrier_network_change_anim_time">3000</integer>
John Spurlockd9c75db2015-04-28 11:19:13 -0400288
289 <!-- Duration of the expansion animation in the volume dialog -->
290 <item name="volume_expand_animation_duration" type="integer">300</item>
291
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -0700292 <!-- Whether to show the full screen user switcher. -->
Xiyuan Xia40f9dab2015-08-17 13:19:30 -0700293 <bool name="config_enableFullscreenUserSwitcher">false</bool>
Xiyuan Xiacc3a74f62015-07-22 14:16:34 -0700294
Xiyuan Xia1b30f792016-01-06 08:50:30 -0800295 <!-- SystemUIFactory component -->
296 <string name="config_systemUIFactoryComponent" translatable="false">com.android.systemui.SystemUIFactory</string>
297
Jason Monka2081822016-01-18 14:41:03 -0500298 <!-- Nav bar button default ordering/layout -->
299 <string name="config_navBarLayout" translatable="false">space,back;home;recent,menu_ime</string>
300
Joe Onorato798ac4c2010-05-27 16:39:00 -0400301</resources>
302