diff --git a/tools/winscope/src/app/trace_info.ts b/tools/winscope/src/app/trace_info.ts index 71420881c..9110cd781 100644 --- a/tools/winscope/src/app/trace_info.ts +++ b/tools/winscope/src/app/trace_info.ts @@ -16,20 +16,20 @@ import {TraceType} from 'trace/trace_type'; -const WINDOW_MANAGER_ICON = "web"; -const SURFACE_FLINGER_ICON = "layers"; -const SCREEN_RECORDING_ICON = "videocam"; -const TRANSACTION_ICON = "show_chart"; -const WAYLAND_ICON = "filter_none"; -const PROTO_LOG_ICON = "notes"; -const SYSTEM_UI_ICON = "filter_none"; -const LAUNCHER_ICON = "filter_none"; -const IME_ICON = "keyboard_alt"; -const ACCESSIBILITY_ICON = "accessibility_new"; -const TAG_ICON = "details"; -const TRACE_ERROR_ICON = "warning"; -const EVENT_LOG_ICON = "description"; -const TRANSITION_ICON = "animation"; +const WINDOW_MANAGER_ICON = 'web'; +const SURFACE_FLINGER_ICON = 'layers'; +const SCREEN_RECORDING_ICON = 'videocam'; +const TRANSACTION_ICON = 'show_chart'; +const WAYLAND_ICON = 'filter_none'; +const PROTO_LOG_ICON = 'notes'; +const SYSTEM_UI_ICON = 'filter_none'; +const LAUNCHER_ICON = 'filter_none'; +const IME_ICON = 'keyboard_alt'; +const ACCESSIBILITY_ICON = 'accessibility_new'; +const TAG_ICON = 'details'; +const TRACE_ERROR_ICON = 'warning'; +const EVENT_LOG_ICON = 'description'; +const TRANSITION_ICON = 'animation'; interface TraceInfoMap { [key: number]: { @@ -121,13 +121,13 @@ export const TRACE_INFO: TraceInfoMap = { color: '#D73027', }, [TraceType.EVENT_LOG]: { - name: "Event Log", + name: 'Event Log', icon: EVENT_LOG_ICON, - color: "#fdd663", + color: '#fdd663', }, [TraceType.TRANSITION]: { - name: "Transition Trace", + name: 'Transition Trace', icon: TRANSITION_ICON, - color: "#EC407A", - } + color: '#EC407A', + }, }; diff --git a/tools/winscope/src/trace_collection/trace_collection_utils.ts b/tools/winscope/src/trace_collection/trace_collection_utils.ts index 518f9b0ad..e2074462a 100644 --- a/tools/winscope/src/trace_collection/trace_collection_utils.ts +++ b/tools/winscope/src/trace_collection/trace_collection_utils.ts @@ -203,13 +203,13 @@ export const traceConfigurations: TraceConfigurationMap = { config: undefined, }, eventlog: { - name: "Event Log", + name: 'Event Log', isTraceCollection: undefined, run: false, config: undefined, }, transition_trace: { - name: "Shell Transitions", + name: 'Shell Transitions', isTraceCollection: undefined, run: false, config: undefined, @@ -225,8 +225,8 @@ export const TRACES: {[key: string]: TraceConfigurationMap} = { proto_log: traceConfigurations['proto_log'], screen_recording: traceConfigurations['screen_recording'], ime_tracing: traceConfigurations['ime_tracing'], - eventlog: traceConfigurations["eventlog"], - transition_trace: traceConfigurations["transition_trace"], + eventlog: traceConfigurations['eventlog'], + transition_trace: traceConfigurations['transition_trace'], }, arc: { wayland_trace: traceConfigurations['wayland_trace'],