Lines Matching full:selection
52 const selection = globals.state.currentSelection; constant
53 if (!selection || selection.kind === 'AREA') return;
57 if (!selectWithId.includes(selection.kind) ||
58 (selectWithId.includes(selection.kind) &&
59 selection.id === this.lastSelectedId &&
60 selection.kind === this.lastSelectedKind)) {
63 const selectedId = selection.id;
64 const selectedKind = selection.kind;
70 if (selection.kind === 'COUNTER') {
72 this.counterDetails(selection.leftTs, selection.rightTs, selection.id)
74 if (results !== undefined && selection &&
75 selection.kind === selectedKind &&
76 selection.id === selectedId) {
81 } else if (selection.kind === 'SLICE') {
83 } else if (selection.kind === 'THREAD_STATE') {
84 this.threadStateDetails(selection.id);
85 } else if (selection.kind === 'CHROME_SLICE') {
86 this.chromeSliceDetails(selection);
90 async chromeSliceDetails(selection: ChromeSliceSelection) {
91 const selectedId = selection.id;
92 const table = selection.table;
179 // Check selection is still the same on completion of query.
180 if (selection === globals.state.currentSelection) {
261 const selection = globals.state.currentSelection; constant
263 if (slowlyCountRows(result) === 1 && selection) {
296 // Check selection is still the same on completion of query.
297 const selection = globals.state.currentSelection; constant
298 if (slowlyCountRows(result) === 1 && selection) {