- Minimized <video> element would still intercept pointer events
- Original area occupied by ViewerScreenRecording component would always intercept
pointer events, even after dragging the element somewhere else.
Test: npm run build:all && npm run test:all
Fix: b/238090772
Change-Id: I1dee45bada91e61c0a80495a9ec8ce16c73cbba7
Test: open SF trace, scroll back and forth in time, check that labels don't disappear
Fix: b/254244305
Change-Id: I05129db8f5a7a5ee2dd42d7d685aac1588b8594c
ParserWindowManagerDump is prone to accepting invalid inputs because it lacks a magic number check.
This commit reduces changes of accepting invalid inputs by making sure that the parser is actually
able to create a trace entry from the decoded proto.
Test: npm run build:unit && npm run test:unit
Change-Id: I1aad12387ce064cde6e27e09cd6d329bb21f5066
CollectTracesComponent used to correctly notify AppComponent through callbacks, but the Angular
change detection was not always triggered (no input change), AppComponent was not updated and the
UI would hang with the message "Loading data..." or would not respond to "Upload new" botton clicks.
This commit solves the issue by manually triggering the Angular change detection through
ChangeDetectorRef#detectChanges().
Fix: b/256602610
Fix: b/256766721
Test: start winscope and collect a trace through ADB proxy
Change-Id: Iddbcc6a29c5d5a502f294b4fc49295dc06c9f00b
Different views (when available) are displayed in tabs with this order:
SF
WM
IME
Transactions
Protolog
Test: open winscope, load traces, check that tab order is correct
Fix: b/254043055
Change-Id: I5b08cc8cdb4c623552f7ad8a1ba693ebfefb4928
This change also needed and includes the refactorings listed below.
Extend viewer's interface to support overlay views:
viewers return a list of views that could have either "tab" or "overlay" type.
Extend TraceViewComponent to render overlay views as well.
Simplify TraceViewComponent's interface for simpler event handling:
receive list of viewers + callback as input instead of entire TraceCoordinator
Test: npm run build:all && npm run test:all
Fix: b/238090772
Change-Id: Iac4c7e66ebe662a76166318d045c2c35e689ef15
- Labels have typography consistent with the rest of Winscope
- Fix labels position - get rid of fragile hardcoded x-axis shifts
Fix: b/251785717
Test: run "npm run start", load SF trace, check layers labels
Change-Id: Id32b31f3bf66e4096fedfb3369f6df479f4e0c47
- WindowManager viewer
- IME viewers
Fix: b/254437771
Test: load WM + IME traces in winscope, click on an entry in the hierarchy view, check that there is no blank space in the properties view between controls on top (filter) and the properties (tree) view below
Change-Id: I943433b594e91d4d6323af50087002b42d324d40
The field is not registered as an IntDef but uses the same values as
LayeoutParams according to code codumentation
Test: npm run test:all && open a layers trace and check if
inputWindowInfo has a value and if the flags are correctly formatted
Change-Id: I868e1b3088cf9925c50faf0decce2da1f584288d
In case of repeated/equal timestamps, the first occurrence is the search's result.
Test: npm run build:unit && npm run test:unit
Change-Id: If15a7c815c654a3c6ad53c6626b9a89fcb536bff
Layer types are deprecated.
Test: open traces with winscope and check buffer info is visible
Bug: 238781169
Change-Id: I1f1aeae4e86a2d44a7125dd03d31271d1b143a75
Test: run idegen.sh to generate files for IntelliJ without error
Signed-off-by: utzcoz <utzcoz@gmail.com>
Change-Id: If1066d236ef44aff6b9f73a40751ad232a80f6f9
Add extra properties to IME viewers from the IME traces and SF/WM
traces.
Bug: b/238088679
Test: npm run test:all
Change-Id: I177fc7353f963cc8b1391a88d5d8f4b2e4f387fa
IM Clients, Service and Manager Service viewers - not yet including new
WM/SF combined properties view in hierarchy.
Bug: b/238088679
Test: npm run test:all
Change-Id: I4bd05ca5dff14abbf6d3a89b0e07730233edf1b0
Refactor tree utils for proper reuse from IME viewers:
- add common/trace/trace_tree_node (factored out from viewers)
- rename renaming viewers/common/tree_utils -> viewers/common/ui_tree_utils
- add common/utils/tree_utils: generic tree utils reused from "trace" and "ui"
Bug: 238088679
Test: npm run build:all && npm run test:all
Change-Id: Ib14dd3495dc7e91e3a0eef2fdc20efa27fe1ef2e
Test: run idegen.sh to generate files for IntelliJ without error
Signed-off-by: utzcoz <utzcoz@gmail.com>
Change-Id: I80958e94f93a8e1ef546bc34bd929d04a224dc9e
Rect labels are clickable. Pan added via right click and drag, zoom added via scroll.
Bug: b/245914589
Test: npm run test:all
Change-Id: I49ffd26b1c735390960e6b523acf3070951c903d