Lines Matching refs:trackId
53 function hasTrackId(obj: {}): obj is {trackId: number} {
54 return (obj as {trackId?: number}).trackId !== undefined;
83 config.trackId, {panel: panel.state, yStart});
86 for (const trackId of config.trackIds) { constant
87 this.trackIdToTrackPanel.set(trackId, {panel: panel.state, yStart});
100 private getTrackGroupIdByTrackId(trackId: number): string|undefined {
101 const uiTrackId = findUiTrackId(trackId);
106 args: FlowEventsRendererArgs, trackId: number): number|undefined {
107 const trackGroupId = this.getTrackGroupIdByTrackId(trackId);
119 private getTrackYCoordinate(args: FlowEventsRendererArgs, trackId: number):
121 return args.trackIdToTrackPanel.get(trackId) ?.yStart;
125 args: FlowEventsRendererArgs, trackId: number,
128 const y = this.getTrackGroupYCoordinate(args, trackId);
134 const y = (this.getTrackYCoordinate(args, trackId) || 0) + rect.top +
149 const trackPanel = args.trackIdToTrackPanel.get(point.trackId) ?.panel;
188 this.getYConnection(args, flow.begin.trackId, beginSliceRect);
190 this.getYConnection(args, flow.end.trackId, endSliceRect);