1/* 2 * Copyright (C) 2019 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 17syntax = "proto2"; 18package android.stats.style; 19option java_multiple_files = true; 20 21enum Action { 22 DEFAULT_ACTION = 0; 23 ONRESUME = 1; 24 ONSTOP = 2; 25 PICKER_SELECT = 3; 26 PICKER_APPLIED = 4; 27 WALLPAPER_OPEN_CATEGORY = 5; 28 WALLPAPER_SELECT = 6; 29 WALLPAPER_APPLIED = 7; 30 WALLPAPER_EXPLORE = 8; 31 WALLPAPER_DOWNLOAD = 9; 32 WALLPAPER_REMOVE = 10; 33 LIVE_WALLPAPER_DOWNLOAD_SUCCESS = 11; 34 LIVE_WALLPAPER_DOWNLOAD_FAILED = 12; 35 LIVE_WALLPAPER_DOWNLOAD_CANCELLED = 13; 36 LIVE_WALLPAPER_DELETE_SUCCESS = 14; 37 LIVE_WALLPAPER_DELETE_FAILED = 15; 38 LIVE_WALLPAPER_APPLIED = 16; 39 LIVE_WALLPAPER_INFO_SELECT = 17; 40 LIVE_WALLPAPER_CUSTOMIZE_SELECT = 18; 41 LIVE_WALLPAPER_QUESTIONNAIRE_SELECT = 19; 42 LIVE_WALLPAPER_QUESTIONNAIRE_APPLIED = 20; 43 LIVE_WALLPAPER_EFFECT_SHOW = 21; 44 APP_LAUNCHED = 22; 45 COLOR_WALLPAPER_HOME_APPLIED = 23; 46 COLOR_WALLPAPER_LOCK_APPLIED = 24; 47 COLOR_WALLPAPER_HOME_LOCK_APPLIED = 25; 48 COLOR_PRESET_APPLIED = 26; 49 WALLPAPER_EFFECT_APPLIED = 27; 50 SNAPSHOT = 28; 51 WALLPAPER_EFFECT_PROBE = 29; 52 WALLPAPER_EFFECT_FG_DOWNLOAD = 30; 53 THEME_COLOR_APPLIED = 31; 54 GRID_APPLIED = 32; 55 CLOCK_APPLIED = 33; 56 CLOCK_COLOR_APPLIED = 34; 57 CLOCK_SIZE_APPLIED = 35; 58 THEMED_ICON_APPLIED = 36; 59 LOCK_SCREEN_NOTIFICATION_APPLIED = 37; 60 SHORTCUT_APPLIED = 38; 61 DARK_THEME_APPLIED = 39; 62 RESET_APPLIED = 40; 63} 64 65enum LocationPreference { 66 LOCATION_PREFERENCE_UNSPECIFIED = 0; 67 LOCATION_UNAVAILABLE = 1; 68 LOCATION_CURRENT = 2; 69 LOCATION_MANUAL = 3; 70} 71 72enum DatePreference { 73 DATE_PREFERENCE_UNSPECIFIED = 0; 74 DATE_UNAVAILABLE = 1; 75 DATE_MANUAL = 2; 76} 77 78enum LaunchedPreference { 79 LAUNCHED_PREFERENCE_UNSPECIFIED = 0; 80 LAUNCHED_LAUNCHER = 1; 81 LAUNCHED_SETTINGS = 2; 82 LAUNCHED_SUW = 3; 83 LAUNCHED_TIPS = 4; 84 LAUNCHED_LAUNCH_ICON = 5; 85 LAUNCHED_CROP_AND_SET_ACTION = 6; 86 LAUNCHED_DEEP_LINK = 7; 87 LAUNCHED_SETTINGS_SEARCH = 8; 88 LAUNCHED_KEYGUARD = 9; 89} 90 91enum EffectPreference { 92 EFFECT_PREFERENCE_UNSPECIFIED = 0; 93 EFFECT_APPLIED_ON_SUCCESS = 1; 94 EFFECT_APPLIED_ON_FAILED = 2; 95 EFFECT_APPLIED_OFF = 3; 96 EFFECT_APPLIED_ABORTED = 4; 97 EFFECT_APPLIED_STARTED = 5; 98} 99 100enum SetWallpaperEntryPoint { 101 SET_WALLPAPER_ENTRY_POINT_UNSPECIFIED = 0; 102 SET_WALLPAPER_ENTRY_POINT_WALLPAPER_PREVIEW = 1; 103 SET_WALLPAPER_ENTRY_POINT_WALLPAPER_QUICK_SWITCHER = 2; 104 SET_WALLPAPER_ENTRY_POINT_LAUNCHER_WALLPAPER_QUICK_SWITCHER = 3; 105 SET_WALLPAPER_ENTRY_POINT_ROTATION_WALLPAPER = 4; 106 SET_WALLPAPER_ENTRY_POINT_RESET = 5; 107 SET_WALLPAPER_ENTRY_POINT_RESTORE = 6; 108} 109 110enum WallpaperDestination { 111 WALLPAPER_DESTINATION_UNSPECIFIED = 0; 112 WALLPAPER_DESTINATION_HOME_SCREEN = 1; 113 WALLPAPER_DESTINATION_LOCK_SCREEN = 2; 114 WALLPAPER_DESTINATION_HOME_AND_LOCK_SCREEN = 3; 115} 116 117enum ColorSource { 118 COLOR_SOURCE_UNSPECIFIED = 0; 119 COLOR_SOURCE_HOME_SCREEN_WALLPAPER = 1; 120 COLOR_SOURCE_LOCK_SCREEN_WALLPAPER = 2; 121 COLOR_SOURCE_PRESET_COLOR = 3; 122} 123 124enum ClockSize { 125 CLOCK_SIZE_UNSPECIFIED = 0; 126 CLOCK_SIZE_DYNAMIC = 1; 127 CLOCK_SIZE_SMALL = 2; 128} 129