• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2014 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;
18 
19 /**
20  * Constants to be passed as sysui_* eventlog parameters.
21  */
22 public class EventLogConstants {
23     /** The user swiped up on the lockscreen, unlocking the device. */
24     public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_UP_UNLOCK = 1;
25     /** The user swiped down on the lockscreen, going to the full shade. */
26     public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_DOWN_FULL_SHADE = 2;
27     /** The user tapped in an empty area, causing the unlock hint to be shown. */
28     public static final int SYSUI_LOCKSCREEN_GESTURE_TAP_UNLOCK_HINT = 3;
29     /** The user swiped inward on the camera icon, launching the camera. */
30     public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_CAMERA = 4;
31     /** The user swiped inward on the dialer icon, launching the dialer. */
32     public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_DIALER = 5;
33     /** The user tapped the lock, locking the device. */
34     public static final int SYSUI_LOCKSCREEN_GESTURE_TAP_LOCK = 6;
35     /** The user tapped a notification, needs to tap again to launch. */
36     public static final int SYSUI_LOCKSCREEN_GESTURE_TAP_NOTIFICATION_ACTIVATE = 7;
37     /** The user swiped down to open quick settings, from keyguard. */
38     public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_DOWN_QS = 8;
39     /** The user swiped down to open quick settings, from shade. */
40     public static final int SYSUI_SHADE_GESTURE_SWIPE_DOWN_QS = 9;
41     /** The user tapped on the status bar to open quick settings, from shade. */
42     public static final int SYSUI_TAP_TO_OPEN_QS = 10;
43 
44     /** Secondary user tries binding to the system sysui service */
45     public static final int SYSUI_RECENTS_CONNECTION_USER_BIND_SERVICE = 1;
46     /** Secondary user is bound to the system sysui service */
47     public static final int SYSUI_RECENTS_CONNECTION_USER_SYSTEM_BOUND = 2;
48     /** Secondary user loses connection after system sysui has died */
49     public static final int SYSUI_RECENTS_CONNECTION_USER_SYSTEM_UNBOUND = 3;
50     /** System sysui registers secondary user's callbacks */
51     public static final int SYSUI_RECENTS_CONNECTION_SYSTEM_REGISTER_USER = 4;
52     /** System sysui unregisters secondary user's callbacks (after death) */
53     public static final int SYSUI_RECENTS_CONNECTION_SYSTEM_UNREGISTER_USER = 5;
54 }
55