Searched refs:frontendLocalState (Results 1 – 25 of 47) sorted by relevance
12
/external/perfetto/ui/src/frontend/ |
D | viewer_page.ts | 43 const area = globals.frontendLocalState.selectedArea.area; 45 const start = globals.frontendLocalState.timeScale.timeToPx(area.startSec); 46 const end = globals.frontendLocalState.timeScale.timeToPx(area.endSec); 70 const frontendLocalState = globals.frontendLocalState; constant 73 frontendLocalState.updateResolution( 76 frontendLocalState.getScrollbarWidth()); 99 const vizTime = globals.frontendLocalState.visibleWindowTime; 101 const tDelta = frontendLocalState.timeScale.deltaPxToDuration(pannedPx); 111 frontendLocalState.updateVisibleTime(new TimeSpan(tStart, tEnd)); 119 const span = frontendLocalState.visibleWindowTime; [all …]
|
D | scroll_helper.ts | 26 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start); 27 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end); 31 globals.frontendLocalState.updateVisibleTime(new TimeSpan( 41 const visibleDur = globals.frontendLocalState.visibleWindowTime.end - 42 globals.frontendLocalState.visibleWindowTime.start; 44 const viewStartNs = toNs(globals.frontendLocalState.visibleWindowTime.start); 45 const viewEndNs = toNs(globals.frontendLocalState.visibleWindowTime.end); 48 globals.frontendLocalState.updateVisibleTime( 85 globals.frontendLocalState.scrollToTrackId = trackId;
|
D | search_handler.ts | 23 const state = globals.frontendLocalState; 25 const startNs = toNs(globals.frontendLocalState.visibleWindowTime.start); 26 const endNs = toNs(globals.frontendLocalState.visibleWindowTime.end); 35 globals.frontendLocalState.setSearchIndex(smaller); 39 globals.frontendLocalState.setSearchIndex(larger); 44 globals.frontendLocalState.setSearchIndex(Math.max(index - 1, 0)); 46 globals.frontendLocalState.setSearchIndex(Math.min( 63 const searchIndex = globals.frontendLocalState.searchIndex; 71 const state = globals.frontendLocalState;
|
D | track_panel.ts | 40 return globals.frontendLocalState.selectedArea.area && 41 globals.frontendLocalState.selectedArea.area.tracks.includes(id); 63 const searchIndex = globals.frontendLocalState.searchIndex; 66 .trackIds[globals.frontendLocalState.searchIndex]; 101 globals.frontendLocalState.selectedArea.area ? m(TrackButton, { 103 globals.frontendLocalState.toggleTrackSelection( 186 if (globals.frontendLocalState.selectingArea) return; 188 const clickTime = globals.frontendLocalState.timeScale.pxToTime( 190 const area = globals.frontendLocalState.selectedArea.area; 193 globals.frontendLocalState.deselectArea(); [all …]
|
D | panel_container.ts | 107 const selection = globals.frontendLocalState.selectedArea; 112 globals.frontendLocalState.areaY.start === undefined || 113 globals.frontendLocalState.areaY.end === undefined || 123 if (globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT < 125 globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT > 133 globals.frontendLocalState.timeScale.timeToPx(area.startSec), 134 globals.frontendLocalState.timeScale.timeToPx(area.endSec), 135 globals.frontendLocalState.areaY.start + TOPBAR_HEIGHT, 136 globals.frontendLocalState.areaY.end + TOPBAR_HEIGHT); 155 globals.frontendLocalState.selectArea(area.startSec, area.endSec, tracks); [all …]
|
D | notes_panel.ts | 46 const timescale = globals.frontendLocalState.timeScale; 48 globals.frontendLocalState.setVidTimestamp(timestamp); 58 globals.frontendLocalState.setHoveredNoteTimestamp(-1); 74 const timeScale = globals.frontendLocalState.timeScale; 75 const range = globals.frontendLocalState.visibleWindowTime; 133 if (aNoteIsHovered) globals.frontendLocalState.setHoveredNoteTimestamp(-1); 139 globals.frontendLocalState.setHoveredNoteTimestamp(timestamp); 155 if (x >= globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) { 178 globals.frontendLocalState.timeScale.startPx + TRACK_SHELL_WIDTH) - 209 const timeScale = globals.frontendLocalState.timeScale; [all …]
|
D | keyboard_event_handler.ts | 30 const selectedArea = globals.frontendLocalState.selectedArea.area; 35 globals.frontendLocalState.toggleLockArea(); 49 if (globals.frontendLocalState.vidTimestamp < 0) { 50 globals.frontendLocalState.setVidTimestamp(Number.MAX_SAFE_INTEGER); 52 globals.frontendLocalState.setVidTimestamp(Number.MIN_SAFE_INTEGER); 56 globals.frontendLocalState.toggleSidebar(); 96 globals.frontendLocalState.selectArea(range.startTs, range.endTs, tracks);
|
D | topbar.ts | 108 const state = globals.frontendLocalState; 116 globals.frontendLocalState.setOmnibox( 119 globals.frontendLocalState.setSearchIndex(-1); 124 value: globals.frontendLocalState.omnibox, 193 if (!globals.frontendLocalState.newVersionAvailable) return; 207 globals.frontendLocalState.newVersionAvailable = false; 220 if (dismissed === 'true' || !globals.frontendLocalState.showPanningHint) { 231 globals.frontendLocalState.showPanningHint = false; 245 globals.frontendLocalState.newVersionAvailable ?
|
D | track_group_panel.ts | 81 const searchIndex = globals.frontendLocalState.searchIndex; 84 .trackIds[globals.frontendLocalState.searchIndex]; 91 const selectedArea = globals.frontendLocalState.selectedArea.area; 130 globals.frontendLocalState.toggleTrackSelection( 153 const localState = globals.frontendLocalState; 178 globals.frontendLocalState.timeScale, 179 globals.frontendLocalState.visibleWindowTime, 190 const localState = globals.frontendLocalState; 209 !globals.frontendLocalState.selectingArea) {
|
D | time_selection_panel.ts | 123 const range = globals.frontendLocalState.visibleWindowTime; 124 const timeScale = globals.frontendLocalState.timeScale; 132 const selectedArea = globals.frontendLocalState.selectedArea.area; 137 } else if (globals.frontendLocalState.hoveredLogsTimestamp !== -1) { 139 ctx, size, globals.frontendLocalState.hoveredLogsTimestamp); 144 const timeScale = globals.frontendLocalState.timeScale; 153 const timeScale = globals.frontendLocalState.timeScale;
|
D | details_panel.ts | 111 if (globals.frontendLocalState.currentTab === key || 112 globals.frontendLocalState.currentTab === undefined && 123 globals.frontendLocalState.currentTab = key; 236 const panel = globals.frontendLocalState.currentTab && 237 detailsPanels.has(globals.frontendLocalState.currentTab) ? 238 detailsPanels.get(globals.frontendLocalState.currentTab) :
|
D | video_panel.ts | 30 currentTime: globals.frontendLocalState.vidTimestamp - offset, 39 globals.frontendLocalState.setVidTimestamp(timestamp); 45 elem.currentTime = globals.frontendLocalState.vidTimestamp - offset;
|
D | track.ts | 74 globals.frontendLocalState.addVisibleTrack(this.trackState.id); 76 const {visibleWindowTime, timeScale} = globals.frontendLocalState; 101 const endPx = globals.frontendLocalState.timeScale.endPx;
|
D | sidebar.ts | 309 globals.frontendLocalState.localOnlyMode = false; 323 globals.frontendLocalState.localOnlyMode = false; 438 if (globals.frontendLocalState.localOnlyMode) return true; 513 if (globals.frontendLocalState.httpRpcState.connected && 616 onclick: () => globals.frontendLocalState.togglePerfDebug(), 732 class: globals.frontendLocalState.sidebarVisible ? 'show-sidebar' : 744 globals.frontendLocalState.toggleSidebar(); 749 title: globals.frontendLocalState.sidebarVisible ?
|
D | globals.ts | 168 get frontendLocalState() { 276 const resolution = this.frontendLocalState.timeScale.deltaPxToDuration(1); 282 globals.frontendLocalState.searchIndex = -1; 283 globals.frontendLocalState.currentTab =
|
D | time_axis_panel.ts | 30 const timeScale = globals.frontendLocalState.timeScale; 31 const range = globals.frontendLocalState.visibleWindowTime;
|
D | logs_panel.ts | 84 globals.frontendLocalState.setHoveredLogsTimestamp(ts); 88 globals.frontendLocalState.setHoveredLogsTimestamp(-1); 97 const vis = globals.frontendLocalState.visibleWindowTime;
|
D | perf.ts | 24 export const perfDebug = () => globals.frontendLocalState.perfDebug; 116 onclick: () => globals.frontendLocalState.togglePerfDebug(),
|
D | tickmark_panel.ts | 30 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 56 const index = globals.frontendLocalState.searchIndex;
|
/external/perfetto/ui/src/tracks/process_scheduling/ |
D | frontend.ts | 56 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 79 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 106 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 128 const isHovering = globals.frontendLocalState.hoveredUtid !== -1; 129 const isThreadHovered = globals.frontendLocalState.hoveredUtid === utid; 130 const isProcessHovered = globals.frontendLocalState.hoveredPid === pid; 167 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1); 173 const {timeScale} = globals.frontendLocalState; 179 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1); 187 globals.frontendLocalState.setHoveredUtidAndPid(utid, pid); [all …]
|
/external/perfetto/ui/src/tracks/cpu_slices/ |
D | frontend.ts | 61 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 84 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 110 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 146 const isHovering = globals.frontendLocalState.hoveredUtid !== -1; 147 const isThreadHovered = globals.frontendLocalState.hoveredUtid === utid; 148 const isProcessHovered = globals.frontendLocalState.hoveredPid === pid; 258 const {timeScale} = globals.frontendLocalState; 261 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1); 279 globals.frontendLocalState.setHoveredUtidAndPid(hoveredUtid, hoveredPid); 284 globals.frontendLocalState.setHoveredUtidAndPid(-1, -1); [all …]
|
/external/perfetto/ui/src/tracks/cpu_profile/ |
D | frontend.ts | 53 } = globals.frontendLocalState; 95 const {timeScale} = globals.frontendLocalState; 109 const {timeScale} = globals.frontendLocalState;
|
/external/perfetto/ui/src/tracks/heap_profile/ |
D | frontend.ts | 55 } = globals.frontendLocalState; 98 const {timeScale} = globals.frontendLocalState; 112 const {timeScale} = globals.frontendLocalState;
|
/external/perfetto/ui/src/tracks/gpu_freq/ |
D | frontend.ts | 51 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 79 if (globals.frontendLocalState.hoveredUtid !== -1) { 166 const {timeScale} = globals.frontendLocalState;
|
/external/perfetto/ui/src/tracks/process_summary/ |
D | frontend.ts | 48 const {timeScale, visibleWindowTime} = globals.frontendLocalState; 65 const {timeScale, visibleWindowTime} = globals.frontendLocalState;
|
12