Commit Graph

19 Commits

Author SHA1 Message Date
Pablo Gamito
e9ed4d5ca3 Implement diff for SurfaceFlinger and WindowManager hierarchy
Test: N/A
Change-Id: I3dea4f29de74a8754cf3164d41c7eb3d76c239a8
2020-06-30 12:58:53 +01:00
Pablo Gamito
aa2c1335ac Implement diff transformation for properties
Test: N/A
Change-Id: Ib231e617db3d87fe1abe20e95137d9af17572d19
2020-06-30 12:58:19 +01:00
Pablo Gamito
bd47ff7863 Add treeView to visualize changes in transaction
Test: N/A
Change-Id: Ida61733f1cc73b3bee4d3963b1bc17dfe2b626fc
2020-06-24 16:21:43 +01:00
Pablo Gamito
30741659ca Prevent text highlighting of nodesfrom interfering with collapse toggling
Test: Manual
Change-Id: I70d9f364ba245490fbfd64bf5c6ec08cf6c977a1
2020-06-16 17:18:19 +01:00
Pablo Gamito
58fc6cc504 Keep track of TreeView collapsed states accross time
Test: Manually
Change-Id: I681c436f6789979fefc7b4ac4fb9fa148c4cb0a5
2020-06-16 10:01:01 +01:00
Pablo Gamito
1fcea5ce61 Merge "Don't show TreeView element when empty" 2020-06-12 11:30:58 +00:00
Pablo Gamito
293a43fd76 Merge "Add icon to TeeView leaf nodes for clarity" 2020-06-11 17:22:09 +00:00
Pablo Gamito
4ffa6b8a7d Don't show TreeView element when empty
Prevents there from being an empty TreeView node which is visible when hovered over

Test: Manual
Change-Id: I9a9f6538075731b4cf92d64d18ca47da818c0cd5
2020-06-10 10:30:36 +01:00
Pablo Gamito
c081577406 Always execute first TreeView node click
Makes clicking items more responsive. Stops waiting to detect second click and instead always execute the action of the first click no matter what.

Test: Manual
Fixes: 158604325
Change-Id: Ib98d8ed1acdc4ab18577bc2c01febb17009f53de
2020-06-10 10:14:04 +01:00
Pablo Gamito
cf360a0dff Add icon to TeeView leaf nodes for clarity
Adding the icon tabs out leaf nodes to make it clear they are children of the parent and makes it clear that a multiline item is a single item

Test: N/A
Fixes: 158606224
Change-Id: I12cdf1978d322064b37cfa963c5bddbb7bdcacfe
2020-06-10 09:42:03 +01:00
Pablo Gamito
231e2c378a Implement collapsible TreeView
Test: Manually by trying to collapse trees
Change-Id: I2fecf357165357e03b347bb89631d9daac46c321
2020-06-05 15:24:45 +01:00
Vadim Caen
97b57ace37 Cleanup the UI for better visibility
Test: Checked that everything looked correct visually
Change-Id: Id60e8a4f6d0e6c21bcae01ae90730e727c459f42
2020-06-03 18:31:46 +01:00
Vishnu Nair
c778b9bdb7 Add layer filter to winscope
Uses the same semantics as property filter but is applied to the
hierarchy. If a filter is matches, the nodes children will be shown.

Example: filter by layer ids: 12,14,15
filter by layer name: Wallpaper

Test: open transaction trace and layer trace in winscope
Fixes: 152647597
Change-Id: I2bee5bbf5e4b14efb6aadee5775b46499e8f2ec9
2020-03-27 22:40:38 +00:00
Alec Mouri
65066517f1 [Winscope] Add chips for HWC vs GPU composited layers
Bug: 119443475
Test: SF trace
Change-Id: I13289b403d394c07b3ac8e2e7d21e5188bba56d8
2020-02-29 14:33:18 -08:00
Adam Pardyl
d905ed26af Support multiple trace files.
This commit allows to view trace for both SurfaceFlinger and
WindowManager at the same time using one timeline.

Test: yarn run dev
Bug:
Change-Id: I11abcf8b6423a03ca9af63e56a7b992958d21175
2019-07-09 13:58:05 +02:00
Yi Jin
84f33f5dbe Remove am/wm.proto
Bug: 72474563
Test: cd development/tools/winscope/ && npm install && npm run dev
Change-Id: Ia16faf80ecbfdeea27ea82d839f4afeb81d904df
2018-03-20 17:37:38 -07:00
Yi Jin
4f9c968aba Rename, see ag/3642615
Bug: 72474563
Test: manual
Change-Id: I894a2075e4e5bc56703e1f4d181f9ff2a3fc70ef
2018-02-26 16:32:05 -08:00
Vishnu Nair
f60b79fdc2 Fix proto file paths
Bug: 64831661
Test:  npm run dev
Change-Id: I2283175b50d96de7859b3e80de6228f55d766e67
2017-12-28 11:18:46 -08:00
Vishnu Nair
46babab973 Winscope Initial Commit
Bug: 64831661
Test: none

Change-Id: I395f5b7d602101811f3450be96990447f145c2ab
2017-12-19 15:15:30 -08:00