2009-05-18 21:47:50 -07:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
2010-05-27 16:39:00 -04:00
|
|
|
/*
|
2009-05-18 21:47:50 -07:00
|
|
|
** Copyright 2009, The Android Open Source Project
|
|
|
|
**
|
2012-05-17 17:01:15 -07:00
|
|
|
** Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
** you may not use this file except in compliance with the License.
|
|
|
|
** You may obtain a copy of the License at
|
2009-05-18 21:47:50 -07:00
|
|
|
**
|
2012-05-17 17:01:15 -07:00
|
|
|
** http://www.apache.org/licenses/LICENSE-2.0
|
2009-05-18 21:47:50 -07:00
|
|
|
**
|
2012-05-17 17:01:15 -07:00
|
|
|
** Unless required by applicable law or agreed to in writing, software
|
|
|
|
** distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
** See the License for the specific language governing permissions and
|
2009-05-18 21:47:50 -07:00
|
|
|
** limitations under the License.
|
|
|
|
*/
|
|
|
|
-->
|
2010-05-27 16:39:00 -04:00
|
|
|
|
|
|
|
<!-- These resources are around just to allow their values to be customized
|
|
|
|
for different hardware and product builds. -->
|
|
|
|
<resources>
|
2010-07-01 16:39:39 -04:00
|
|
|
|
2011-08-16 12:40:30 -07:00
|
|
|
<!-- Whether we're using the tablet-optimized recents interface (we use this
|
|
|
|
value at runtime for some things) -->
|
|
|
|
<bool name="config_recents_interface_for_tablets">false</bool>
|
|
|
|
|
2011-11-13 13:50:38 -08:00
|
|
|
<!-- Whether recents thumbnails should stretch in both x and y to fill their
|
|
|
|
ImageView -->
|
|
|
|
<bool name="config_recents_thumbnail_image_fits_to_xy">false</bool>
|
|
|
|
|
2014-09-17 04:03:52 +02:00
|
|
|
<!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
|
|
|
|
for devices where the java drawing of round rects may be slow -->
|
|
|
|
<bool name="config_recents_use_hardware_layers">false</bool>
|
|
|
|
|
2014-09-12 23:28:58 +02:00
|
|
|
<!-- The number of app thumbnails we keep in memory -->
|
|
|
|
<integer name="config_recents_max_thumbnail_count">10</integer>
|
|
|
|
|
|
|
|
<!-- The number of app icons we keep in memory -->
|
|
|
|
<integer name="config_recents_max_icon_count">20</integer>
|
|
|
|
|
2014-09-16 23:09:24 +02:00
|
|
|
<!-- Whether to use cheap, less good looking shadows for recents -->
|
|
|
|
<bool name="config_recents_fake_shadows">false</bool>
|
2014-09-16 20:23:13 +02:00
|
|
|
|
|
|
|
<!-- The theme to use for RecentsActivity. -->
|
|
|
|
<item type="style" name="config_recents_activity_theme">@style/RecentsTheme.Wallpaper</item>
|
|
|
|
|
2010-07-01 16:39:39 -04:00
|
|
|
<!-- Control whether status bar should distinguish HSPA data icon form UMTS
|
|
|
|
data icon on devices -->
|
2010-05-27 16:39:00 -04:00
|
|
|
<bool name="config_hspa_data_distinguishable">false</bool>
|
2010-07-01 16:39:39 -04:00
|
|
|
|
2010-10-21 11:09:02 -04:00
|
|
|
<!-- Component to be used as the status bar service. Must implement the IStatusBar
|
|
|
|
interface. This name is in the ComponentName flattened format (package/class) -->
|
2010-11-10 18:00:52 -08:00
|
|
|
<string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.phone.PhoneStatusBar</string>
|
2010-10-21 11:09:02 -04:00
|
|
|
|
2010-11-19 18:12:07 -08:00
|
|
|
<!-- Whether or not we show the number in the bar. -->
|
2011-07-22 13:02:07 -04:00
|
|
|
<bool name="config_statusBarShowNumber">false</bool>
|
2010-11-19 18:12:07 -08:00
|
|
|
|
2011-05-27 19:15:01 +09:00
|
|
|
<!-- How many icons may be shown at once in the system bar. Includes any
|
|
|
|
slots that may be reused for things like IME control. -->
|
|
|
|
<integer name="config_maxNotificationIcons">5</integer>
|
2011-08-25 17:29:26 -07:00
|
|
|
|
|
|
|
<!-- Show phone (voice) signal strength instead of data in mobile RSSI. -->
|
|
|
|
<bool name="config_showPhoneRSSIForData">false</bool>
|
|
|
|
|
|
|
|
<!-- When true, show 1/2G networks as 3G. -->
|
|
|
|
<bool name="config_showMin3G">false</bool>
|
2012-05-03 23:16:42 -04:00
|
|
|
|
2013-12-19 16:39:23 -05:00
|
|
|
<!-- Show rotation lock toggle in System UI-->
|
2012-05-03 23:16:42 -04:00
|
|
|
<bool name="config_showRotationLock">true</bool>
|
2012-05-17 17:01:15 -07:00
|
|
|
|
2012-05-30 03:19:43 -07:00
|
|
|
<!-- Amount of time to hold off before showing the search panel when the user presses home -->
|
|
|
|
<integer name="config_show_search_delay">200</integer>
|
|
|
|
|
2014-01-30 13:45:59 -05:00
|
|
|
<!-- Vibration duration for GlowPadView used in SearchPanelView -->
|
2012-05-29 14:46:54 -07:00
|
|
|
<integer translatable="false" name="config_vibration_duration">0</integer>
|
|
|
|
|
2014-01-30 13:45:59 -05:00
|
|
|
<!-- Vibration duration for GlowPadView used in SearchPanelView -->
|
2012-05-29 14:46:54 -07:00
|
|
|
<integer translatable="false" name="config_search_panel_view_vibration_duration">20</integer>
|
2012-06-15 16:51:54 -04:00
|
|
|
|
2014-08-27 19:08:26 +02:00
|
|
|
<!-- Show camera affordance on Keyguard -->
|
|
|
|
<bool name="config_keyguardShowCameraAffordance">true</bool>
|
|
|
|
|
2014-09-27 01:30:22 +02:00
|
|
|
<!-- Whether we should use SRC drawing mode when drawing the scrim behind. If this flag is set,
|
|
|
|
we change the canvas opacity so libhwui doesn't call glClear on our surface, and then we
|
|
|
|
draw the scrim with SRC to overwrite the whole buffer, which saves us a layer of overdraw.
|
|
|
|
However, SRC performs poorly on some devices, where it is more efficient to
|
|
|
|
glClear + SRC_OVER, in which case this flag should be disabled. -->
|
|
|
|
<bool name="config_status_bar_scrim_behind_use_src">true</bool>
|
|
|
|
|
2012-09-11 15:18:47 -04:00
|
|
|
<!-- The length of the vibration when the notification pops open. -->
|
2012-06-15 16:51:54 -04:00
|
|
|
<integer name="one_finger_pop_duration_ms">10</integer>
|
2012-08-06 14:31:13 -04:00
|
|
|
|
|
|
|
<!-- Whether we're using the tablet-optimized recents interface (we use this
|
|
|
|
value at runtime for some things) -->
|
|
|
|
<integer name="status_bar_recents_bg_gradient_degrees">90</integer>
|
2012-08-29 15:49:53 -04:00
|
|
|
|
|
|
|
<!-- decay duration (from size_max -> size), in ms -->
|
|
|
|
<integer name="navigation_bar_deadzone_hold">333</integer>
|
|
|
|
<integer name="navigation_bar_deadzone_decay">333</integer>
|
2014-04-22 12:39:26 +09:00
|
|
|
|
2012-08-30 17:10:50 -04:00
|
|
|
<bool name="config_dead_zone_flash">false</bool>
|
2012-09-04 05:15:26 -07:00
|
|
|
|
|
|
|
<!-- Min alpha % that recent items will fade to while being dismissed -->
|
|
|
|
<integer name="config_recent_item_min_alpha">3</integer>
|
2012-09-05 17:34:41 -07:00
|
|
|
|
|
|
|
<!-- The number of columns in the QuickSettings -->
|
|
|
|
<integer name="quick_settings_num_columns">3</integer>
|
|
|
|
|
2014-04-15 16:14:46 -04:00
|
|
|
<!-- The maximum number of rows in the QuickSettings -->
|
|
|
|
<integer name="quick_settings_max_rows">4</integer>
|
|
|
|
|
|
|
|
<!-- The maximum number of rows in the QuickSettings when on the keyguard -->
|
|
|
|
<integer name="quick_settings_max_rows_keyguard">3</integer>
|
|
|
|
|
2012-09-05 17:34:41 -07:00
|
|
|
<!-- The number of columns that the top level tiles span in the QuickSettings -->
|
|
|
|
<integer name="quick_settings_user_time_settings_tile_span">1</integer>
|
2012-09-14 12:27:29 -07:00
|
|
|
|
2014-08-10 18:04:16 -04:00
|
|
|
<!-- The default tiles to display in QuickSettings -->
|
|
|
|
<string name="quick_settings_tiles_default" translatable="false">
|
2014-08-20 10:23:48 -04:00
|
|
|
wifi,bt,inversion,cell,airplane,rotation,flashlight,location,cast,hotspot
|
2014-08-10 18:04:16 -04:00
|
|
|
</string>
|
|
|
|
|
|
|
|
<!-- The tiles to display in QuickSettings -->
|
|
|
|
<string name="quick_settings_tiles" translatable="false">default</string>
|
|
|
|
|
2013-09-24 14:19:36 -07:00
|
|
|
<!-- Whether or not the RSSI tile is capitalized or not. -->
|
|
|
|
<bool name="quick_settings_rssi_tile_capitalization">true</bool>
|
|
|
|
|
2012-09-20 16:07:11 -07:00
|
|
|
<!-- Timeouts for brightness dialog to disappear -->
|
|
|
|
<integer name="quick_settings_brightness_dialog_short_timeout">2000</integer>
|
|
|
|
<integer name="quick_settings_brightness_dialog_long_timeout">4000</integer>
|
2012-09-11 15:18:47 -04:00
|
|
|
|
|
|
|
<integer name="blinds_pop_duration_ms">10</integer>
|
|
|
|
|
2013-06-06 16:15:43 -04:00
|
|
|
<!-- Should "4G" be shown instead of "LTE" when the network is NETWORK_TYPE_LTE? -->
|
2013-06-18 14:47:14 -07:00
|
|
|
<bool name="config_show4GForLTE">true</bool>
|
2013-07-16 20:49:17 -04:00
|
|
|
|
|
|
|
<!-- milliseconds before the heads up notification auto-dismisses. -->
|
2014-08-19 13:37:44 -04:00
|
|
|
<integer name="heads_up_notification_decay">10000</integer>
|
2013-07-16 20:49:17 -04:00
|
|
|
|
|
|
|
<!-- milliseconds before the heads up notification accepts touches. -->
|
|
|
|
<integer name="heads_up_sensitivity_delay">700</integer>
|
2014-04-03 18:05:29 -07:00
|
|
|
|
2014-06-12 17:52:39 -07:00
|
|
|
<!-- The duration in seconds to wait before the dismiss buttons are shown. -->
|
2014-06-19 22:41:19 -07:00
|
|
|
<integer name="recents_task_bar_dismiss_delay_seconds">1</integer>
|
2014-04-03 18:05:29 -07:00
|
|
|
<!-- The min animation duration for animating views that are currently visible. -->
|
2014-06-17 17:56:17 -07:00
|
|
|
<integer name="recents_filter_animate_current_views_duration">250</integer>
|
2014-04-03 18:05:29 -07:00
|
|
|
<!-- The min animation duration for animating views that are newly visible. -->
|
2014-06-17 17:56:17 -07:00
|
|
|
<integer name="recents_filter_animate_new_views_duration">250</integer>
|
2014-05-02 18:35:35 -07:00
|
|
|
<!-- The min animation duration for animating the task bar in. -->
|
2014-08-26 12:25:34 -07:00
|
|
|
<integer name="recents_animate_task_bar_enter_duration">225</integer>
|
2014-06-02 15:31:56 -07:00
|
|
|
<!-- The animation delay for animating the first task in. This should roughly be the animation
|
|
|
|
duration of the transition in to recents. -->
|
2014-08-26 12:25:34 -07:00
|
|
|
<integer name="recents_animate_task_bar_enter_delay">275</integer>
|
2014-05-02 18:35:35 -07:00
|
|
|
<!-- The min animation duration for animating the task bar out. -->
|
2014-06-13 09:41:09 -07:00
|
|
|
<integer name="recents_animate_task_exit_to_home_duration">225</integer>
|
|
|
|
<!-- The min animation duration for animating the task bar out. -->
|
2014-06-02 15:31:56 -07:00
|
|
|
<integer name="recents_animate_task_bar_exit_duration">125</integer>
|
2014-09-08 11:38:54 +02:00
|
|
|
<!-- The animation delay for animating the first task in. This should roughly be the animation
|
|
|
|
duration of the transition in to recents from home. -->
|
|
|
|
<integer name="recents_animate_task_enter_from_home_delay">150</integer>
|
2014-06-03 16:24:04 -07:00
|
|
|
<!-- The min animation duration for animating the task in when transitioning from home. -->
|
2014-09-29 13:16:05 -07:00
|
|
|
<integer name="recents_animate_task_enter_from_home_duration">250</integer>
|
|
|
|
<!-- The animation stagger to apply to each task animation when transitioning from home. -->
|
|
|
|
<integer name="recents_animate_task_enter_from_home_stagger_delay">12</integer>
|
2014-07-11 17:06:48 -07:00
|
|
|
<!-- The short duration when animating in/out the lock to app button. -->
|
|
|
|
<integer name="recents_animate_lock_to_app_button_short_duration">150</integer>
|
|
|
|
<!-- The long duration when animating in/out the lock to app button. -->
|
|
|
|
<integer name="recents_animate_lock_to_app_button_long_duration">300</integer>
|
2014-06-02 15:31:56 -07:00
|
|
|
<!-- The min animation duration for animating the nav bar scrim in. -->
|
|
|
|
<integer name="recents_nav_bar_scrim_enter_duration">400</integer>
|
2014-05-07 18:08:34 -07:00
|
|
|
<!-- The animation duration for animating the removal of a task view. -->
|
2014-05-09 17:15:32 -07:00
|
|
|
<integer name="recents_animate_task_view_remove_duration">250</integer>
|
2014-08-26 12:25:34 -07:00
|
|
|
<!-- The animation duration for scrolling the stack to a particular item. -->
|
|
|
|
<integer name="recents_animate_task_stack_scroll_duration">225</integer>
|
2014-04-14 18:57:14 -07:00
|
|
|
<!-- The minimum alpha for the dim applied to cards that go deeper into the stack. -->
|
|
|
|
<integer name="recents_max_task_stack_view_dim">96</integer>
|
2014-08-11 19:25:42 -07:00
|
|
|
<!-- The delay to enforce between each alt-tab key press. -->
|
|
|
|
<integer name="recents_alt_tab_key_delay">200</integer>
|
2014-09-05 17:24:20 +02:00
|
|
|
<!-- Transposes the search bar layout in landscape. -->
|
|
|
|
<bool name="recents_has_transposed_search_bar">true</bool>
|
|
|
|
<!-- Transposes the nav bar in landscape (only used for purposes of layout). -->
|
|
|
|
<bool name="recents_has_transposed_nav_bar">true</bool>
|
2014-04-10 02:45:55 +02:00
|
|
|
|
2014-04-22 12:39:26 +09:00
|
|
|
<!-- Whether to enable KeyguardService or not -->
|
|
|
|
<bool name="config_enableKeyguardService">true</bool>
|
|
|
|
|
2014-04-10 02:45:55 +02:00
|
|
|
<!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow
|
|
|
|
card. -->
|
2014-08-12 23:44:59 +02:00
|
|
|
<integer name="keyguard_max_notification_count">3</integer>
|
2014-05-21 15:45:07 +02:00
|
|
|
|
|
|
|
<!-- Defines the implementation of the velocity tracker to be used for the panel expansion. Can
|
|
|
|
be 'platform' or 'noisy' (i.e. for noisy touch screens). -->
|
|
|
|
<string name="velocity_tracker_impl" translatable="false">platform</string>
|
2014-05-23 11:58:00 -04:00
|
|
|
|
2014-06-09 11:26:16 -04:00
|
|
|
<!-- Set to true to enable the classic notification ticker that scrolls
|
|
|
|
Notification.tickerText across the status bar for what seems like an
|
|
|
|
eternity. -->
|
|
|
|
<bool name="enable_ticker">false</bool>
|
2014-06-16 18:56:22 -07:00
|
|
|
|
|
|
|
<!-- Set to true to enable the user switcher on the keyguard. -->
|
|
|
|
<bool name="config_keyguardUserSwitcher">false</bool>
|
2014-06-28 11:27:17 -04:00
|
|
|
|
2014-07-23 11:09:02 -04:00
|
|
|
<!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND? -->
|
|
|
|
<bool name="doze_display_state_supported">false</bool>
|
|
|
|
|
2014-08-03 22:58:28 -04:00
|
|
|
<!-- Doze: should the significant motion sensor be used as a pulse signal? -->
|
|
|
|
<bool name="doze_pulse_on_significant_motion">false</bool>
|
2014-07-23 11:09:02 -04:00
|
|
|
|
2014-08-09 12:04:36 -04:00
|
|
|
<!-- Doze: should the pickup sensor be used as a pulse signal? -->
|
|
|
|
<bool name="doze_pulse_on_pick_up">false</bool>
|
|
|
|
|
Doze: Aggressively dial down notification-related pulses.
When dozing and buzz-worthy notifications arrive, don't follow
the LED logic with periodic pulses.
Instead, follow a simple decay schedule after the initial arrival,
pulsing only at 10s, 30s, 60s, and 120s.
The schedule is reset when a new notification arrives, but only
for the first three times, until either the pickup sensor is
triggered or the device exits doze.
Also:
- Make the notification trigger configurable.
- Centralize existing sysprop configuration into DozeParameters.
- Decouple vibration from debugging, make separately configurable.
- Remove "delayed" pulse concept, fold into new schedule.
Bug:17496795
Change-Id: I64fc1c862bcfa1c288a4fd91c9d17e3bff245add
2014-09-14 15:39:13 -04:00
|
|
|
<!-- Doze: should notifications be used as a pulse signal? -->
|
|
|
|
<bool name="doze_pulse_on_notifications">true</bool>
|
|
|
|
|
|
|
|
<!-- Doze: when to pulse after a buzzworthy notification arrives -->
|
2014-09-19 20:48:24 -04:00
|
|
|
<string name="doze_pulse_schedule" translatable="false">1s,10s,30s,60s,120s</string>
|
Doze: Aggressively dial down notification-related pulses.
When dozing and buzz-worthy notifications arrive, don't follow
the LED logic with periodic pulses.
Instead, follow a simple decay schedule after the initial arrival,
pulsing only at 10s, 30s, 60s, and 120s.
The schedule is reset when a new notification arrives, but only
for the first three times, until either the pickup sensor is
triggered or the device exits doze.
Also:
- Make the notification trigger configurable.
- Centralize existing sysprop configuration into DozeParameters.
- Decouple vibration from debugging, make separately configurable.
- Remove "delayed" pulse concept, fold into new schedule.
Bug:17496795
Change-Id: I64fc1c862bcfa1c288a4fd91c9d17e3bff245add
2014-09-14 15:39:13 -04:00
|
|
|
|
|
|
|
<!-- Doze: maximum number of times the notification pulse schedule can be reset -->
|
|
|
|
<integer name="doze_pulse_schedule_resets">3</integer>
|
2014-09-16 09:12:03 -04:00
|
|
|
|
|
|
|
<!-- Doze: duration to avoid false pickup gestures triggered by notification vibrations -->
|
|
|
|
<integer name="doze_pickup_vibration_threshold">2000</integer>
|
2014-08-03 22:58:28 -04:00
|
|
|
|
2014-09-10 10:40:49 -04:00
|
|
|
<!-- Doze: pulse parameter - how long does it take to fade in? -->
|
|
|
|
<integer name="doze_pulse_duration_in">1000</integer>
|
|
|
|
|
|
|
|
<!-- Doze: pulse parameter - once faded in, how long does it stay visible? -->
|
|
|
|
<integer name="doze_pulse_duration_visible">3000</integer>
|
|
|
|
|
|
|
|
<!-- Doze: pulse parameter - how long does it take to fade out? -->
|
|
|
|
<integer name="doze_pulse_duration_out">1000</integer>
|
|
|
|
|
2014-08-21 09:44:39 -04:00
|
|
|
<!-- Doze: alpha to apply to small icons when dozing -->
|
|
|
|
<integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff -->
|
|
|
|
|
2014-07-11 11:07:53 -04:00
|
|
|
<!-- Volume: time to delay dismissing the volume panel after a click is performed -->
|
|
|
|
<integer name="volume_panel_dismiss_delay">200</integer>
|
2014-07-22 12:00:47 -04:00
|
|
|
|
2014-08-04 17:45:16 -04:00
|
|
|
<!-- Tiles with feature timeouts: number of days to show after feature is used. -->
|
|
|
|
<integer name="days_to_show_timeout_tiles">30</integer>
|
2014-08-27 17:46:03 -04:00
|
|
|
|
|
|
|
<!-- Number of times to show the strong alarm warning text in the volume dialog -->
|
|
|
|
<integer name="zen_mode_alarm_warning_threshold">5</integer>
|
2014-09-23 14:59:51 -04:00
|
|
|
|
|
|
|
<!-- Zen toast fade in/out duration -->
|
|
|
|
<integer name="zen_toast_animation_duration">500</integer>
|
|
|
|
|
|
|
|
<!-- Zen toast visibility duration -->
|
2014-09-25 20:14:41 -04:00
|
|
|
<integer name="zen_toast_visible_duration">500</integer>
|
2010-05-27 16:39:00 -04:00
|
|
|
</resources>
|
|
|
|
|