| /* |
| * Copyright (C) 2020 The Android Open Source Project |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| package com.android.systemui.clipboardoverlay; |
| |
| import com.android.internal.logging.UiEvent; |
| import com.android.internal.logging.UiEventLogger; |
| |
| public enum ClipboardOverlayEvent implements UiEventLogger.UiEventEnum { |
| @UiEvent(doc = "clipboard overlay entered") |
| CLIPBOARD_OVERLAY_ENTERED(949), |
| @UiEvent(doc = "clipboard overlay updated") |
| CLIPBOARD_OVERLAY_UPDATED(950), |
| @UiEvent(doc = "clipboard edit tapped") |
| CLIPBOARD_OVERLAY_EDIT_TAPPED(951), |
| @UiEvent(doc = "clipboard share tapped") |
| CLIPBOARD_OVERLAY_SHARE_TAPPED(1067), |
| @UiEvent(doc = "clipboard smart action shown") |
| CLIPBOARD_OVERLAY_ACTION_SHOWN(1260), |
| @UiEvent(doc = "clipboard action tapped") |
| CLIPBOARD_OVERLAY_ACTION_TAPPED(952), |
| @UiEvent(doc = "clipboard remote copy tapped") |
| CLIPBOARD_OVERLAY_REMOTE_COPY_TAPPED(953), |
| @UiEvent(doc = "clipboard overlay timed out") |
| CLIPBOARD_OVERLAY_TIMED_OUT(954), |
| @UiEvent(doc = "clipboard overlay dismiss tapped") |
| CLIPBOARD_OVERLAY_DISMISS_TAPPED(955), |
| @UiEvent(doc = "clipboard overlay swipe dismissed") |
| CLIPBOARD_OVERLAY_SWIPE_DISMISSED(956), |
| @UiEvent(doc = "clipboard overlay tapped outside") |
| CLIPBOARD_OVERLAY_TAP_OUTSIDE(1077), |
| @UiEvent(doc = "clipboard overlay dismissed, miscellaneous reason") |
| CLIPBOARD_OVERLAY_DISMISSED_OTHER(1078), |
| @UiEvent(doc = "clipboard overlay shown in expanded form") |
| CLIPBOARD_OVERLAY_SHOWN_EXPANDED(1356), |
| @UiEvent(doc = "clipboard overlay shown in minimized form") |
| CLIPBOARD_OVERLAY_SHOWN_MINIMIZED(1357), |
| @UiEvent(doc = "clipboard overlay expanded") |
| CLIPBOARD_OVERLAY_EXPANDED_FROM_MINIMIZED(1358), |
| @UiEvent(doc = "clipboard toast shown") |
| CLIPBOARD_TOAST_SHOWN(1270); |
| |
| private final int mId; |
| |
| ClipboardOverlayEvent(int id) { |
| mId = id; |
| } |
| |
| @Override |
| public int getId() { |
| return mId; |
| } |
| } |