Home | History | Annotate | Download | only in values
      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     <!-- Whether we're using the tablet-optimized recents interface (we use this
     25      value at runtime for some things) -->
     26     <bool name="config_recents_interface_for_tablets">false</bool>
     27 
     28     <!-- Whether recents thumbnails should stretch in both x and y to fill their
     29      ImageView -->
     30     <bool name="config_recents_thumbnail_image_fits_to_xy">false</bool>
     31 
     32     <!-- Whether recents should use hardware layers for its taskviews. This flag can be enabled
     33     for devices where the java drawing of round rects may be slow -->
     34     <bool name="config_recents_use_hardware_layers">false</bool>
     35 
     36     <!-- The number of app thumbnails we keep in memory -->
     37     <integer name="config_recents_max_thumbnail_count">10</integer>
     38 
     39     <!-- The number of app icons we keep in memory -->
     40     <integer name="config_recents_max_icon_count">20</integer>
     41 
     42     <!-- Whether to use cheap, less good looking shadows for recents -->
     43     <bool name="config_recents_fake_shadows">false</bool>
     44 
     45     <!-- The theme to use for RecentsActivity. -->
     46     <item type="style" name="config_recents_activity_theme">@style/RecentsTheme.Wallpaper</item>
     47 
     48     <!-- Control whether status bar should distinguish HSPA data icon form UMTS
     49     data icon on devices -->
     50     <bool name="config_hspa_data_distinguishable">false</bool>
     51 
     52     <!-- Component to be used as the status bar service.  Must implement the IStatusBar
     53      interface.  This name is in the ComponentName flattened format (package/class)  -->
     54     <string name="config_statusBarComponent" translatable="false">com.android.systemui.statusbar.phone.PhoneStatusBar</string>
     55 
     56     <!-- Whether or not we show the number in the bar. -->
     57     <bool name="config_statusBarShowNumber">false</bool>
     58 
     59     <!-- How many icons may be shown at once in the system bar. Includes any
     60          slots that may be reused for things like IME control. -->
     61     <integer name="config_maxNotificationIcons">5</integer>
     62 
     63     <!-- Show phone (voice) signal strength instead of data in mobile RSSI. -->
     64     <bool name="config_showPhoneRSSIForData">false</bool>
     65 
     66     <!-- When true, show 1/2G networks as 3G. -->
     67     <bool name="config_showMin3G">false</bool>
     68 
     69     <!-- Show rotation lock toggle in System UI-->
     70     <bool name="config_showRotationLock">true</bool>
     71 
     72     <!-- Amount of time to hold off before showing the search panel when the user presses home -->
     73     <integer name="config_show_search_delay">200</integer>
     74 
     75     <!-- Vibration duration for GlowPadView used in SearchPanelView -->
     76     <integer translatable="false" name="config_vibration_duration">0</integer>
     77 
     78     <!-- Vibration duration for GlowPadView used in SearchPanelView -->
     79     <integer translatable="false" name="config_search_panel_view_vibration_duration">20</integer>
     80 
     81     <!-- Show camera affordance on Keyguard -->
     82     <bool name="config_keyguardShowCameraAffordance">true</bool>
     83 
     84     <!-- Whether we should use SRC drawing mode when drawing the scrim behind. If this flag is set,
     85          we change the canvas opacity so libhwui doesn't call glClear on our surface, and then we
     86          draw the scrim with SRC to overwrite the whole buffer, which saves us a layer of overdraw.
     87          However, SRC performs poorly on some devices, where it is more efficient to
     88          glClear + SRC_OVER, in which case this flag should be disabled. -->
     89     <bool name="config_status_bar_scrim_behind_use_src">true</bool>
     90 
     91     <!-- The length of the vibration when the notification pops open. -->
     92     <integer name="one_finger_pop_duration_ms">10</integer>
     93 
     94     <!-- Whether we're using the tablet-optimized recents interface (we use this
     95      value at runtime for some things) -->
     96     <integer name="status_bar_recents_bg_gradient_degrees">90</integer>
     97 
     98     <!-- decay duration (from size_max -> size), in ms -->
     99     <integer name="navigation_bar_deadzone_hold">333</integer>
    100     <integer name="navigation_bar_deadzone_decay">333</integer>
    101 
    102     <bool name="config_dead_zone_flash">false</bool>
    103 
    104     <!-- Min alpha % that recent items will fade to while being dismissed -->
    105     <integer name="config_recent_item_min_alpha">3</integer>
    106 
    107     <!-- The number of columns in the QuickSettings -->
    108     <integer name="quick_settings_num_columns">3</integer>
    109 
    110     <!-- The maximum number of rows in the QuickSettings -->
    111     <integer name="quick_settings_max_rows">4</integer>
    112 
    113     <!-- The maximum number of rows in the QuickSettings when on the keyguard -->
    114     <integer name="quick_settings_max_rows_keyguard">3</integer>
    115 
    116     <!-- The number of columns that the top level tiles span in the QuickSettings -->
    117     <integer name="quick_settings_user_time_settings_tile_span">1</integer>
    118 
    119     <!-- The default tiles to display in QuickSettings -->
    120     <string name="quick_settings_tiles_default" translatable="false">
    121         wifi,bt,inversion,cell,airplane,rotation,flashlight,location,cast,hotspot
    122     </string>
    123 
    124     <!-- The tiles to display in QuickSettings -->
    125     <string name="quick_settings_tiles" translatable="false">default</string>
    126 
    127     <!-- Whether or not the RSSI tile is capitalized or not. -->
    128     <bool name="quick_settings_rssi_tile_capitalization">true</bool>
    129 
    130     <!-- Timeouts for brightness dialog to disappear -->
    131     <integer name="quick_settings_brightness_dialog_short_timeout">2000</integer>
    132     <integer name="quick_settings_brightness_dialog_long_timeout">4000</integer>
    133 
    134     <integer name="blinds_pop_duration_ms">10</integer>
    135 
    136     <!-- Should "4G" be shown instead of "LTE" when the network is NETWORK_TYPE_LTE? -->
    137     <bool name="config_show4GForLTE">true</bool>
    138 
    139     <!-- milliseconds before the heads up notification auto-dismisses. -->
    140     <integer name="heads_up_notification_decay">10000</integer>
    141 
    142     <!-- milliseconds before the heads up notification accepts touches. -->
    143     <integer name="heads_up_sensitivity_delay">700</integer>
    144 
    145     <!-- The duration in seconds to wait before the dismiss buttons are shown. -->
    146     <integer name="recents_task_bar_dismiss_delay_seconds">1</integer>
    147     <!-- The min animation duration for animating views that are currently visible. -->
    148     <integer name="recents_filter_animate_current_views_duration">250</integer>
    149     <!-- The min animation duration for animating views that are newly visible. -->
    150     <integer name="recents_filter_animate_new_views_duration">250</integer>
    151     <!-- The min animation duration for animating the task bar in. -->
    152     <integer name="recents_animate_task_bar_enter_duration">225</integer>
    153     <!-- The animation delay for animating the first task in. This should roughly be the animation
    154      duration of the transition in to recents. -->
    155     <integer name="recents_animate_task_bar_enter_delay">275</integer>
    156     <!-- The min animation duration for animating the task bar out. -->
    157     <integer name="recents_animate_task_exit_to_home_duration">225</integer>
    158     <!-- The min animation duration for animating the task bar out. -->
    159     <integer name="recents_animate_task_bar_exit_duration">125</integer>
    160     <!-- The animation delay for animating the first task in. This should roughly be the animation
    161      duration of the transition in to recents from home. -->
    162     <integer name="recents_animate_task_enter_from_home_delay">150</integer>
    163     <!-- The min animation duration for animating the task in when transitioning from home. -->
    164     <integer name="recents_animate_task_enter_from_home_duration">250</integer>
    165     <!-- The animation stagger to apply to each task animation when transitioning from home. -->
    166     <integer name="recents_animate_task_enter_from_home_stagger_delay">12</integer>
    167     <!-- The short duration when animating in/out the lock to app button. -->
    168     <integer name="recents_animate_lock_to_app_button_short_duration">150</integer>
    169     <!-- The long duration when animating in/out the lock to app button. -->
    170     <integer name="recents_animate_lock_to_app_button_long_duration">300</integer>
    171     <!-- The min animation duration for animating the nav bar scrim in. -->
    172     <integer name="recents_nav_bar_scrim_enter_duration">400</integer>
    173     <!-- The animation duration for animating the removal of a task view. -->
    174     <integer name="recents_animate_task_view_remove_duration">250</integer>
    175     <!-- The animation duration for scrolling the stack to a particular item. -->
    176     <integer name="recents_animate_task_stack_scroll_duration">225</integer>
    177     <!-- The minimum alpha for the dim applied to cards that go deeper into the stack. -->
    178     <integer name="recents_max_task_stack_view_dim">96</integer>
    179     <!-- The delay to enforce between each alt-tab key press. -->
    180     <integer name="recents_alt_tab_key_delay">200</integer>
    181     <!-- Transposes the search bar layout in landscape. -->
    182     <bool name="recents_has_transposed_search_bar">true</bool>
    183     <!-- Transposes the nav bar in landscape (only used for purposes of layout). -->
    184     <bool name="recents_has_transposed_nav_bar">true</bool>
    185 
    186     <!-- Whether to enable KeyguardService or not -->
    187     <bool name="config_enableKeyguardService">true</bool>
    188 
    189     <!-- The maximum count of notifications on Keyguard. The rest will be collapsed in an overflow
    190      card. -->
    191     <integer name="keyguard_max_notification_count">3</integer>
    192 
    193     <!-- Defines the implementation of the velocity tracker to be used for the panel expansion. Can
    194          be 'platform' or 'noisy' (i.e. for noisy touch screens). -->
    195     <string name="velocity_tracker_impl" translatable="false">platform</string>
    196 
    197     <!-- Set to true to enable the classic notification ticker that scrolls
    198          Notification.tickerText across the status bar for what seems like an
    199          eternity. -->
    200     <bool name="enable_ticker">false</bool>
    201 
    202     <!-- Set to true to enable the user switcher on the keyguard. -->
    203     <bool name="config_keyguardUserSwitcher">false</bool>
    204 
    205     <!-- Doze: does this device support STATE_DOZE and STATE_DOZE_SUSPEND?  -->
    206     <bool name="doze_display_state_supported">false</bool>
    207 
    208     <!-- Doze: should the significant motion sensor be used as a pulse signal? -->
    209     <bool name="doze_pulse_on_significant_motion">false</bool>
    210 
    211     <!-- Doze: should the pickup sensor be used as a pulse signal? -->
    212     <bool name="doze_pulse_on_pick_up">false</bool>
    213 
    214     <!-- Doze: should notifications be used as a pulse signal? -->
    215     <bool name="doze_pulse_on_notifications">true</bool>
    216 
    217     <!-- Doze: when to pulse after a buzzworthy notification arrives -->
    218     <string name="doze_pulse_schedule" translatable="false">1s,10s,30s,60s,120s</string>
    219 
    220     <!-- Doze: maximum number of times the notification pulse schedule can be reset -->
    221     <integer name="doze_pulse_schedule_resets">3</integer>
    222 
    223     <!-- Doze: duration to avoid false pickup gestures triggered by notification vibrations -->
    224     <integer name="doze_pickup_vibration_threshold">2000</integer>
    225 
    226     <!-- Doze: pulse parameter - how long does it take to fade in? -->
    227     <integer name="doze_pulse_duration_in">1000</integer>
    228 
    229     <!-- Doze: pulse parameter - once faded in, how long does it stay visible? -->
    230     <integer name="doze_pulse_duration_visible">3000</integer>
    231 
    232     <!-- Doze: pulse parameter - how long does it take to fade out? -->
    233     <integer name="doze_pulse_duration_out">1000</integer>
    234 
    235     <!-- Doze: alpha to apply to small icons when dozing -->
    236     <integer name="doze_small_icon_alpha">222</integer><!-- 87% of 0xff -->
    237 
    238     <!-- Volume: time to delay dismissing the volume panel after a click is performed -->
    239     <integer name="volume_panel_dismiss_delay">200</integer>
    240 
    241     <!-- Tiles with feature timeouts: number of days to show after feature is used. -->
    242     <integer name="days_to_show_timeout_tiles">30</integer>
    243 
    244     <!-- Number of times to show the strong alarm warning text in the volume dialog -->
    245     <integer name="zen_mode_alarm_warning_threshold">5</integer>
    246 
    247     <!-- Zen toast fade in/out duration -->
    248     <integer name="zen_toast_animation_duration">500</integer>
    249 
    250     <!-- Zen toast visibility duration -->
    251     <integer name="zen_toast_visible_duration">500</integer>
    252 </resources>
    253 
    254