diff --git a/tools/winscope/src/app/components/timeline/expanded_timeline_component.ts b/tools/winscope/src/app/components/timeline/expanded_timeline_component.ts index c0c500032..2199df70b 100644 --- a/tools/winscope/src/app/components/timeline/expanded_timeline_component.ts +++ b/tools/winscope/src/app/components/timeline/expanded_timeline_component.ts @@ -14,6 +14,7 @@ * limitations under the License. */ +import { KeyValue } from '@angular/common'; import { Component, ElementRef, @@ -28,25 +29,23 @@ import { import {TimelineData} from 'app/timeline_data'; import {TRACE_INFO} from 'app/trace_info'; import {Timestamp} from 'trace/timestamp'; +import { TraceType } from 'trace/trace_type'; import {SingleTimelineComponent} from './single_timeline_component'; @Component({ selector: 'expanded-timeline', template: `
-
+
{{ TRACE_INFO[timeline.key].icon }}
- ) => { + return this.selectedTimestampFor(value.key) + } + private resizeCanvases() { // Reset any size before computing new size to avoid it interfering with size computations. // Needs to be done together because otherwise the sizes of each timeline will interfere with