This repository has been archived by the owner on Nov 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
am b018399: SysUI: Log lockscreen gestures
* commit 'b018399a3a2762e95126acbe14397eca15bad772': SysUI: Log lockscreen gestures
- Loading branch information
Showing
8 changed files
with
93 additions
and
6 deletions.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
packages/SystemUI/src/com/android/systemui/EventLogConstants.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
/* | ||
* Copyright (C) 2014 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; | ||
|
||
/** | ||
* Constants to be passed as sysui_* eventlog parameters. | ||
*/ | ||
public class EventLogConstants { | ||
/** The user swiped up on the lockscreen, unlocking the device. */ | ||
public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_UP_UNLOCK = 1; | ||
/** The user swiped down on the lockscreen, going to the full shade. */ | ||
public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_DOWN_FULL_SHADE = 2; | ||
/** The user tapped in an empty area, causing the unlock hint to be shown. */ | ||
public static final int SYSUI_LOCKSCREEN_GESTURE_TAP_UNLOCK_HINT = 3; | ||
/** The user swiped inward on the camera icon, launching the camera. */ | ||
public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_CAMERA = 4; | ||
/** The user swiped inward on the dialer icon, launching the dialer. */ | ||
public static final int SYSUI_LOCKSCREEN_GESTURE_SWIPE_DIALER = 5; | ||
/** The user tapped the lock, locking the device. */ | ||
public static final int SYSUI_LOCKSCREEN_GESTURE_TAP_LOCK = 6; | ||
/** The user tapped a notification, needs to tap again to launch. */ | ||
public static final int SYSUI_LOCKSCREEN_GESTURE_TAP_NOTIFICATION_ACTIVATE = 7; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters