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 scroll effect -->
     37     <dimen name="status_bar_recents_fading_edge_length">20dip</dimen>
     38     <!-- Margin between recents container and glow on the right -->
     39     <dimen name="status_bar_recents_right_glow_margin">100dip</dimen>
     40     <!-- Amount to offset bottom of notification peek window from top of status bar. -->
     41     <dimen name="peek_window_y_offset">-12dp</dimen>
     42 
     43     <!-- thickness (height) of the navigation bar on phones that require it -->
     44     <dimen name="navigation_bar_size">@*android:dimen/navigation_bar_height</dimen>
     45 
     46     <!-- thickness (height) of the dead zone at the top of the navigation bar,
     47          reducing false presses on navbar buttons; approx 2mm -->
     48     <dimen name="navigation_bar_deadzone_size">12dp</dimen>
     49 
     50     <!-- thickness (height) of each notification row, including any separators or padding -->
     51     <dimen name="notification_height">65dp</dimen>
     52 
     53     <!-- Height of notification icons in the status bar -->
     54     <dimen name="status_bar_icon_size">@*android:dimen/status_bar_icon_size</dimen>
     55 
     56     <!-- size at which Notification icons will be drawn in the status bar -->
     57     <dimen name="status_bar_icon_drawing_size">18dip</dimen>
     58 
     59     <!-- opacity at which Notification icons will be drawn in the status bar -->
     60     <item type="dimen" name="status_bar_icon_drawing_alpha">55%</item>
     61 
     62     <!-- gap on either side of status bar notification icons -->
     63     <dimen name="status_bar_icon_padding">0dp</dimen>
     64 
     65     <!-- thickness (height) of dividers between each notification row -->
     66     <dimen name="notification_divider_height">1dp</dimen>
     67 
     68     <!-- Notification drawer tuning parameters (phone UI) -->
     69     <!-- Initial velocity of the shade when expanding on its own -->
     70     <dimen name="self_expand_velocity">2000dp</dimen>
     71     <!-- Initial velocity of the shade when collapsing on its own -->
     72     <dimen name="self_collapse_velocity">2000dp</dimen>
     73     <!-- Minimum final velocity of gestures interpreted as expand requests -->
     74     <dimen name="fling_expand_min_velocity">200dp</dimen>
     75     <!-- Minimum final velocity of gestures interpreted as collapse requests -->
     76     <dimen name="fling_collapse_min_velocity">200dp</dimen>
     77     <!-- Cap on contribution of x dimension of gesture to overall velocity -->
     78     <dimen name="fling_gesture_max_x_velocity">200dp</dimen>
     79 
     80     <!-- Minimum fraction of the display a gesture must travel, at any velocity, to qualify as a
     81          collapse request -->
     82     <item type="dimen" name="collapse_min_display_fraction">10%</item>
     83     <!-- Minimum fraction of the display a gesture must travel to qualify as an expand request -->
     84     <item type="dimen" name="expand_min_display_fraction">50%</item>
     85 
     86     <!-- Initial acceleration of an expand animation after fling -->
     87     <dimen name="expand_accel">2000dp</dimen>
     88     <!-- Initial acceleration of an collapse animation after fling -->
     89     <dimen name="collapse_accel">2000dp</dimen>
     90 
     91     <!-- The padding on the global screenshot background image -->
     92     <dimen name="global_screenshot_bg_padding">20dp</dimen>
     93 
     94 </resources>
     95