diff options
author | Tony Wickham <twickham@google.com> | 2020-09-29 17:29:06 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2020-10-06 18:25:50 -0700 |
commit | 1fddddb4f30505e0fc9bb2e7c0d88b38ad900e54 (patch) | |
tree | 59ad84efa0863954b3d1f52e057e4b9689317c02 /protos | |
parent | 8d14dbe041199d611839140f1c9285fd4174e9f4 (diff) | |
download | Launcher3-1fddddb4f30505e0fc9bb2e7c0d88b38ad900e54.tar.gz |
Update launcher_trace.proto for quick switch
Sample output from one entry:
entry {
elapsed_realtime_nanos: 440461382888540
launcher {
touch_interaction_service {
service_connected: true
overview_component_obvserver {
overview_activity_started: true
overview_activity_resumed: false
}
input_consumer {
name: "TYPE_OTHER_ACTIVITY:TYPE_ONE_HANDED"
swipe_handler {
gesture_state {
endTarget: NEW_TASK
}
is_recents_attached_to_app_window: true
scroll_offset: 846
app_to_overview_progress: 0
}
}
}
}
}
Bug: 167259591
Change-Id: I7f199d88f1d736efcea6b9165b8c4b77a5d27c58
Diffstat (limited to 'protos')
-rw-r--r-- | protos/launcher_trace.proto | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/protos/launcher_trace.proto b/protos/launcher_trace.proto index c6f3543c09..65fcfe512b 100644 --- a/protos/launcher_trace.proto +++ b/protos/launcher_trace.proto @@ -28,4 +28,40 @@ message LauncherTraceProto { message TouchInteractionServiceProto { optional bool service_connected = 1; + optional OverviewComponentObserverProto overview_component_obvserver = 2; + optional InputConsumerProto input_consumer = 3; +} + +message OverviewComponentObserverProto { + + optional bool overview_activity_started = 1; + optional bool overview_activity_resumed = 2; +} + +message InputConsumerProto { + + optional string name = 1; + optional SwipeHandlerProto swipe_handler = 2; +} + +message SwipeHandlerProto { + + optional GestureStateProto gesture_state = 1; + optional bool is_recents_attached_to_app_window = 2; + optional int32 scroll_offset = 3; + // Swipe up progress from 0 (app) to 1 (overview); can be > 1 if swiping past overview. + optional float app_to_overview_progress = 4; +} + +message GestureStateProto { + + optional GestureEndTarget endTarget = 1 [default = UNSET]; + + enum GestureEndTarget { + UNSET = 0; + HOME = 1; + RECENTS = 2; + NEW_TASK = 3; + LAST_TASK = 4; + } } |