OSDN Git Service

Revert "Support to show long or short name in SystemUI."
[android-x86/frameworks-base.git] / packages / SystemUI / res / values / config.xml
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     <!-- 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
27     <!-- 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
33     <!-- Whether to use cheap, less good looking shadows for recents -->
34     <bool name="config_recents_fake_shadows">false</bool>
35
36     <!-- 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
40     <!-- Control whether status bar should distinguish HSPA data icon form UMTS
41     data icon on devices -->
42     <bool name="config_hspa_data_distinguishable">false</bool>
43
44     <!-- 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)  -->
46     <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.phone.PhoneStatusBar</string>
47
48     <!-- Whether or not we show the number in the bar. -->
49     <bool name="config_statusBarShowNumber">false</bool>
50
51     <!-- 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>
54
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>
60
61     <!-- Show rotation lock toggle in System UI-->
62     <bool name="config_showRotationLock">true</bool>
63
64     <!-- Vibration duration for GlowPadView used in SearchPanelView -->
65     <integer translatable="false" name="config_vibration_duration">0</integer>
66
67     <!-- Vibration duration for GlowPadView used in SearchPanelView -->
68     <integer translatable="false" name="config_search_panel_view_vibration_duration">20</integer>
69
70     <!-- Show camera affordance on Keyguard -->
71     <bool name="config_keyguardShowCameraAffordance">true</bool>
72
73     <!-- 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
80     <!-- The length of the vibration when the notification pops open. -->
81     <integer name="one_finger_pop_duration_ms">10</integer>
82
83     <!-- 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>
86
87     <bool name="config_dead_zone_flash">false</bool>
88
89     <!-- Whether QuickSettings is in a phone landscape -->
90     <bool name="quick_settings_wide">false</bool>
91
92     <!-- The number of columns in the QuickSettings -->
93     <integer name="quick_settings_num_columns">3</integer>
94
95     <!-- The number of rows in the QuickSettings -->
96     <integer name="quick_settings_num_rows">1</integer>
97
98     <!-- The number of columns that the top level tiles span in the QuickSettings -->
99     <integer name="quick_settings_user_time_settings_tile_span">1</integer>
100
101     <!-- The default tiles to display in QuickSettings -->
102     <string name="quick_settings_tiles_default" translatable="false">
103         wifi,cell,battery,dnd,flashlight,rotation,bt,airplane,location
104     </string>
105
106     <!-- The tiles to display in QuickSettings -->
107     <string name="quick_settings_tiles" translatable="false">default</string>
108
109     <!-- Whether or not the RSSI tile is capitalized or not. -->
110     <bool name="quick_settings_rssi_tile_capitalization">true</bool>
111
112     <!-- Timeouts for brightness dialog to disappear -->
113     <integer name="quick_settings_brightness_dialog_short_timeout">2000</integer>
114     <integer name="quick_settings_brightness_dialog_long_timeout">4000</integer>
115
116     <!-- Should "4G" be shown instead of "LTE" when the network is NETWORK_TYPE_LTE? -->
117     <bool name="config_show4GForLTE">true</bool>
118
119     <!-- Whether or not we also show rsrp level for LTE. -->
120     <bool name="config_showRsrpSignalLevelforLTE">false</bool>
121
122     <!-- Whether or not we show carrier label in notification panel. -->
123     <bool name="config_showCarrierLabel">false</bool>
124
125     <!-- Whether or not we also show wifi activity in status bar. -->
126     <bool name="config_showWifiActivity">false</bool>
127
128     <!-- Show indicator for Wifi on but not connected. -->
129     <bool name="config_showWifiIndicatorWhenEnabled">false</bool>
130
131     <!-- style of status bar:
132         0: Default Android style
133         1: Show data activity with data type at the left side of
134            signal icon, and signal icon may be two icons
135            stacked, the upper one is to show 3G, and the lower one
136            is to show 2G.
137         2: Do not show data activity besides signal icon, instead,
138            it shows data activity within signal view.
139         3: Show data activity with data type at the left side
140            of signal icon, and do not show two stacked icon on
141            one slot.
142         4: Show LTE, LTE+ symbols on top of signal icon,
143            and shows IMS and embms icons on the left side
144            of the signal icon.
145     -->
146     <integer name="status_bar_style">0</integer>
147
148     <!-- Control whether status bar should fetch mobile signal icons from xml file dynamically -->
149     <bool name="config_read_icons_from_xml">false</bool>
150
151     <!-- milliseconds before the heads up notification auto-dismisses. -->
152     <integer name="heads_up_notification_decay">5000</integer>
153
154     <!-- milliseconds after a heads up notification is pushed back
155      before the app can interrupt again. -->
156     <integer name="heads_up_default_snooze_length_ms">60000</integer>
157
158     <!-- Minimum display time for a heads up notification, in milliseconds. -->
159     <integer name="heads_up_notification_minimum_time">2000</integer>
160
161     <!-- milliseconds before the heads up notification accepts touches. -->
162     <integer name="touch_acceptance_delay">700</integer>
163
164     <!-- The duration in seconds to wait before the dismiss buttons are shown. -->
165     <integer name="recents_task_bar_dismiss_delay_seconds">1000</integer>
166
167     <!-- The duration for animating the task decorations in after transitioning from an app. -->
168     <integer name="recents_task_enter_from_app_duration">200</integer>
169
170     <!-- The duration for animating the task decorations in after transitioning from an app. -->
171     <integer name="recents_task_enter_from_affiliated_app_duration">125</integer>
172
173     <!-- The duration for animating the task decorations out before transitioning to an app. -->
174     <integer name="recents_task_exit_to_app_duration">125</integer>
175
176     <!-- The min animation duration for animating the nav bar scrim in. -->
177     <integer name="recents_nav_bar_scrim_enter_duration">400</integer>
178
179     <!-- The animation duration for scrolling the stack to a particular item. -->
180     <integer name="recents_animate_task_stack_scroll_duration">200</integer>
181
182     <!-- The animation duration for scrolling the stack to a particular item. -->
183     <integer name="recents_auto_advance_duration">750</integer>
184
185     <!-- The animation duration for subsequent scrolling the stack to a particular item. -->
186     <integer name="recents_subsequent_auto_advance_duration">1000</integer>
187
188     <!-- The delay to enforce between each alt-tab key press. -->
189     <integer name="recents_alt_tab_key_delay">200</integer>
190
191     <!-- Svelte specific logic, see RecentsConfiguration.SVELTE_* constants. -->
192     <integer name="recents_svelte_level">0</integer>
193
194     <!-- In multi-window, determines whether the stack where recents lives should grow from
195          the smallest position when being launched. -->
196     <bool name="recents_grow_in_multiwindow">true</bool>
197
198     <!-- Animation duration when using long press on recents to dock -->
199     <integer name="long_press_dock_anim_duration">250</integer>
200
201     <!-- Recents: The relative range of visible tasks from the current scroll position
202          while the stack is focused. -->
203     <item name="recents_layout_focused_range_min" format="float" type="integer">-3</item>
204     <item name="recents_layout_focused_range_max" format="float" type="integer">2</item>
205
206     <!-- Recents: The relative range of visible tasks from the current scroll position
207          while the stack is not focused. -->
208     <item name="recents_layout_unfocused_range_min" format="float" type="integer">-2</item>
209     <item name="recents_layout_unfocused_range_max" format="float" type="integer">2.5</item>
210
211     <!-- Whether to enable KeyguardService or not -->
212     <bool name="config_enableKeyguardService">true</bool>
213
214     <!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow
215      card. -->
216     <integer name="keyguard_max_notification_count">3</integer>
217
218     <!-- Defines the implementation of the velocity tracker to be used for the panel expansion. Can
219          be 'platform' or 'noisy' (i.e. for noisy touch screens). -->
220     <string name="velocity_tracker_impl" translatable="false">platform</string>
221
222     <!-- Set to true to enable the user switcher on the keyguard. -->
223     <bool name="config_keyguardUserSwitcher">false</bool>
224
225     <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND?  -->
226     <bool name="doze_display_state_supported">false</bool>
227
228     <!-- Doze: should the significant motion sensor be used as a pulse signal? -->
229     <bool name="doze_pulse_on_significant_motion">false</bool>
230
231     <!-- Doze: should the pickup sensor be used as a pulse signal? -->
232     <bool name="doze_pulse_on_pick_up">false</bool>
233
234     <!-- Doze: check proximity sensor before pulsing? -->
235     <bool name="doze_proximity_check_before_pulse">true</bool>
236
237     <!-- Doze: should notifications be used as a pulse signal? -->
238     <bool name="doze_pulse_on_notifications">true</bool>
239
240     <!-- Doze: when to pulse after a buzzworthy notification arrives -->
241     <string name="doze_pulse_schedule" translatable="false">10s,30s,60s</string>
242
243     <!-- Doze: maximum number of times the notification pulse schedule can be reset -->
244     <integer name="doze_pulse_schedule_resets">2</integer>
245
246     <!-- Doze: duration to avoid false pickup gestures triggered by notification vibrations -->
247     <integer name="doze_pickup_vibration_threshold">2000</integer>
248
249     <!-- Doze: can we assume the pickup sensor includes a proximity check? -->
250     <bool name="doze_pickup_performs_proximity_check">false</bool>
251
252     <!-- Doze: pulse parameter - how long does it take to fade in? -->
253     <integer name="doze_pulse_duration_in">900</integer>
254
255     <!-- Doze: pulse parameter - how long does it take to fade in after a pickup? -->
256     <integer name="doze_pulse_duration_in_pickup">300</integer>
257
258     <!-- Doze: pulse parameter - once faded in, how long does it stay visible? -->
259     <integer name="doze_pulse_duration_visible">3000</integer>
260
261     <!-- Doze: pulse parameter - how long does it take to fade out? -->
262     <integer name="doze_pulse_duration_out">600</integer>
263
264     <!-- Doze: alpha to apply to small icons when dozing -->
265     <integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff -->
266
267     <!-- Hotspot tile: number of days to show after feature is used. -->
268     <integer name="days_to_show_hotspot_tile">30</integer>
269
270     <!-- Color inversion tile: number of days to show after feature is used. -->
271     <integer name="days_to_show_color_inversion_tile">7</integer>
272
273     <!-- Number of times to show the strong alarm warning text in the volume dialog -->
274     <integer name="zen_mode_alarm_warning_threshold">5</integer>
275
276     <!-- Maximum number of total conditions to display in the zen mode selection panel -->
277     <integer name="zen_mode_max_conditions">5</integer>
278
279     <!-- Enable the default volume dialog -->
280     <bool name="enable_volume_ui">true</bool>
281
282     <!-- Duration of the full carrier network change icon animation. -->
283     <integer name="carrier_network_change_anim_time">3000</integer>
284
285     <!-- Duration of the expansion animation in the volume dialog -->
286     <item name="volume_expand_animation_duration" type="integer">300</item>
287
288     <!-- Whether to show the full screen user switcher. -->
289     <bool name="config_enableFullscreenUserSwitcher">false</bool>
290
291     <!-- SystemUIFactory component -->
292     <string name="config_systemUIFactoryComponent" translatable="false">com.android.systemui.SystemUIFactory</string>
293
294     <!-- Nav bar button default ordering/layout -->
295     <string name="config_navBarLayout" translatable="false">space,back;home;recent,menu_ime</string>
296
297     <bool name="quick_settings_show_full_alarm">false</bool>
298
299     <!-- When true, show charging animation -->
300     <bool name="config_show_battery_charging_anim">false</bool>
301
302     <!-- Whether or not to show battery level text. -->
303     <bool name="config_showBatteryPercentage">false</bool>
304
305     <bool name="config_show4gForIWlan">false</bool>
306     <bool name="config_showSignalForIWlan">false</bool>
307 </resources>
308