1 /*
2  * Copyright (C) 2018 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 package com.android.car.notification;
17 
18 import android.annotation.IntDef;
19 
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 
23 @IntDef({
24         NotificationViewType.GROUP_COLLAPSED,
25         NotificationViewType.GROUP_EXPANDED,
26         NotificationViewType.GROUP_SUMMARY,
27         NotificationViewType.BASIC,
28         NotificationViewType.BASIC_IN_GROUP,
29         NotificationViewType.MESSAGE,
30         NotificationViewType.MESSAGE_IN_GROUP,
31         NotificationViewType.PROGRESS,
32         NotificationViewType.PROGRESS_IN_GROUP,
33         NotificationViewType.INBOX,
34         NotificationViewType.INBOX_IN_GROUP,
35         NotificationViewType.CAR_EMERGENCY,
36         NotificationViewType.CAR_WARNING,
37         NotificationViewType.CAR_INFORMATION,
38         NotificationViewType.CAR_INFORMATION_IN_GROUP,
39         NotificationViewType.NAVIGATION,
40         NotificationViewType.CALL,
41         NotificationViewType.HEADER,
42         NotificationViewType.FOOTER,
43         NotificationViewType.RECENTS,
44         NotificationViewType.OLDER,
45 })
46 @Retention(RetentionPolicy.SOURCE)
47 @interface NotificationViewType {
48 
49     int GROUP_COLLAPSED = 1;
50     int GROUP_EXPANDED = 2;
51     int GROUP_SUMMARY = 3;
52 
53     int BASIC = 4;
54     int BASIC_IN_GROUP = 5;
55 
56     int MESSAGE = 6;
57     int MESSAGE_IN_GROUP = 7;
58 
59     int PROGRESS = 8;
60     int PROGRESS_IN_GROUP = 9;
61 
62     int INBOX = 10;
63     int INBOX_IN_GROUP = 11;
64 
65     int CAR_EMERGENCY = 12;
66 
67     int CAR_WARNING = 13;
68 
69     int CAR_INFORMATION = 14;
70     int CAR_INFORMATION_IN_GROUP = 15;
71 
72     int NAVIGATION = 16;
73     int CALL = 17;
74 
75     int HEADER = 18;
76     int FOOTER = 19;
77 
78     int RECENTS = 20;
79     int OLDER = 21;
80 }