diff options
author | Hyunyoung Song <hyunyoungs@google.com> | 2018-05-09 16:18:58 -0700 |
---|---|---|
committer | Hyunyoung Song <hyunyoungs@google.com> | 2018-05-15 14:31:07 -0700 |
commit | 018eec68997342ca87e4ea607ab292adb12d7a34 (patch) | |
tree | 201552fbbe4a681a27b2533ecdf3784218b828cd /protos/launcher_log.proto | |
parent | c14adabe99aa120dc2e9cef64b4553f757f3086f (diff) | |
download | android_packages_apps_Trebuchet-018eec68997342ca87e4ea607ab292adb12d7a34.tar.gz android_packages_apps_Trebuchet-018eec68997342ca87e4ea607ab292adb12d7a34.tar.bz2 android_packages_apps_Trebuchet-018eec68997342ca87e4ea607ab292adb12d7a34.zip |
Add logging for Onboarding
Bug: 73784423
* Discovery bounce, homescreen, hotseat
UserEvent: action:TIP
UserEvent: Source child:HOTSEAT id=0 BOUNCE
* Discovery bounce, overview, prediction
UserEvent: action:TIP
UserEvent: Source child:PREDICTION BOUNCE
* Swipe up from navbar text (visibility, cancel target)
UserEvent: action:TIP
UserEvent: Source child:TIP SWIPE_UP_TEXT
UserEvent: action:TAP
UserEvent: Source child:CANCEL_TARGET SWIPE_UP_TEXT
* Quickscrub text (visibility, cancel target)
UserEvent: action:TIP
UserEvent: Source child:TIP QUICK_SCRUB_TEXT
UserEvent: action:TAP
UserEvent: Source child:CANCEL_TARGET QUICK_SCRUB_TEXT
* Prediction apps text (visibility, cancel target)
UserEvent: action:TAP
UserEvent: Source child:TIP PREDICTION_TEXT
UserEvent: action:TAP
UserEvent: Source child:CANCEL_TARGET PREDICTION_TEXT
Change-Id: I94710b5ed3d00e3599985b154eb660af4a958288
Diffstat (limited to 'protos/launcher_log.proto')
-rw-r--r-- | protos/launcher_log.proto | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/protos/launcher_log.proto b/protos/launcher_log.proto index 179f21d80..cd404d6d5 100644 --- a/protos/launcher_log.proto +++ b/protos/launcher_log.proto @@ -55,6 +55,7 @@ message Target { optional int32 span_y = 14 [default = 1];// Used for ItemType.WIDGET optional int32 predictedRank = 15; optional TargetExtension extension = 16; + optional TipType tip_type = 17; } // Used to define what type of item a Target would represent. @@ -88,6 +89,7 @@ enum ContainerType { NAVBAR = 11; TASKSWITCHER = 12; // Recents UI Container (QuickStep) APP = 13; // Foreground activity is another app (QuickStep) + TIP = 14; // Onboarding texts (QuickStep) } // Used to define what type of control a Target would represent. @@ -109,14 +111,24 @@ enum ControlType { CANCEL_TARGET = 14; } +enum TipType { + DEFAULT_NONE = 0; + BOUNCE = 1; + SWIPE_UP_TEXT = 2; + QUICK_SCRUB_TEXT = 3; + PREDICTION_TEXT = 4; +} + // Used to define the action component of the LauncherEvent. message Action { enum Type { TOUCH = 0; AUTOMATED = 1; COMMAND = 2; + TIP = 3; // SOFT_KEYBOARD, HARD_KEYBOARD, ASSIST } + enum Touch { TAP = 0; LONGPRESS = 1; @@ -125,7 +137,8 @@ message Action { FLING = 4; PINCH = 5; } - enum Direction { + + enum Direction { NONE = 0; UP = 1; DOWN = 2; |