From 0d88ed9df00ea1d8d82f9652810403bca88701ca Mon Sep 17 00:00:00 2001 From: Ioana Date: Thu, 15 Jul 2021 14:24:26 +0000 Subject: [PATCH] Add shorten layer name option in TransactionView Add an option to simplify the layer name in Transaction similar to the one from WindowManagerTrace. Bug: 162402459 Test: Record a trace using Winscope and in the Transaction tab check Simplify names Change-Id: Ice4feffdd2dc247b7eac9ae63ba633b1d970533a --- tools/winscope/src/TransactionEntry.vue | 41 +++++++++++++++++++------ tools/winscope/src/TransactionsView.vue | 7 ++++- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/tools/winscope/src/TransactionEntry.vue b/tools/winscope/src/TransactionEntry.vue index 24a80e098..ba27e0215 100644 --- a/tools/winscope/src/TransactionEntry.vue +++ b/tools/winscope/src/TransactionEntry.vue @@ -33,14 +33,21 @@ v-for="(surface, index) in sufacesAffectedBy(source)" v-bind:key="surface.id" > - - {{ surface.name }} - - - ({{surface.id}}) + {{surface.shortName}}> + + + + {{ surface.name }} + + + ({{surface.id}}) + + + - -
@@ -59,6 +66,8 @@