Show properties for DisplayAreas and DisplayContent
Test: open wm trace in winscope, check if properties of DC and DA are visible. Fixes: 149672519 Change-Id: Ib5181c655a84fec94307846333fc0b1cc29d38fc Change-Id: Ib442c75f031ceb72aa00493e46d502944827121c
This commit is contained in:
@@ -145,7 +145,7 @@ function transform_window_container_child(entry) {
|
|||||||
|
|
||||||
// The WindowContainerChild may be unknown
|
// The WindowContainerChild may be unknown
|
||||||
return transform({
|
return transform({
|
||||||
obj: {},
|
obj: entry,
|
||||||
kind: 'WindowContainerChild',
|
kind: 'WindowContainerChild',
|
||||||
name: '',
|
name: '',
|
||||||
children: [[entry.windowContainer.children.reverse(), transform_window_container_child],]
|
children: [[entry.windowContainer.children.reverse(), transform_window_container_child],]
|
||||||
@@ -155,7 +155,7 @@ function transform_window_container_child(entry) {
|
|||||||
|
|
||||||
function transform_display_area(entry) {
|
function transform_display_area(entry) {
|
||||||
return transform({
|
return transform({
|
||||||
obj: {},
|
obj: entry,
|
||||||
kind: 'DisplayArea',
|
kind: 'DisplayArea',
|
||||||
name: entry.name,
|
name: entry.name,
|
||||||
children: [
|
children: [
|
||||||
@@ -170,10 +170,8 @@ function transform_display_content(entry) {
|
|||||||
height: entry.displayInfo.logicalHeight || 0,
|
height: entry.displayInfo.logicalHeight || 0,
|
||||||
};
|
};
|
||||||
|
|
||||||
// If trace supports display areas
|
|
||||||
var obj = (entry.rootDisplayArea != null) ? {} : entry;
|
|
||||||
return transform({
|
return transform({
|
||||||
obj: obj,
|
obj: entry,
|
||||||
kind: 'display',
|
kind: 'display',
|
||||||
name: entry.id || 0,
|
name: entry.id || 0,
|
||||||
children: [
|
children: [
|
||||||
|
|||||||
Reference in New Issue
Block a user