• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2022 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
17package android.jank;
18
19/**
20  * Enum used by UIInteractionFrameInfoReported.
21  */
22enum InteractionType {
23    UNKNOWN_INTERACTION = 0;
24    NOTIFICATION_SHADE_SWIPE = 1;
25    SHADE_SCROLL_FLING = 3;
26    SHADE_ROW_EXPAND = 4;
27    SHADE_ROW_SWIPE = 5;
28    SHADE_QS_EXPAND_COLLAPSE = 6;
29    SHADE_QS_SCROLL_SWIPE = 7;
30    LAUNCHER_APP_LAUNCH_FROM_RECENTS = 8;
31    LAUNCHER_APP_LAUNCH_FROM_ICON = 9;
32    LAUNCHER_APP_CLOSE_TO_HOME = 10;
33    LAUNCHER_APP_CLOSE_TO_PIP = 11;
34    LAUNCHER_QUICK_SWITCH = 12;
35    SHADE_HEADS_UP_APPEAR = 13;
36    SHADE_HEADS_UP_DISAPPEAR = 14;
37    SHADE_NOTIFICATION_ADD = 15;
38    SHADE_NOTIFICATION_REMOVE = 16;
39    SHADE_APP_LAUNCH = 17;
40    LOCKSCREEN_PASSWORD_APPEAR = 18;
41    LOCKSCREEN_PATTERN_APPEAR = 19;
42    LOCKSCREEN_PIN_APPEAR = 20;
43    LOCKSCREEN_PASSWORD_DISAPPEAR = 21;
44    LOCKSCREEN_PATTERN_DISAPPEAR = 22;
45    LOCKSCREEN_PIN_DISAPPEAR = 23;
46    LOCKSCREEN_TRANSITION_FROM_AOD = 24;
47    LOCKSCREEN_TRANSITION_TO_AOD = 25;
48    LAUNCHER_OPEN_ALL_APPS = 26;
49    LAUNCHER_ALL_APPS_SCROLL = 27;
50    LAUNCHER_APP_LAUNCH_FROM_WIDGET = 28;
51    SETTINGS_PAGE_SCROLL = 29;
52    LOCKSCREEN_UNLOCK_ANIMATION = 30;
53    SHADE_APP_LAUNCH_FROM_HISTORY_BUTTON = 31;
54    SHADE_APP_LAUNCH_FROM_MEDIA_PLAYER = 32;
55    SHADE_APP_LAUNCH_FROM_QS_TILE = 33;
56    SHADE_APP_LAUNCH_FROM_SETTINGS_BUTTON = 34;
57    STATUS_BAR_APP_LAUNCH_FROM_CALL_CHIP = 35;
58    PIP_TRANSITION = 36;
59    WALLPAPER_TRANSITION = 37;
60    USER_SWITCH = 38;
61    SPLASHSCREEN_AVD = 39;
62    SPLASHSCREEN_EXIT_ANIM = 40;
63    SCREEN_OFF = 41;
64    SCREEN_OFF_SHOW_AOD = 42;
65    ONE_HANDED_ENTER_TRANSITION = 43;
66    ONE_HANDED_EXIT_TRANSITION = 44;
67    UNFOLD_ANIM = 45;
68    SUW_LOADING_TO_SHOW_INFO_WITH_ACTIONS = 46;
69    SUW_SHOW_FUNCTION_SCREEN_WITH_ACTIONS = 47;
70    SUW_LOADING_TO_NEXT_FLOW = 48;
71    SUW_LOADING_SCREEN_FOR_STATUS = 49;
72    SPLIT_SCREEN_ENTER = 50;
73    SPLIT_SCREEN_EXIT = 51;
74    LOCKSCREEN_LAUNCH_CAMERA = 52;
75    SPLIT_SCREEN_RESIZE = 53;
76    SETTINGS_SLIDER = 54;
77    TAKE_SCREENSHOT = 55;
78    VOLUME_CONTROL = 56;
79    BIOMETRIC_PROMPT_TRANSITION = 57;
80    SETTINGS_TOGGLE = 58;
81    SHADE_DIALOG_OPEN = 59;
82    USER_DIALOG_OPEN = 60;
83    TASKBAR_EXPAND = 61;
84    TASKBAR_COLLAPSE = 62;
85    SHADE_CLEAR_ALL = 63;
86    LAUNCHER_UNLOCK_ENTRANCE_ANIMATION = 64;
87    LOCKSCREEN_OCCLUSION = 65;
88    RECENTS_SCROLLING = 66;
89    LAUNCHER_APP_SWIPE_TO_RECENTS = 67;
90    LAUNCHER_CLOSE_ALL_APPS_SWIPE = 68;
91    LAUNCHER_CLOSE_ALL_APPS_TO_HOME = 69;
92    LOCKSCREEN_CLOCK_MOVE_ANIMATION = 71;
93    reserved 2;
94}
95
96/**
97  * Enum used by UIActionLatencyReported.
98  */
99enum ActionType {
100    UNKNOWN_ACTION = 0;
101    ACTION_EXPAND_PANEL = 1;
102    ACTION_TOGGLE_RECENTS = 2;
103    ACTION_FINGERPRINT_WAKE_AND_UNLOCK = 3;
104    ACTION_CHECK_CREDENTIAL = 4;
105    ACTION_CHECK_CREDENTIAL_UNLOCKED = 5;
106    ACTION_TURN_ON_SCREEN = 6;
107    ACTION_ROTATE_SCREEN = 7;
108    ACTION_FACE_WAKE_AND_UNLOCK = 8;
109    ACTION_START_RECENTS_ANIMATION = 9;
110    ACTION_ROTATE_SCREEN_CAMERA_CHECK = 10;
111    ACTION_ROTATE_SCREEN_SENSOR = 11;
112    ACTION_LOCKSCREEN_UNLOCK = 12;
113    ACTION_USER_SWITCH = 13;
114    ACTION_SWITCH_DISPLAY_UNFOLD = 14;
115    ACTION_UDFPS_ILLUMINATE = 15;
116    ACTION_SHOW_BACK_ARROW = 16;
117    ACTION_LOAD_SHARE_SHEET = 17;
118    ACTION_SHOW_SELECTION_TOOLBAR = 18;
119    ACTION_FOLD_TO_AOD = 19;
120    ACTION_SHOW_VOICE_INTERACTION = 20;
121    ACTION_REQUEST_IME_SHOWN = 21;
122    ACTION_REQUEST_IME_HIDDEN = 22;
123    ACTION_SMARTSPACE_DOORBELL = 23;
124}
125
126