1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 *
4 * Copyright 2018, The Android Open Source Project
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 *     http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License.
17*/
18-->
19
20<!--
21  Defines all possible items on car volume settings UI, keyed by usage.
22
23  This enables the CarSettings UI to associate VolumeGroups surfaced by
24  CarAudioManager.getVolumeGroupCount with renderable assets (ie: title, icon)
25  for presentation.
26
27  Order matters in this configuration. If one volume group contains multiple
28  audio usages, the first one appears in this file would be picked to be
29  presented on UI.
30
31  When overriding this configuration, please consult also the
32  car_volume_groups.xml, which is read by car audio service.
33-->
34<carVolumeItems xmlns:car="http://schemas.android.com/apk/res-auto">
35  <item car:usage="unknown"
36        car:icon="@drawable/car_ic_music"/>
37  <item car:usage="media"
38        car:icon="@drawable/car_ic_music"/>
39  <item car:usage="voice_communication"
40        car:icon="@*android:drawable/ic_audio_ring_notif"/>
41  <item car:usage="voice_communication_signalling"
42        car:icon="@*android:drawable/ic_audio_ring_notif"/>
43  <item car:usage="alarm"
44        car:icon="@*android:drawable/ic_audio_alarm"/>
45  <item car:usage="notification"
46        car:icon="@drawable/car_ic_notification"/>
47  <item car:usage="notification_ringtone"
48        car:icon="@*android:drawable/ic_audio_ring_notif"/>
49  <item car:usage="notification_communication_request"
50        car:icon="@drawable/car_ic_notification"/>
51  <item car:usage="notification_communication_instant"
52        car:icon="@drawable/car_ic_notification"/>
53  <item car:usage="notification_communication_delayed"
54        car:icon="@drawable/car_ic_notification"/>
55  <item car:usage="notification_event"
56        car:icon="@drawable/car_ic_notification"/>
57  <item car:usage="assistance_accessibility"
58        car:icon="@drawable/car_ic_notification"/>
59  <item car:usage="assistance_navigation_guidance"
60        car:icon="@drawable/car_ic_navigation"/>
61  <item car:usage="assistance_sonification"
62        car:icon="@drawable/car_ic_notification"/>
63  <item car:usage="game"
64        car:icon="@drawable/car_ic_music"/>
65  <item car:usage="assistant"
66        car:icon="@drawable/car_ic_music"/>
67</carVolumeItems>
68
69