1 /*
2  * Copyright (C) 2020 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 
17 package com.android.systemui.clipboardoverlay;
18 
19 import com.android.internal.logging.UiEvent;
20 import com.android.internal.logging.UiEventLogger;
21 
22 public enum ClipboardOverlayEvent implements UiEventLogger.UiEventEnum {
23     @UiEvent(doc = "clipboard overlay entered")
24     CLIPBOARD_OVERLAY_ENTERED(949),
25     @UiEvent(doc = "clipboard overlay updated")
26     CLIPBOARD_OVERLAY_UPDATED(950),
27     @UiEvent(doc = "clipboard edit tapped")
28     CLIPBOARD_OVERLAY_EDIT_TAPPED(951),
29     @UiEvent(doc = "clipboard share tapped")
30     CLIPBOARD_OVERLAY_SHARE_TAPPED(1067),
31     @UiEvent(doc = "clipboard smart action shown")
32     CLIPBOARD_OVERLAY_ACTION_SHOWN(1260),
33     @UiEvent(doc = "clipboard action tapped")
34     CLIPBOARD_OVERLAY_ACTION_TAPPED(952),
35     @UiEvent(doc = "clipboard remote copy tapped")
36     CLIPBOARD_OVERLAY_REMOTE_COPY_TAPPED(953),
37     @UiEvent(doc = "clipboard overlay timed out")
38     CLIPBOARD_OVERLAY_TIMED_OUT(954),
39     @UiEvent(doc = "clipboard overlay dismiss tapped")
40     CLIPBOARD_OVERLAY_DISMISS_TAPPED(955),
41     @UiEvent(doc = "clipboard overlay swipe dismissed")
42     CLIPBOARD_OVERLAY_SWIPE_DISMISSED(956),
43     @UiEvent(doc = "clipboard overlay tapped outside")
44     CLIPBOARD_OVERLAY_TAP_OUTSIDE(1077),
45     @UiEvent(doc = "clipboard overlay dismissed, miscellaneous reason")
46     CLIPBOARD_OVERLAY_DISMISSED_OTHER(1078),
47     @UiEvent(doc = "clipboard overlay shown in expanded form")
48     CLIPBOARD_OVERLAY_SHOWN_EXPANDED(1356),
49     @UiEvent(doc = "clipboard overlay shown in minimized form")
50     CLIPBOARD_OVERLAY_SHOWN_MINIMIZED(1357),
51     @UiEvent(doc = "clipboard overlay expanded")
52     CLIPBOARD_OVERLAY_EXPANDED_FROM_MINIMIZED(1358),
53     @UiEvent(doc = "clipboard toast shown")
54     CLIPBOARD_TOAST_SHOWN(1270);
55 
56     private final int mId;
57 
ClipboardOverlayEvent(int id)58     ClipboardOverlayEvent(int id) {
59         mId = id;
60     }
61 
62     @Override
getId()63     public int getId() {
64         return mId;
65     }
66 }
67