Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3  * Copyright (c) 2006, The Android Open Source Project
      4  *
      5  * Licensed under the Apache License, Version 2.0 (the "License");
      6  * you may not use this file except in compliance with the License.
      7  * You may obtain a copy of the License at
      8  *
      9  *     http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  * Unless required by applicable law or agreed to in writing, software
     12  * distributed under the License is distributed on an "AS IS" BASIS,
     13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  * See the License for the specific language governing permissions and
     15  * limitations under the License.
     16 */
     17 -->
     18 <resources>
     19     <!-- Margin at the edge of the screen to ignore touch events for in the windowshade. -->
     20     <dimen name="status_bar_edge_ignore">5dp</dimen>
     21 
     22     <!-- Recent Applications parameters -->
     23     <!-- Upper width limit for application icon -->
     24     <dimen name="status_bar_recents_app_icon_max_width">48dp</dimen>
     25     <!-- Upper height limit for application icon -->
     26     <dimen name="status_bar_recents_app_icon_max_height">48dp</dimen>
     27 
     28     <!-- Size of application thumbnail -->
     29     <dimen name="status_bar_recents_thumbnail_width">164dp</dimen>
     30     <dimen name="status_bar_recents_thumbnail_height">145dp</dimen>
     31     <dimen name="status_bar_recents_thumbnail_bg_padding">4dp</dimen>
     32 
     33     <!-- Size of application label text -->
     34     <dimen name="status_bar_recents_app_label_text_size">14dip</dimen>
     35     <!-- Size of application description text -->
     36     <dimen name="status_bar_recents_app_description_text_size">14dip</dimen>
     37     <!-- Size of fading edge for text -->
     38     <dimen name="status_bar_recents_text_fading_edge_length">20dip</dimen>
     39     <!-- Size of fading edge for scrolling -->
     40     <dimen name="status_bar_recents_scroll_fading_edge_length">10dip</dimen>
     41     <!-- Margin between recents container and glow on the right -->
     42     <dimen name="status_bar_recents_right_glow_margin">100dip</dimen>
     43     <!-- How far the thumbnail for a recent app appears from left edge -->
     44     <dimen name="status_bar_recents_thumbnail_left_margin">20dp</dimen>
     45     <!-- Padding for text descriptions -->
     46     <dimen name="status_bar_recents_text_description_padding">8dp</dimen>
     47     <!-- Width of application label text -->
     48     <dimen name="status_bar_recents_app_label_width">88dip</dimen>
     49     <!-- Left margin of application label text -->
     50     <dimen name="status_bar_recents_app_label_left_margin">0dip</dimen>
     51     <!-- Padding between recents items -->
     52     <dimen name="status_bar_recents_item_padding">0dip</dimen>
     53     <!-- When recents first appears, how far the icon and label of the primary activity
     54          travel -->
     55     <dimen name="status_bar_recents_app_icon_translate_distance">35dip</dimen>
     56 
     57     <!-- Where to place the app icon over the thumbnail -->
     58     <dimen name="status_bar_recents_app_icon_left_margin">0dp</dimen>
     59     <dimen name="status_bar_recents_app_icon_top_margin">8dp</dimen>
     60 
     61     <!-- Amount to offset bottom of notification peek window from top of status bar. -->
     62     <dimen name="peek_window_y_offset">-12dp</dimen>
     63 
     64     <!-- thickness (height) of the navigation bar on phones that require it -->
     65     <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
     66 
     67     <!-- thickness (height) of the dead zone at the top of the navigation bar,
     68          reducing false presses on navbar buttons; approx 2mm -->
     69     <dimen name="navigation_bar_deadzone_size">12dp</dimen>
     70     <!-- size of the dead zone when touches have recently occurred elsewhere on screen -->
     71     <dimen name="navigation_bar_deadzone_size_max">32dp</dimen>
     72 
     73     <!-- Height of notification icons in the status bar -->
     74     <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
     75 
     76     <!-- Height of a small notification in the status bar -->
     77     <dimen name="notification_min_height">64dp</dimen>
     78 
     79     <!-- Height of a large notification in the status bar -->
     80     <dimen name="notification_max_height">256dp</dimen>
     81 
     82     <!-- Height of a small notification in the status bar plus glow, padding, etc -->
     83     <dimen name="notification_row_min_height">70dp</dimen>
     84 
     85     <!-- Height of a large notification in the status bar plus glow, padding, etc -->
     86     <dimen name="notification_row_max_height">260dp</dimen>
     87 
     88     <!-- size at which Notification icons will be drawn in the status bar -->
     89     <dimen name="status_bar_icon_drawing_size">18dip</dimen>
     90 
     91     <!-- opacity at which Notification icons will be drawn in the status bar -->
     92     <item type="dimen" name="status_bar_icon_drawing_alpha">75%</item>
     93 
     94     <!-- gap on either side of status bar notification icons -->
     95     <dimen name="status_bar_icon_padding">0dp</dimen>
     96 
     97     <!-- half the distance between notifications in the panel -->
     98     <dimen name="notification_divider_height">3dp</dimen>
     99 
    100     <!-- Notification drawer tuning parameters (phone UI) -->
    101     <!-- Initial velocity of the shade when expanding on its own -->
    102     <dimen name="self_expand_velocity">2000dp</dimen>
    103     <!-- Initial velocity of the shade when collapsing on its own -->
    104     <dimen name="self_collapse_velocity">2000dp</dimen>
    105     <!-- Minimum final velocity of gestures interpreted as expand requests -->
    106     <dimen name="fling_expand_min_velocity">100dp</dimen>
    107     <!-- Minimum final velocity of gestures interpreted as collapse requests -->
    108     <dimen name="fling_collapse_min_velocity">100dp</dimen>
    109     <!-- Cap on contribution of x dimension of gesture to overall velocity -->
    110     <dimen name="fling_gesture_max_x_velocity">200dp</dimen>
    111     <!-- Cap on overall resulting fling speed (s^-1) -->
    112     <dimen name="fling_gesture_max_output_velocity">3000dp</dimen>
    113 
    114     <!-- Minimum distance a fling must travel (anti-jitter) -->
    115     <dimen name="fling_gesture_min_dist">20dp</dimen>
    116 
    117     <!-- Minimum fraction of the display a gesture must travel, at any velocity, to qualify as a
    118          collapse request -->
    119     <item type="dimen" name="collapse_min_display_fraction">10%</item>
    120     <!-- Minimum fraction of the display a gesture must travel to qualify as an expand request -->
    121     <item type="dimen" name="expand_min_display_fraction">50%</item>
    122 
    123     <!-- Initial acceleration of an expand animation after fling -->
    124     <dimen name="expand_accel">2000dp</dimen>
    125     <!-- Initial acceleration of an collapse animation after fling -->
    126     <dimen name="collapse_accel">2000dp</dimen>
    127 
    128     <!-- The padding on the global screenshot background image -->
    129     <dimen name="global_screenshot_bg_padding">20dp</dimen>
    130 
    131     <!-- The width of the view containing non-menu status bar icons -->
    132     <dimen name="navigation_key_width">80dip</dimen>
    133 
    134     <!-- The width of the view containing the menu status bar icon -->
    135     <dimen name="navigation_menu_key_width">40dip</dimen>
    136 
    137     <!-- Default distance beyond which snaps to the matching target -->
    138     <dimen name="navbar_search_snap_margin">40dip</dimen>
    139 
    140     <!-- Diameter of outer shape drawable shown in navbar search-->
    141     <dimen name="navbar_search_outerring_diameter">340dp</dimen>
    142 
    143     <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
    144     <dimen name="navbar_search_outerring_radius">170dp</dimen>
    145 
    146     <!-- Threshold for swipe-up gesture to activate search dialog -->
    147     <dimen name="navbar_search_up_threshhold">40dip</dimen>
    148 
    149     <!-- Height of search panel including navigation bar height -->
    150     <dimen name="navbar_search_panel_height">230dip</dimen>
    151 
    152     <!-- Height of the draggable handle at the bottom of the phone notification panel -->
    153     <dimen name="close_handle_height">36dp</dimen>
    154 
    155     <!-- Amount of close_handle that will NOT overlap the notification list -->
    156     <dimen name="close_handle_underlap">32dp</dimen>
    157 
    158     <!-- Height of the notification panel header bar -->
    159     <dimen name="notification_panel_header_height">48dp</dimen>
    160 
    161     <!-- Extra space above the panel -->
    162     <dimen name="notification_panel_padding_top">0dp</dimen>
    163 
    164     <!-- Extra space above the clock in the panel -->
    165     <dimen name="notification_panel_header_padding_top">0dp</dimen>
    166 
    167     <!-- Layout parameters for the notification panel -->
    168     <dimen name="notification_panel_margin_bottom">0dp</dimen>
    169     <dimen name="notification_panel_margin_left">0dp</dimen>
    170 
    171     <!-- Gravity for the notification & quick settings panels -->
    172     <!-- 0x37 = fill_horizontal|top -->
    173     <integer name="notification_panel_layout_gravity">0x37</integer>
    174     <integer name="settings_panel_layout_gravity">0x37</integer>
    175 
    176     <!-- Fraction of the status bar that, when dragged, will produce the quick settings panel
    177          instead of the notification panel. See also @dimen/settings_panel_dragzone_min.
    178          If zero, the settings panel will not be directly draggable from the status bar. -->
    179     <item type="dimen" name="settings_panel_dragzone_fraction">0%</item>
    180 
    181     <!-- Quick settings dragzone, if used, should be at least this big (may be zero). -->
    182     <dimen name="settings_panel_dragzone_min">100dp</dimen>
    183 
    184     <!-- Height of the carrier/wifi name label -->
    185     <dimen name="carrier_label_height">24dp</dimen>
    186 
    187     <!-- The distance you can pull a notification before it pops open -->
    188     <dimen name="one_finger_pop_limit">32dp</dimen>
    189 
    190     <!-- The fixed height of each tile -->
    191     <dimen name="quick_settings_cell_height">110dp</dimen>
    192 
    193     <!-- The padding between each tile within the QuickSettings layout -->
    194     <dimen name="quick_settings_cell_gap">4dp</dimen>
    195 
    196     <!-- Minimum fraction of the screen that should be taken up by the notification panel.
    197          Not used at this screen size. -->
    198     <item type="dimen" name="notification_panel_min_height_frac">0%</item>
    199 
    200     <dimen name="blinds_pop_threshold">32dp</dimen>
    201 
    202     <!-- The size of the gesture span needed to activate the "pull" notification expansion -->
    203     <dimen name="pull_span_min">25dp</dimen>
    204 
    205     <!-- How far to slide the panel out when you touch it -->
    206     <!-- For phones, this is close_handle_height + header_height -->
    207     <dimen name="peek_height">84dp</dimen>
    208 
    209     <!-- Quick Settings tile geometry: top interior margin, above icon -->
    210     <dimen name="qs_tile_margin_above_icon">27dp</dimen>
    211     <!-- Quick Settings tile geometry: gap between icon and text -->
    212     <dimen name="qs_tile_margin_below_icon">17dp</dimen>
    213     <!-- Quick Settings tile geometry: icon size -->
    214     <dimen name="qs_tile_icon_size">32dp</dimen>
    215     <!-- Quick Settings CA Cert Warning tile geometry: gap between icon and text -->
    216     <dimen name="qs_cawarn_tile_margin_below_icon">3dp</dimen>
    217 
    218     <!-- The width of the notification panel window: match_parent below sw600dp -->
    219     <dimen name="notification_panel_width">-1dp</dimen>
    220 
    221     <!-- used by DessertCase -->
    222     <dimen name="dessert_case_cell_size">192dp</dimen>
    223 </resources>
    224