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 
     32     <!-- Size of application label text -->
     33     <dimen name="status_bar_recents_app_label_text_size">14dip</dimen>
     34     <!-- Size of application description text -->
     35     <dimen name="status_bar_recents_app_description_text_size">14dip</dimen>
     36     <!-- Size of fading edge for text -->
     37     <dimen name="status_bar_recents_text_fading_edge_length">20dip</dimen>
     38     <!-- Size of fading edge for scrolling -->
     39     <dimen name="status_bar_recents_scroll_fading_edge_length">10dip</dimen>
     40     <!-- Margin between recents container and glow on the right -->
     41     <dimen name="status_bar_recents_right_glow_margin">100dip</dimen>
     42     <!-- Amount to offset bottom of notification peek window from top of status bar. -->
     43     <dimen name="peek_window_y_offset">-12dp</dimen>
     44 
     45     <!-- thickness (height) of the navigation bar on phones that require it -->
     46     <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
     47 
     48     <!-- thickness (height) of the dead zone at the top of the navigation bar,
     49          reducing false presses on navbar buttons; approx 2mm -->
     50     <dimen name="navigation_bar_deadzone_size">12dp</dimen>
     51 
     52     <!-- Height of notification icons in the status bar -->
     53     <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
     54 
     55     <!-- Height of a small notification in the status bar -->
     56     <dimen name="notification_min_height">64dp</dimen>
     57 
     58     <!-- Height of a large notification in the status bar -->
     59     <dimen name="notification_max_height">256dp</dimen>
     60 
     61     <!-- Height of a small notification in the status bar plus glow, padding, etc -->
     62     <dimen name="notification_row_min_height">70dp</dimen>
     63 
     64     <!-- Height of a large notification in the status bar plus glow, padding, etc -->
     65     <dimen name="notification_row_max_height">260dp</dimen>
     66 
     67     <!-- size at which Notification icons will be drawn in the status bar -->
     68     <dimen name="status_bar_icon_drawing_size">18dip</dimen>
     69 
     70     <!-- opacity at which Notification icons will be drawn in the status bar -->
     71     <item type="dimen" name="status_bar_icon_drawing_alpha">65%</item>
     72 
     73     <!-- gap on either side of status bar notification icons -->
     74     <dimen name="status_bar_icon_padding">0dp</dimen>
     75 
     76     <!-- half the distance between notifications in the panel -->
     77     <dimen name="notification_divider_height">3dp</dimen>
     78 
     79     <!-- Notification drawer tuning parameters (phone UI) -->
     80     <!-- Initial velocity of the shade when expanding on its own -->
     81     <dimen name="self_expand_velocity">2000dp</dimen>
     82     <!-- Initial velocity of the shade when collapsing on its own -->
     83     <dimen name="self_collapse_velocity">2000dp</dimen>
     84     <!-- Minimum final velocity of gestures interpreted as expand requests -->
     85     <dimen name="fling_expand_min_velocity">200dp</dimen>
     86     <!-- Minimum final velocity of gestures interpreted as collapse requests -->
     87     <dimen name="fling_collapse_min_velocity">200dp</dimen>
     88     <!-- Cap on contribution of x dimension of gesture to overall velocity -->
     89     <dimen name="fling_gesture_max_x_velocity">200dp</dimen>
     90     <!-- Cap on overall resulting fling speed (s^-1) -->
     91     <dimen name="fling_gesture_max_output_velocity">3000dp</dimen>
     92 
     93     <!-- Minimum fraction of the display a gesture must travel, at any velocity, to qualify as a
     94          collapse request -->
     95     <item type="dimen" name="collapse_min_display_fraction">10%</item>
     96     <!-- Minimum fraction of the display a gesture must travel to qualify as an expand request -->
     97     <item type="dimen" name="expand_min_display_fraction">50%</item>
     98 
     99     <!-- Initial acceleration of an expand animation after fling -->
    100     <dimen name="expand_accel">2000dp</dimen>
    101     <!-- Initial acceleration of an collapse animation after fling -->
    102     <dimen name="collapse_accel">2000dp</dimen>
    103 
    104     <!-- The padding on the global screenshot background image -->
    105     <dimen name="global_screenshot_bg_padding">20dp</dimen>
    106 
    107     <!-- The width of the view containing non-menu status bar icons -->
    108     <dimen name="navigation_key_width">80dip</dimen>
    109 
    110     <!-- The width of the view containing the menu status bar icon -->
    111     <dimen name="navigation_menu_key_width">40dip</dimen>
    112 
    113     <!-- Default distance beyond which snaps to the matching target -->
    114     <dimen name="navbar_search_snap_margin">40dip</dimen>
    115 
    116     <!-- Diameter of outer shape drawable shown in navbar search-->
    117     <dimen name="navbar_search_outerring_diameter">340dp</dimen>
    118 
    119     <!-- Diameter of outer shape drawable shown in navbar search. Should be 1/2 of above value -->
    120     <dimen name="navbar_search_outerring_radius">170dp</dimen>
    121 
    122     <!-- Threshold for swipe-up gesture to activate search dialog -->
    123     <dimen name="navbar_search_up_threshhold">40dip</dimen>
    124 
    125     <!-- Height of search panel including navigation bar height -->
    126     <dimen name="navbar_search_panel_height">230dip</dimen>
    127 
    128     <!-- Height of the draggable handle at the bottom of the phone notification panel -->
    129     <dimen name="close_handle_height">32dp</dimen>
    130 
    131     <!-- Amount of close_handle that will not overlap the notification list -->
    132     <dimen name="close_handle_underlap">18dp</dimen>
    133 
    134     <!-- Height of the notification panel header bar -->
    135     <dimen name="notification_panel_header_height">48dp</dimen>
    136 
    137     <!-- Extra space above the panel -->
    138     <dimen name="notification_panel_padding_top">0dp</dimen>
    139 
    140     <!-- Extra space above the clock in the panel -->
    141     <dimen name="notification_panel_header_padding_top">0dp</dimen>
    142 
    143     <!-- Layout parameters for the notification panel -->
    144     <dimen name="notification_panel_margin_bottom">0dp</dimen>
    145     <dimen name="notification_panel_margin_left">0dp</dimen>
    146 
    147     <!-- Gravity for the notification panel -->
    148     <!-- 0x37 = fill_horizontal|top -->
    149     <integer name="notification_panel_layout_gravity">0x37</integer>
    150 
    151     <!-- Height of the carrier/wifi name label -->
    152     <dimen name="carrier_label_height">24dp</dimen>
    153 </resources>
    154