WinScope: Show IME windows

Test: Check trace with IME windows shown

Change-Id: If69e1bc340c0c79a5fb07385cc6921dd093e8fc2
This commit is contained in:
Vishnu Nair
2018-05-22 10:16:14 -07:00
parent 16cace3a8a
commit 97c5b512a3

View File

@@ -119,6 +119,17 @@ function transform_above(entry) {
});
}
function transform_ime(entry) {
return transform({
obj: entry,
kind: 'imeWindow',
name: '',
children: [
[entry.windows, transform_window],
],
});
}
function transform_display(entry) {
var bounds = {
width: entry.displayInfo.logicalWidth || 0,
@@ -131,6 +142,7 @@ function transform_display(entry) {
name: entry.id || 0,
children: [
[entry.aboveAppWindows, transform_above],
[entry.imeWindows, transform_ime],
[entry.stacks, transform_stack],
[entry.belowAppWindows, transform_below],
],