mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-27 15:26:58 +00:00
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
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user