Open
Conversation
This plugin allows the user to select an input-related slice and understand the lifecycle of that event from the initial touch event to the frame. There are two main features which this plugin provides: 1) Visualisation of the input lifecycle as "flows" on the UI. This allows the user the ability to trace the lifecycle visually and easily correlate the events which contributed to a Frame, and vice versa. 2) It also presents the latency information as a table which allows the user to inspect the total latency of the event lifecycle, as well as its constituent stages. This allows the user to quickly diagnose which stage is causing issues. This is accompanied by a tab which allows toggling of the flows per channel (the visualisation defaults to showing a single lifecycle channel at a time for performance and visual clutter reasons). It also allows easy pinning of tracks for a given lifecycle and input channel. The latency table is also shown, with links which allow the user to select particular input events of interest.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This abstracts the logic from AndroidInputLifecycle into a new plugin which can be more generically consumed by other plugin creators who wish to represent related events with common utilities to create a tab for organisation and navigation of details, as well as drawing arrows.
The RelatedEvents plugin exposes