summaryrefslogtreecommitdiffstats
path: root/protos
diff options
context:
space:
mode:
authorHyunyoung Song <hyunyoungs@google.com>2016-07-21 11:48:37 -0700
committerHyunyoung Song <hyunyoungs@google.com>2016-07-21 11:48:37 -0700
commit5aa2714959405043639cb2d0b8d9ab8c6eef0bd2 (patch)
tree92e46448e9a744378ede2da9f7cb8f8618bbbafb /protos
parent06580312edc1fd1a94746de0626022e60d8e614e (diff)
downloadandroid_packages_apps_Trebuchet-5aa2714959405043639cb2d0b8d9ab8c6eef0bd2.tar.gz
android_packages_apps_Trebuchet-5aa2714959405043639cb2d0b8d9ab8c6eef0bd2.tar.bz2
android_packages_apps_Trebuchet-5aa2714959405043639cb2d0b8d9ab8c6eef0bd2.zip
Add user event log for deep shortcuts and all apps opening interaction.
b/30114798 Change-Id: I11ad99d0bc1983294d6a5329b98917cb87250823
Diffstat (limited to 'protos')
-rw-r--r--protos/launcher_log.proto12
1 files changed, 11 insertions, 1 deletions
diff --git a/protos/launcher_log.proto b/protos/launcher_log.proto
index eae02ca07..37305555a 100644
--- a/protos/launcher_log.proto
+++ b/protos/launcher_log.proto
@@ -61,6 +61,7 @@ enum ItemType {
SHORTCUT = 2;
WIDGET = 3;
FOLDER_ICON = 4;
+ DEEPSHORTCUT = 5;
}
// Used to define what type of container a Target would represent.
@@ -74,6 +75,7 @@ enum ContainerType {
OVERVIEW = 6;
PREDICTION = 7;
SEARCHRESULT = 8;
+ DEEPSHORTCUTS = 9;
}
// Used to define what type of control a Target would represent.
@@ -106,8 +108,16 @@ message Action {
FLING = 4;
PINCH = 5;
}
+ enum Direction {
+ NONE = 0;
+ UP = 1;
+ DOWN = 2;
+ LEFT = 3;
+ RIGHT = 4;
+ }
optional Type type = 1;
optional Touch touch = 2;
+ optional Direction dir = 3;
}
//
@@ -126,4 +136,4 @@ message LauncherEvent {
optional int64 action_duration_millis = 4;
optional int64 elapsed_container_millis = 5;
optional int64 elapsed_session_millis = 6;
-} \ No newline at end of file
+}