Searched refs:selectedArea (Results 1 – 10 of 10) sorted by relevance
/external/perfetto/ui/src/controller/ |
D | area_selection_handler.ts | 27 const selectedArea = globals.state.areas[currentSelection.areaId]; constant 33 let hasAreaChanged = (!!this.previousArea !== !!selectedArea); 34 if (selectedArea && this.previousArea) { 40 hasAreaChanged || selectedArea.start !== this.previousArea.start; 42 hasAreaChanged || selectedArea.end !== this.previousArea.end; 44 selectedArea.tracks.length !== this.previousArea.tracks.length; 45 for (let i = 0; i < selectedArea.tracks.length; ++i) { 47 selectedArea.tracks[i] !== this.previousArea.tracks[i]; 52 this.previousArea = selectedArea; 55 return [hasAreaChanged, selectedArea];
|
D | area_selection_handler_unittest.ts | 29 const [hasAreaChanged, selectedArea] = areaSelectionHandler.getAreaChange(); constant 32 expect(selectedArea).toEqual(latestArea); 53 const [hasAreaChanged, selectedArea] = areaSelectionHandler.getAreaChange(); constant 56 expect(selectedArea).toEqual(undefined); 65 const [hasAreaChanged, selectedArea] = areaSelectionHandler.getAreaChange(); constant 68 expect(selectedArea).toEqual(undefined); 91 const [hasAreaChanged, selectedArea] = areaSelectionHandler.getAreaChange(); constant 94 expect(selectedArea).toEqual(current); 117 const [hasAreaChanged, selectedArea] = areaSelectionHandler.getAreaChange(); constant 120 expect(selectedArea).toEqual(current); [all …]
|
/external/perfetto/ui/src/frontend/ |
D | track_group_panel.ts | 98 const selectedArea = globals.state.areas[selection.areaId]; constant 99 if (selectedArea.tracks.includes(attrs.trackGroupId) && 100 trackGroup.tracks.every((id) => selectedArea.tracks.includes(id))) { 103 selectedArea.tracks.includes(attrs.trackGroupId) || 104 trackGroup.tracks.some((id) => selectedArea.tracks.includes(id))) { 193 const selectedArea = globals.state.areas[selection.areaId]; constant 194 const selectedAreaDuration = selectedArea.end - selectedArea.start; constant 195 if (selectedArea.tracks.includes(this.trackGroupId)) { 198 visibleTimeScale.tpTimeToPx(selectedArea.start) + this.shellWidth,
|
D | time_selection_panel.ts | 157 const localArea = globals.frontendLocalState.selectedArea; 164 const selectedArea = globals.state.areas[selection.areaId]; constant 165 const start = BigintMath.min(selectedArea.start, selectedArea.end); 166 const end = BigintMath.max(selectedArea.start, selectedArea.end); 178 const selectedArea = globals.state.areas[note.areaId]; constant 180 ctx, size, new TPTimeSpan(selectedArea.start, selectedArea.end));
|
D | track_panel.ts | 61 const selectedArea = globals.state.areas[selection.areaId]; constant 62 return selectedArea.tracks.includes(id); 371 const selectedArea = globals.state.areas[selection.areaId]; constant 372 const selectedAreaDuration = selectedArea.end - selectedArea.start; constant 373 if (selectedArea.tracks.includes(trackState.id)) { 376 visibleTimeScale.tpTimeToPx(selectedArea.start) + TRACK_SHELL_WIDTH,
|
D | viewer_page.ts | 52 const area = globals.frontendLocalState.selectedArea ? 53 globals.frontendLocalState.selectedArea : 159 const area = globals.frontendLocalState.selectedArea ? 160 globals.frontendLocalState.selectedArea : 204 const area = globals.frontendLocalState.selectedArea;
|
D | aggregation_panel.ts | 114 const selectedArea = globals.state.areas[selection.areaId]; constant 116 tpTimeToMillis(selectedArea.end - selectedArea.start);
|
D | keyboard_event_handler.ts | 236 const selectedArea = globals.state.areas[selection.areaId]; constant 237 if (selectedArea) { 238 startTs = selectedArea.start; 239 endTs = selectedArea.end;
|
D | panel_container.ts | 119 const area = globals.frontendLocalState.selectedArea; 426 const area = globals.frontendLocalState.selectedArea;
|
D | frontend_local_state.ts | 264 get selectedArea(): Area|undefined {
|