summaryrefslogtreecommitdiffstats
path: root/res/values/dimens.xml
blob: d99f2ed4840c70f26a15a303916efba7ec8db2ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<?xml version="1.0" encoding="utf-8"?>
<!--
  ~ Copyright (C) 2013 The Android Open Source Project
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~      http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License
  -->

<resources>
    <!-- Whether or not the landscape mode layout is currently being used -->
    <bool name="is_layout_landscape">false</bool>

    <!-- Dimensions for CallCard elements (the normal in-call UI) -->

    <!-- Height of the "call banner" overlay on top of the upper part of the call info area.
         Note: This is the default size for small (<600dp height) devices: larger screen sizes apply
         the values in values-h600dp/dimens.xml. -->
    <dimen name="call_banner_height">90dp</dimen>
    <dimen name="incall_action_bar_elevation">3dp</dimen>

    <!-- Margin between the bottom of the "call card" photo
         and the top of the in-call button cluster. -->
    <dimen name="in_call_touch_ui_upper_margin">2dp</dimen>

    <!-- Padding at the left and right edges of the "call banner". -->
    <dimen name="call_banner_side_padding">24dp</dimen>
    <!-- Padding at the top and bottom edges of the "call banner". -->
    <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen>
    <dimen name="secondary_call_info_horizontal_padding">24dp</dimen>
    <dimen name="secondary_call_info_vertical_padding">32dp</dimen>
    <dimen name="secondary_call_info_text_size">16sp</dimen>

    <!-- Padding at the top and bottom edges of the "provider information" -->
    <dimen name="provider_info_top_bottom_padding">8dp</dimen>

    <!-- Text sizes for information in the call card.
         Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
         apply the values in values-sw360dp/dimens.xml. -->
    <dimen name="call_status_text_size">16sp</dimen>
    <dimen name="call_status_text_min_size">12sp</dimen>
    <dimen name="call_name_text_size">34dp</dimen>
    <dimen name="call_name_text_min_size">28sp</dimen>
    <dimen name="call_label_text_size">16sp</dimen>
    <!-- Right padding for name and number fields in the call banner.
         This padding is used to ensure that ultra-long names or
         numbers won't overlap the elapsed time indication. -->
    <dimen name="call_banner_name_number_right_padding">50sp</dimen>

    <!-- Height and width of the in-call buttons. -->
    <dimen name="in_call_button_dimension">48dp</dimen>

    <dimen name="primary_call_elevation">5dp</dimen>
    <dimen name="dialpad_elevation">2dp</dimen>

    <!-- The InCallUI dialpad will sometimes want digits sizes that are different from dialer.
         Note: These are the default sizes for small (<600dp height) devices: larger screen sizes
         apply the values in values-h600dp/dimens.xml. -->
    <dimen name="dialpad_key_number_margin_bottom">1dp</dimen>
    <!-- Zero key should have less space between self and text because "+" is smaller -->
    <dimen name="dialpad_zero_key_number_margin_bottom">0dp</dimen>
    <dimen name="dialpad_digits_adjustable_text_size">20sp</dimen>
    <dimen name="dialpad_digits_adjustable_height">50dp</dimen>
    <dimen name="dialpad_key_numbers_size">36dp</dimen>

    <dimen name="floating_action_button_vertical_offset">-24dp</dimen>

    <dimen name="call_button_margin_vertical">8dp</dimen>
    <dimen name="call_button_margin_horizontal">6dp</dimen>

    <!-- Dimensions for DSDA switch tab -->
    <dimen name="dsda_sub_icon_marginTop">14dp</dimen>
    <dimen name="dsda_sub_text_marginTop">12dp</dimen>

    <!-- Dimensions for OTA Call Card -->
    <dimen name="otaactivate_layout_marginTop">10dp</dimen>
    <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
    <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>

    <!-- Dimension used to possibly down-scale high-res photo into what is suitable
         for notification's large icon. -->
    <dimen name="notification_icon_size">64dp</dimen>

    <!-- Circle size for incoming call widget's each item. -->
    <dimen name="incoming_call_widget_circle_size">56dp</dimen>

    <!-- Size of alarm alert outer ring. -->
    <dimen name="glowpadview_outerring_diameter">250dp</dimen>
    <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
    <dimen name="glowpadview_target_placement_radius">125dp</dimen>

    <!-- Default glow radius for GlowPadView -->
    <dimen name="glowpadview_glow_radius">70dip</dimen>

    <!-- Default distance beyond which GlowPadView snaps to the matching target -->
    <dimen name="glowpadview_snap_margin">40dip</dimen>

    <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
    <dimen name="glowpadview_inner_radius">15dip</dimen>

    <dimen name="glowpadview_margin_bottom">-48dip</dimen>
    <dimen name="glowpadview_margin_right">0dip</dimen>
    <!-- Height of translucent shadow effect -->
    <dimen name="translucent_shadow_height">2dp</dimen>

    <dimen name="end_call_button_margin_bottom">8dp</dimen>

    <dimen name="call_card_anim_translate_y_offset">50dp</dimen>

    <!-- The smaller dimension of the video preview.  When in portrait orientation this is the
         width of the preview.  When in landscape, this is the height. -->
    <dimen name="video_preview_small_dimension">90dp</dimen>

    <dimen name="video_preview_margin">20dp</dimen>

    <dimen name="end_call_floating_action_button_diameter">72dp</dimen>
    <dimen name="end_call_floating_action_button_small_diameter">56dp</dimen>

    <dimen name="conference_call_manager_padding_top">64dp</dimen>
    <dimen name="conference_call_manager_button_dimension">46dp</dimen>
</resources>