Home
last modified time | relevance | path

Searched refs:frontendLocalState (Results 1 – 25 of 49) sorted by relevance

12

/external/perfetto/ui/src/frontend/
Dviewer_page.ts46 const area = globals.frontendLocalState.selectedArea ?
47 globals.frontendLocalState.selectedArea :
49 const start = globals.frontendLocalState.timeScale.timeToPx(area.startSec);
50 const end = globals.frontendLocalState.timeScale.timeToPx(area.endSec);
74 const frontendLocalState = globals.frontendLocalState; constant
77 frontendLocalState.updateLocalLimits(
80 frontendLocalState.getScrollbarWidth());
103 const vizTime = globals.frontendLocalState.visibleWindowTime;
105 const tDelta = frontendLocalState.timeScale.deltaPxToDuration(pannedPx);
115 frontendLocalState.updateVisibleTime(new TimeSpan(tStart, tEnd));
[all …]
Dsearch_handler.ts23 globals.frontendLocalState.setSearchIndex(Math.max(current - 1, 0));
27 globals.frontendLocalState.setSearchIndex(
32 const state = globals.frontendLocalState;
34 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start);
35 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end);
46 globals.frontendLocalState.setSearchIndex(smaller);
52 globals.frontendLocalState.setSearchIndex(larger);
75 const searchIndex = globals.frontendLocalState.searchIndex;
83 const state = globals.frontendLocalState;
Dscroll_helper.ts28 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start);
29 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end);
33 globals.frontendLocalState.updateVisibleTime(new TimeSpan(
43 const visibleDur = globals.frontendLocalState.visibleWindowTime.end -
44 globals.frontendLocalState.visibleWindowTime.start;
50 const viewStartNs = toNs(globals.frontendLocalState.visibleWindowTime.start);
51 const viewEndNs = toNs(globals.frontendLocalState.visibleWindowTime.end);
54 globals.frontendLocalState.updateVisibleTime(
91 globals.frontendLocalState.scrollToTrackId = trackId;
Dkeyboard_event_handler.ts53 if (globals.frontendLocalState.vidTimestamp < 0) {
54 globals.frontendLocalState.setVidTimestamp(Number.MAX_SAFE_INTEGER);
56 globals.frontendLocalState.setVidTimestamp(Number.MIN_SAFE_INTEGER);
60 globals.frontendLocalState.toggleSidebar();
70 globals.frontendLocalState.deselectArea();
129 boundFlows, globals.frontendLocalState.focusedFlowIdLeft);
130 globals.frontendLocalState.setHighlightedFlowLeftId(nextFlowId);
133 boundFlows, globals.frontendLocalState.focusedFlowIdRight);
134 globals.frontendLocalState.setHighlightedFlowRightId(nextFlowId);
148 globals.frontendLocalState.focusedFlowIdLeft :
[all …]
Dnotes_panel.ts54 const timescale = globals.frontendLocalState.timeScale;
56 globals.frontendLocalState.setVidTimestamp(timestamp);
66 globals.frontendLocalState.setHoveredNoteTimestamp(-1);
82 const timeScale = globals.frontendLocalState.timeScale;
83 const range = globals.frontendLocalState.visibleWindowTime;
145 if (aNoteIsHovered) globals.frontendLocalState.setHoveredNoteTimestamp(-1);
151 globals.frontendLocalState.setHoveredNoteTimestamp(timestamp);
167 if (x >= globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) {
188 x, globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH);
222 const timeScale = globals.frontendLocalState.timeScale;
[all …]
Dpanel_container.ts113 const area = globals.frontendLocalState.selectedArea;
115 globals.frontendLocalState.areaY.start === undefined ||
116 globals.frontendLocalState.areaY.end === undefined ||
126 if (globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT <
128 globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT >
136 globals.frontendLocalState.timeScale.timeToPx(area.startSec),
137 globals.frontendLocalState.timeScale.timeToPx(area.endSec),
138 globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT,
139 globals.frontendLocalState.areaY.end + TOPBAR_HEIGHT);
158 globals.frontendLocalState.selectArea(area.startSec, area.endSec, tracks);
[all …]
Dtopbar.ts110 const state = globals.frontendLocalState;
117 globals.frontendLocalState.setOmnibox(
120 globals.frontendLocalState.setSearchIndex(-1);
125 value: globals.frontendLocalState.omnibox,
200 globals.frontendLocalState.newVersionAvailable = false;
213 if (dismissed === 'true' || !globals.frontendLocalState.showPanningHint) {
224 globals.frontendLocalState.showPanningHint = false;
256 class: globals.frontendLocalState.sidebarVisible ? '' : 'hide-sidebar'
258 globals.frontendLocalState.newVersionAvailable ?
Ddetails_panel.ts116 const activeTabExists = globals.frontendLocalState.currentTab &&
118 .includes(globals.frontendLocalState.currentTab);
120 globals.frontendLocalState.currentTab = undefined;
123 if (globals.frontendLocalState.currentTab === tab.key ||
124 globals.frontendLocalState.currentTab === undefined &&
127 globals.frontendLocalState.currentTab = tab.key;
134 globals.frontendLocalState.currentTab = tab.key;
317 tab => tab.key === globals.frontendLocalState.currentTab)[0];
Dtime_selection_panel.ts123 const range = globals.frontendLocalState.visibleWindowTime;
124 const timeScale = globals.frontendLocalState.timeScale;
132 const localArea = globals.frontendLocalState.selectedArea;
145 if (globals.frontendLocalState.hoveredLogsTimestamp !== -1) {
147 ctx, size, globals.frontendLocalState.hoveredLogsTimestamp);
164 const timeScale = globals.frontendLocalState.timeScale;
173 const timeScale = globals.frontendLocalState.timeScale;
Dtrack_group_panel.ts79 const searchIndex = globals.frontendLocalState.searchIndex;
82 .trackIds[globals.frontendLocalState.searchIndex];
160 const localState = globals.frontendLocalState;
188 globals.frontendLocalState.timeScale,
189 globals.frontendLocalState.visibleWindowTime,
202 const localState = globals.frontendLocalState;
Dtrack_panel.ts64 const searchIndex = globals.frontendLocalState.searchIndex;
67 .trackIds[globals.frontendLocalState.searchIndex];
247 if (globals.frontendLocalState.scrollToTrackId === attrs.trackState.id) {
249 globals.frontendLocalState.scrollToTrackId = undefined;
293 const localState = globals.frontendLocalState;
313 globals.frontendLocalState.timeScale,
314 globals.frontendLocalState.visibleWindowTime,
324 const localState = globals.frontendLocalState;
Dvideo_panel.ts31 currentTime: globals.frontendLocalState.vidTimestamp - offset,
40 globals.frontendLocalState.setVidTimestamp(timestamp);
46 elem.currentTime = globals.frontendLocalState.vidTimestamp - offset;
Dtrack.ts89 globals.frontendLocalState.addVisibleTrack(this.trackState.id);
91 const {visibleWindowTime, timeScale} = globals.frontendLocalState;
116 const endPx = globals.frontendLocalState.timeScale.endPx;
Dflow_events_renderer.ts144 return globals.frontendLocalState.timeScale.timeToPx(ts);
216 flow.end.sliceId === globals.frontendLocalState.highlightedSliceId ||
217 flow.begin.sliceId === globals.frontendLocalState.highlightedSliceId;
218 const focused = flow.id === globals.frontendLocalState.focusedFlowIdLeft ||
219 flow.id === globals.frontendLocalState.focusedFlowIdRight;
Dtime_axis_panel.ts30 const timeScale = globals.frontendLocalState.timeScale;
31 const range = globals.frontendLocalState.visibleWindowTime;
Dlogs_panel.ts84 globals.frontendLocalState.setHoveredLogsTimestamp(ts);
88 globals.frontendLocalState.setHoveredLogsTimestamp(-1);
97 const vis = globals.frontendLocalState.visibleWindowTime;
Dindex.ts81 globals.frontendLocalState.mergeState(globals.state.frontendLocalState);
156 globals.frontendLocalState.focusedFlowIdLeft = -1;
157 globals.frontendLocalState.focusedFlowIdRight = -1;
162 globals.frontendLocalState.focusedFlowIdRight = flow.id;
165 globals.frontendLocalState.focusedFlowIdLeft = flow.id;
Dtickmark_panel.ts30 const {timeScale, visibleWindowTime} = globals.frontendLocalState;
56 const index = globals.frontendLocalState.searchIndex;
Dperf.ts24 export const perfDebug = () => globals.frontendLocalState.perfDebug;
116 onclick: () => globals.frontendLocalState.togglePerfDebug(),
Dsidebar.ts339 globals.frontendLocalState.localOnlyMode = false;
353 globals.frontendLocalState.localOnlyMode = false;
579 if (globals.frontendLocalState.httpRpcState.connected &&
682 onclick: () => globals.frontendLocalState.togglePerfDebug(),
820 class: globals.frontendLocalState.sidebarVisible ? 'show-sidebar' :
832 globals.frontendLocalState.toggleSidebar();
837 title: globals.frontendLocalState.sidebarVisible ?
/external/perfetto/ui/src/tracks/process_scheduling/
Dfrontend.ts53 const {timeScale, visibleWindowTime} = globals.frontendLocalState;
94 const isHovering = globals.frontendLocalState.hoveredUtid !== -1;
95 const isThreadHovered = globals.frontendLocalState.hoveredUtid === utid;
96 const isProcessHovered = globals.frontendLocalState.hoveredPid === pid;
134 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1);
140 const {timeScale} = globals.frontendLocalState;
146 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1);
154 globals.frontendLocalState.setHoveredUtidAndPid(utid, pid);
159 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1);
/external/perfetto/ui/src/tracks/cpu_slices/
Dfrontend.ts56 const {timeScale, visibleWindowTime} = globals.frontendLocalState;
75 const {timeScale, visibleWindowTime} = globals.frontendLocalState;
102 const isHovering = globals.frontendLocalState.hoveredUtid !== -1;
103 const isThreadHovered = globals.frontendLocalState.hoveredUtid === utid;
104 const isProcessHovered = globals.frontendLocalState.hoveredPid === pid;
230 const {timeScale} = globals.frontendLocalState;
233 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1);
251 globals.frontendLocalState.setHoveredUtidAndPid(hoveredUtid, hoveredPid);
256 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1);
263 const {timeScale} = globals.frontendLocalState;
/external/perfetto/ui/src/tracks/chrome_slices/
Dfrontend.ts52 const {timeScale, visibleWindowTime} = globals.frontendLocalState;
104 globals.frontendLocalState.highlightedSliceId === sliceId;
195 const {timeScale} = globals.frontendLocalState;
212 tEnd = globals.frontendLocalState.visibleWindowTime.end;
223 globals.frontendLocalState.setHighlightedSliceId(-1);
229 globals.frontendLocalState.setHighlightedSliceId(data.sliceIds[sliceIndex]);
234 globals.frontendLocalState.setHighlightedSliceId(-1);
260 const {timeScale, visibleWindowTime} = globals.frontendLocalState;
/external/perfetto/ui/src/tracks/heap_profile/
Dfrontend.ts54 } = globals.frontendLocalState;
97 const {timeScale} = globals.frontendLocalState;
111 const {timeScale} = globals.frontendLocalState;
/external/perfetto/ui/src/tracks/cpu_profile/
Dfrontend.ts57 } = globals.frontendLocalState;
100 const {timeScale} = globals.frontendLocalState;
114 const {timeScale} = globals.frontendLocalState;

12