blob: ac82a1dbd1a23b73fa3432d323ea50691541ef03 [file] [log] [blame]
Chiao Chenga44c5912013-07-15 14:54:27 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3 ~ Copyright (C) 2013 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 <!-- Dimensions for CallCard elements (the normal in-call UI) -->
20
21 <!-- Height of the "call banner" overlay on top of the upper part of
22 the call info area. -->
Andrew Leec2831f32014-06-04 12:57:53 -070023 <dimen name="call_banner_height">122dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070024
25 <!-- Margin between the bottom of the "call card" photo
26 and the top of the in-call button cluster. -->
27 <dimen name="in_call_touch_ui_upper_margin">2dp</dimen>
28
29 <!-- Padding at the left and right edges of the "call banner". -->
30 <dimen name="call_banner_side_padding">24dp</dimen>
Christine Chen6b2d72c2013-09-27 16:38:38 -070031 <!-- Padding at the right edges of the secondary call banner. -->
Andrew Leee5c0d8b2014-05-19 17:13:32 -070032 <dimen name="secondary_call_banner_right_padding">24dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070033 <!-- Padding at the top and bottom edges of the "call banner". -->
Andrew Leec2831f32014-06-04 12:57:53 -070034 <dimen name="call_banner_primary_call_container_top_padding">16dp</dimen>
Andrew Leeb1c31cd2014-05-27 10:51:48 -070035 <dimen name="call_banner_secondary_call_top_bottom_padding">24dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070036
37 <!-- Padding at the top and bottom edges of the "provider information" -->
38 <dimen name="provider_info_top_bottom_padding">8dp</dimen>
39
Andrew Lee4f958732014-04-24 11:06:18 -070040 <!-- Text size for the name in the call info. -->
Andrew Lee466618d2014-05-08 16:13:23 -070041 <dimen name="call_status_text_size">22sp</dimen>
Sai Cheemalapatid21e30f2014-06-23 11:26:58 -070042 <dimen name="call_name_text_size">45sp</dimen>
43 <dimen name="call_name_text_min_size">34sp</dimen>
Andrew Lee4f958732014-04-24 11:06:18 -070044 <dimen name="call_label_text_size">18sp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070045 <!-- Right padding for name and number fields in the call banner.
46 This padding is used to ensure that ultra-long names or
47 numbers won't overlap the elapsed time indication. -->
48 <dimen name="call_banner_name_number_right_padding">50sp</dimen>
49
Andrew Lee466618d2014-05-08 16:13:23 -070050 <!-- Height and width of the in-call buttons. -->
51 <dimen name="in_call_button_dimension">48dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070052
Chiao Chenga44c5912013-07-15 14:54:27 -070053 <!-- Width of buttons in the extra button row. -->
54 <dimen name="extra_row_button_width">56dp</dimen>
55
56 <!-- Height of buttons in the extra button row. -->
Andrew Lee466618d2014-05-08 16:13:23 -070057 <dimen name="extra_row_button_height">@dimen/in_call_button_dimension</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070058
Andrew Leeb1c31cd2014-05-27 10:51:48 -070059 <dimen name="primary_call_elevation">4dp</dimen>
60 <dimen name="secondary_call_elevation">4dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -070061
62
Chiao Chenga44c5912013-07-15 14:54:27 -070063 <!-- Padding at the left and right edges of the incall_touch_ui button
64 cluster. This padding is necessary because we can't allow the
65 buttons to be very close to the edges of the screen, due to the
66 risk of false touches (from your finger wrapping around while
67 holding the phone, *before* moving it up to your face and having
68 the prox sensor kick in.) -->
Andrew Lee70bab102014-05-07 11:29:41 -070069 <dimen name="button_cluster_horizontal_padding">20dp</dimen>
Andrew Lee9be20292014-05-20 17:25:34 -070070 <dimen name="call_button_margin_vertical">8dp</dimen>
71 <dimen name="call_button_margin_horizontal">6dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070072
Chiao Chenga44c5912013-07-15 14:54:27 -070073 <!-- Dimensions for OTA Call Card -->
74 <dimen name="otaactivate_layout_marginTop">10dp</dimen>
75 <dimen name="otalistenprogress_layout_marginTop">5dp</dimen>
76 <dimen name="otasuccessfail_layout_marginTop">10dp</dimen>
77
Chiao Chenga44c5912013-07-15 14:54:27 -070078 <!-- Dimension used to possibly down-scale high-res photo into what is suitable
79 for notification's large icon. -->
80 <dimen name="notification_icon_size">64dp</dimen>
81
82 <!-- Circle size for incoming call widget's each item. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070083 <dimen name="incoming_call_widget_circle_size">56dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070084
Chiao Chenga44c5912013-07-15 14:54:27 -070085 <!-- Size of alarm alert outer ring. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070086 <dimen name="glowpadview_outerring_diameter">250dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070087 <!-- Default target placement radius for GlowPadView. Should be 1/2 of outerring diameter. -->
Andrew Lee215a0b02014-05-09 14:44:00 -070088 <dimen name="glowpadview_target_placement_radius">125dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070089
90 <!-- Default glow radius for GlowPadView -->
Andrew Lee215a0b02014-05-09 14:44:00 -070091 <dimen name="glowpadview_glow_radius">70dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -070092
93 <!-- Default distance beyond which GlowPadView snaps to the matching target -->
94 <dimen name="glowpadview_snap_margin">40dip</dimen>
95
96 <!-- Default distance from each snap target that GlowPadView considers a "hit" -->
97 <dimen name="glowpadview_inner_radius">15dip</dimen>
98
Santos Cordone9e6f432013-08-27 19:02:12 -070099 <dimen name="glowpadview_margin_bottom">-48dip</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700100 <dimen name="glowpadview_margin_right">0dip</dimen>
Ihab Awad5510dea2014-03-03 14:12:57 -0800101 <!-- Height of translucent shadow effect -->
102 <dimen name="translucent_shadow_height">2dp</dimen>
Andrew Leeff162182014-05-02 13:58:18 -0700103
Andrew Leeb448b502014-05-07 15:42:06 -0700104 <dimen name="end_call_button_margin_bottom">8dp</dimen>
Sai Cheemalapatiafedca32014-06-04 16:36:29 -0700105 <dimen name="end_call_button_hide_offset">70dp</dimen>
Yorke Leee8645f32014-05-16 10:11:28 -0700106
107 <dimen name="call_card_anim_translate_y_offset">50dp</dimen>
Chiao Chenga44c5912013-07-15 14:54:27 -0700108</resources>