1<?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<!-- Array resources for the Phone app. -->
19<resources>
20    <!-- "Target" resources for the GlowPadView widget used for incoming calls;
21         see InCallTouchUi.showIncomingCallWidget() and incall_touch_ui.xml.  -->
22
23    <!-- For audio calls, if respond via SMS is disabled:
24         - Answer (drag right)
25         - Decline (drag left) -->
26    <array name="incoming_call_widget_audio_without_sms_targets">
27        <item>@drawable/ic_lockscreen_answer</item>
28        <item>@null</item>
29        <item>@drawable/ic_lockscreen_decline</item>
30        <item>@null</item>"
31    </array>
32    <array name="incoming_call_widget_audio_without_sms_target_descriptions">
33        <item>@string/description_target_answer</item>
34        <item>@null</item>
35        <item>@string/description_target_decline</item>
36        <item>@null</item>"
37    </array>
38    <array name="incoming_call_widget_audio_without_sms_direction_descriptions">
39        <item>@string/description_direction_right</item>
40        <item>@null</item>
41        <item>@string/description_direction_left</item>
42        <item>@null</item>
43    </array>
44
45    <!-- For audio calls, if respond via SMS is enabled:
46         - Answer (drag right)
47         - Respond via SMS (drag up)
48         - Decline (drag left) -->
49    <array name="incoming_call_widget_audio_with_sms_targets">
50        <item>@drawable/ic_lockscreen_answer</item>
51        <item>@drawable/ic_lockscreen_text</item>
52        <item>@drawable/ic_lockscreen_decline</item>
53        <item>@null</item>"
54    </array>
55    <array name="incoming_call_widget_audio_with_sms_target_descriptions">
56        <item>@string/description_target_answer</item>
57        <item>@string/description_target_send_sms</item>
58        <item>@string/description_target_decline</item>
59        <item>@null</item>"
60    </array>
61    <array name="incoming_call_widget_audio_with_sms_direction_descriptions">
62        <item>@string/description_direction_right</item>
63        <item>@string/description_direction_up</item>
64        <item>@string/description_direction_left</item>
65        <item>@null</item>
66    </array>
67
68    <!-- For video calls, if respond via SMS is disabled:
69         - Answer as video call (drag right)
70         - Decline (drag left)
71         - Answer as audio call (drag down) -->
72    <array name="incoming_call_widget_video_without_sms_targets">
73        <item>@drawable/ic_lockscreen_answer</item>
74        <item>@null</item>
75        <item>@drawable/ic_lockscreen_decline</item>
76        <item>@drawable/ic_lockscreen_answer_video</item>
77    </array>
78    <array name="incoming_call_widget_video_without_sms_target_descriptions">
79        <item>@string/description_target_answer_video_call</item>
80        <item>@null</item>
81        <item>@string/description_target_decline</item>
82        <item>@string/description_target_answer_audio_call</item>
83    </array>
84    <array name="incoming_call_widget_video_without_sms_direction_descriptions">
85        <item>@string/description_direction_right</item>
86        <item>@null</item>
87        <item>@string/description_direction_left</item>
88        <item>@string/description_direction_down</item>
89    </array>
90
91    <!-- For video calls, if respond via SMS is enabled:
92         - Answer as video call (drag right)
93         - Respond via SMS (drag up)
94         - Decline (drag left)
95         - Answer as audio call (drag down) -->
96    <array name="incoming_call_widget_video_with_sms_targets">
97        <item>@drawable/ic_lockscreen_answer_video</item>
98        <item>@drawable/ic_lockscreen_text</item>
99        <item>@drawable/ic_lockscreen_decline</item>
100        <item>@drawable/ic_lockscreen_answer</item>
101    </array>
102    <array name="incoming_call_widget_video_with_sms_target_descriptions">
103        <item>@string/description_target_answer_video_call</item>
104        <item>@string/description_target_send_sms</item>
105        <item>@string/description_target_decline</item>
106        <item>@string/description_target_answer_audio_call</item>
107    </array>
108    <array name="incoming_call_widget_video_with_sms_direction_descriptions">
109        <item>@string/description_direction_right</item>
110        <item>@string/description_direction_up</item>
111        <item>@string/description_direction_left</item>
112        <item>@string/description_direction_down</item>
113    </array>
114
115
116    <!-- For upgrade to video in an active video call.
117         - Accept upgrade to video request (drag right)
118         - Decline upgrade to video request (drag left)
119         - Answer as audio call (drag down) -->
120    <array name="incoming_call_widget_video_upgrade_request_targets">
121        <item>@drawable/ic_lockscreen_answer_video</item>
122        <item>@null</item>
123        <item>@drawable/ic_lockscreen_decline</item>
124        <item>@null</item>"
125    </array>
126    <array name="incoming_call_widget_video_upgrade_request_target_descriptions">
127        <item>@string/description_target_accept_upgrade_to_video_request</item>
128        <item>@null</item>
129        <item>@string/description_target_decline_upgrade_to_video_request</item>
130        <item>@null</item>"
131    </array>
132    <array name="incoming_call_widget_video_upgrade_request_target_direction_descriptions">
133        <item>@string/description_direction_right</item>
134        <item>@null</item>
135        <item>@string/description_direction_left</item>
136        <item>@null</item>
137    </array>
138</resources>
139