Home | History | Annotate | Download | only in values
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3 /* //device/apps/common/assets/res/any/dimens.xml
      4 **
      5 ** Copyright 2006, The Android Open Source Project
      6 **
      7 ** Licensed under the Apache License, Version 2.0 (the "License");
      8 ** you may not use this file except in compliance with the License.
      9 ** You may obtain a copy of the License at
     10 **
     11 **     http://www.apache.org/licenses/LICENSE-2.0
     12 **
     13 ** Unless required by applicable law or agreed to in writing, software
     14 ** distributed under the License is distributed on an "AS IS" BASIS,
     15 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     16 ** See the License for the specific language governing permissions and
     17 ** limitations under the License.
     18 */
     19 -->
     20 <resources>
     21 
     22     <!-- Size of the generic status lines keyguard's status view  -->
     23     <dimen name="kg_status_line_font_size">14sp</dimen>
     24 
     25     <!-- Maximum width of the sliding KeyguardSecurityContainer -->
     26     <dimen name="keyguard_security_width">420dp</dimen>
     27 
     28     <!-- Height of the sliding KeyguardSecurityContainer
     29          (includes 2x keyguard_security_view_top_margin) -->
     30     <dimen name="keyguard_security_height">420dp</dimen>
     31 
     32     <!-- Max Height of the sliding KeyguardSecurityContainer
     33          (includes 2x keyguard_security_view_top_margin) -->
     34     <dimen name="keyguard_security_max_height">450dp</dimen>
     35 
     36     <!-- Margin around the various security views -->
     37     <dimen name="keyguard_security_view_top_margin">8dp</dimen>
     38     <dimen name="keyguard_security_view_lateral_margin">36dp</dimen>
     39 
     40     <!-- EmergencyCarrierArea overlap - amount to overlap the emergency button and carrier text.
     41          Should be 0 on devices with plenty of room (e.g. tablets) -->
     42     <dimen name="eca_overlap">-10dip</dimen>
     43 
     44     <!-- Slice header -->
     45     <dimen name="widget_title_font_size">24dp</dimen>
     46     <dimen name="header_subtitle_padding">12dp</dimen>
     47     <dimen name="header_icon_size">16dp</dimen>
     48     <!-- Slice subtitle -->
     49     <dimen name="widget_label_font_size">18dp</dimen>
     50     <!-- Clock without header -->
     51     <dimen name="widget_big_font_size">54dp</dimen>
     52     <dimen name="bottom_text_spacing_digital">0dp</dimen>
     53     <dimen name="title_clock_padding">4dp</dimen>
     54     <!-- Clock with header -->
     55     <dimen name="widget_small_font_size">@dimen/widget_title_font_size</dimen>
     56     <dimen name="widget_vertical_padding">24dp</dimen>
     57     <dimen name="widget_vertical_padding_with_header">32dp</dimen>
     58     <dimen name="widget_vertical_padding_clock">12dp</dimen>
     59     <!-- Subtitle paddings -->
     60     <dimen name="widget_horizontal_padding">8dp</dimen>
     61     <dimen name="widget_icon_size">20dp</dimen>
     62     <dimen name="widget_icon_padding">8dp</dimen>
     63     <dimen name="subtitle_clock_padding">0dp</dimen>
     64     <dimen name="header_row_font_size">14dp</dimen>
     65     <!-- Notification shelf padding when dark -->
     66     <dimen name="widget_bottom_separator_padding">-6dp</dimen>
     67 
     68     <!-- The y translation to apply at the start in appear animations. -->
     69     <dimen name="appear_y_translation_start">32dp</dimen>
     70 
     71     <!-- The size of the dots in the PIN unlock method. -->
     72     <dimen name="password_dot_size">9dp</dimen>
     73     <!-- The size of PIN text in the PIN unlock method. -->
     74     <integer name="scaled_password_text_size">40</integer>
     75 
     76     <!-- The padding between chars of the password view. -->
     77     <dimen name="password_char_padding">8dp</dimen>
     78 
     79     <!-- The vertical margin between the date and the owner info. -->
     80     <dimen name="date_owner_info_margin">4dp</dimen>
     81 
     82     <!-- The translation for disappearing security views after having solved them. -->
     83     <dimen name="disappear_y_translation">-32dp</dimen>
     84 </resources>
     85