Home
last modified time | relevance | path

Searched refs:canvas (Results 1 – 25 of 134) sorted by relevance

123456

/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerThread.test.ts37 const canvas = document.createElement('canvas'); constant
38 canvas.width = 3;
39 canvas.height = 3;
40 const ctx = canvas.getContext('2d');
56 const canvas = document.createElement('canvas'); constant
57 canvas.width = 4;
58 canvas.height = 4;
59 const ctx = canvas.getContext('2d');
76 const canvas = document.createElement('canvas'); constant
77 canvas.width = 5;
[all …]
DProcedureWorkerFPS.test.ts27 const canvas = document.createElement('canvas'); constant
28 canvas.width = 1;
29 canvas.height = 1;
30 const ctx = canvas.getContext('2d');
59 const canvas = document.createElement('canvas'); constant
60 canvas.width = 8;
61 canvas.height = 8;
62 const ctx = canvas.getContext('2d');
79 const canvas = document.createElement('canvas'); constant
80 canvas.width = 1;
[all …]
DProcedureWorkerFreq.test.ts29 const canvas = document.createElement('canvas'); constant
30 canvas.width = 10;
31 canvas.height = 10;
32 const ctx = canvas.getContext('2d');
48 const canvas = document.createElement('canvas'); constant
49 canvas.width = 1;
50 canvas.height = 1;
51 const ctx = canvas.getContext('2d');
65 let canvas = document.createElement('canvas') as HTMLCanvasElement; variable
66 let context = canvas.getContext('2d');
DProcedureWorkerTimeline.test.ts51 const canvas = document.createElement('canvas'); constant
52 canvas.width = 1;
53 canvas.height = 1;
54 const ctx = canvas.getContext('2d');
56 let sportRuler = new SportRuler(canvas, ctx, rect);
67 const canvas = document.createElement('canvas'); constant
68 canvas.width = 2;
69 canvas.height = 1;
70 const ctx = canvas.getContext('2d');
73 canvas,
[all …]
DProcedureWorkerIrq.test.ts25 const canvas = document.createElement('canvas'); constant
26 canvas.width = 4;
27 canvas.height = 4;
28 const ctx = canvas.getContext('2d');
47 const canvas = document.createElement('canvas'); constant
48 canvas.width = 1;
49 canvas.height = 1;
50 const ctx = canvas.getContext('2d');
DProcedureWorkerCommon.test.ts211 const canvas = document.createElement('canvas'); constant
212 canvas.width = 1;
213 canvas.height = 1;
214 const ctx = canvas.getContext('2d');
221 const canvas = document.createElement('canvas'); constant
222 canvas.width = 1;
223 canvas.height = 1;
224 const ctx = canvas.getContext('2d');
265 const canvas = document.createElement('canvas'); constant
266 canvas.width = 1;
[all …]
DProcedureWorkerHeap.test.ts77 const canvas = document.createElement('canvas'); constant
78 canvas.width = 11;
79 canvas.height = 12;
80 const ctx = canvas.getContext('2d');
95 const canvas = document.createElement('canvas'); constant
96 canvas.width = 11;
97 canvas.height = 11;
98 const ctx = canvas.getContext('2d');
131 canvas: 'canvas',
162 const canvas = document.createElement('canvas'); constant
[all …]
DProcedureWorkerCpuFreqLimits.test.ts43 const canvas = document.createElement('canvas'); constant
44 canvas.width = 15;
45 canvas.height = 15;
46 const ctx = canvas.getContext('2d');
65 const canvas = document.createElement('canvas'); constant
66 canvas.width = 1;
67 canvas.height = 1;
68 const ctx = canvas.getContext('2d');
106 canvas: 'a',
135 let canvas = document.createElement('canvas') as HTMLCanvasElement; variable
[all …]
DProcedureWorkerHeapSnapshot.test.ts32 const canvas = document.createElement('canvas'); constant
33 canvas.width = 1;
34 canvas.height = 1;
35 const ctx = canvas.getContext('2d');
89 const canvas = document.createElement('canvas'); constant
90 canvas.width = 1;
91 canvas.height = 1;
92 const ctx = canvas.getContext('2d');
120 let canvas = document.createElement('canvas') as HTMLCanvasElement; variable
121 let context = canvas.getContext('2d');
DProcedureWorkerEnergySystem.test.ts69 const canvas = document.createElement('canvas'); constant
70 canvas.width = 1;
71 canvas.height = 1;
72 const ctx = canvas.getContext('2d');
87 const canvas = document.createElement('canvas'); constant
88 canvas.width = 1;
89 canvas.height = 1;
90 const ctx = canvas.getContext('2d');
105 const canvas = document.createElement('canvas'); constant
106 canvas.width = 1;
[all …]
DProcedureWorkerHiPerfCPU.test.ts48 const canvas = document.createElement('canvas'); constant
49 canvas.width = 1;
50 canvas.height = 4;
51 const ctx = canvas.getContext('2d');
56 const canvas = document.createElement('canvas'); constant
57 canvas.width = 1;
58 canvas.height = 1;
59 const ctx = canvas.getContext('2d');
85 canvas: 'a',
DProcedureWorkerClock.test.ts27 const canvas = document.createElement('canvas'); constant
28 canvas.width = 12;
29 canvas.height = 12;
30 const ctx = canvas.getContext('2d');
48 let canvas = document.createElement('canvas') as HTMLCanvasElement; variable
49 let context = canvas.getContext('2d');
DProcedureWorkerSoInit.test.ts31 const canvas = document.createElement('canvas'); constant
32 canvas.width = 1;
33 canvas.height = 1;
34 const ctx = canvas.getContext('2d');
83 const canvas = document.createElement('canvas'); constant
84 canvas.width = 1;
85 canvas.height = 1;
86 const ctx = canvas.getContext('2d');
DProcedureWorkerAppStartup.test.ts48 const canvas = document.createElement('canvas'); constant
49 canvas.width = 1;
50 canvas.height = 1;
51 const ctx = canvas.getContext('2d');
62 let canvas = document.createElement('canvas') as HTMLCanvasElement; variable
63 let context = canvas.getContext('2d');
DProcedureWorkerCpuProfiler.test.ts35 const canvas = document.createElement('canvas'); constant
36 canvas.width = 1;
37 canvas.height = 1;
38 const ctx = canvas.getContext('2d');
93 const canvas = document.createElement('canvas'); constant
94 canvas.width = 1;
95 canvas.height = 1;
96 const ctx = canvas.getContext('2d');
DProcedureWorkerNetworkAbility.test.ts30 const canvas = document.createElement('canvas'); constant
31 canvas.width = 1;
32 canvas.height = 1;
33 const ctx = canvas.getContext('2d');
80 canvas: '',
105 let canvas = document.createElement('canvas') as HTMLCanvasElement; variable
106 let context = canvas.getContext('2d');
DProcedureWorkerFunc.test.ts72 const canvas = document.createElement('canvas'); constant
73 canvas.width = 9;
74 canvas.height = 9;
75 const ctx = canvas.getContext('2d');
93 const canvas = document.createElement('canvas'); constant
94 canvas.width = 1;
95 canvas.height = 1;
96 const ctx = canvas.getContext('2d');
144 canvas: '',
DProcedureWorkerCPU.test.ts52 const canvas = document.createElement('canvas'); constant
53 canvas.width = 13;
54 canvas.height = 13;
55 const ctx = canvas.getContext('2d');
79 const canvas = document.createElement('canvas'); constant
80 canvas.width = 1;
81 canvas.height = 1;
82 const ctx = canvas.getContext('2d');
218 canvas: '',
264 canvas: 'a',
[all …]
DProcedureWorkerCpuAbility.test.ts31 const canvas = document.createElement('canvas'); constant
32 canvas.width = 14;
33 canvas.height = 11;
34 const ctx = canvas.getContext('2d');
109 canvas: '',
134 let canvas = document.createElement('canvas') as HTMLCanvasElement; variable
135 let context = canvas.getContext('2d');
/developtools/smartperf_host/ide/src/trace/component/chart/
DFrameChart.ts42 private canvas: HTMLCanvasElement | undefined | null; property in FrameChart
132 this.rect.width = this.canvas!.width;
134 this.canvas!.style.height = this.rect!.height + 'px';
135 this.canvas!.height = Math.ceil(this.rect!.height);
218 if (x + width >= 0 && x < this.canvas!.width) {
242 if (x + width >= 0 && x < this.canvas!.width) {
266 if (x + width >= 0 && x < this.canvas!.width) {
288 if (x > this.canvas!.width) x = this.canvas!.width - sideLength;
301 this.canvasContext?.clearRect(0, 0, this.canvas!.width, this.canvas!.height);
308 if (this.canvas instanceof HTMLCanvasElement) {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/chart/
DFrameChart.ts42 private canvas: HTMLCanvasElement | undefined | null; property in FrameChart
132 this.rect.width = this.canvas!.width;
134 this.canvas!.style.height = this.rect!.height + 'px';
135 this.canvas!.height = Math.ceil(this.rect!.height);
218 if (x + width >= 0 && x < this.canvas!.width) {
242 if (x + width >= 0 && x < this.canvas!.width) {
266 if (x + width >= 0 && x < this.canvas!.width) {
288 if (x > this.canvas!.width) x = this.canvas!.width - sideLength;
301 this.canvasContext?.clearRect(0, 0, this.canvas!.width, this.canvas!.height);
308 if (this.canvas instanceof HTMLCanvasElement) {
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/
DTimerShaftElement.ts103 public canvas: HTMLCanvasElement | null | undefined; property in TimerShaftElement
197 this.rangeRuler.rangeRect = new Rect(0, 25, this.canvas?.clientWidth || 0, 75);
207 this.canvas = this.shadowRoot?.querySelector('.panel');
221 if (this.canvas) {
224 this.offscreen = this.canvas.transferControlToOffscreen();
227 this.ctx = this.canvas?.getContext('2d', { alpha: true });
233 const width = this.canvas?.clientWidth || 0;
234 const height = this.canvas?.clientHeight || 0;
264 endX: this.canvas?.clientWidth || 0,
301 this.canvas!.width = width - (this.totalEL?.clientWidth || 0);
[all …]
/developtools/profiler/host/smartperf/ide/src/trace/component/trace/timer-shaft/
DGraph.ts21 canvas: HTMLCanvasElement | undefined | null; property in Graph
23 …protected constructor(canvas: HTMLCanvasElement | undefined | null, c: CanvasRenderingContext2D, f…
24 this.canvas = canvas;
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DGraph.ts21 canvas: HTMLCanvasElement | undefined | null; property in Graph
23 …protected constructor(canvas: HTMLCanvasElement | undefined | null, c: CanvasRenderingContext2D, f…
24 this.canvas = canvas;
/developtools/smartperf_host/ide/test/trace/bean/
DProcessMemStruct.test.ts20 const canvas = document.createElement('canvas'); constant
21 canvas.width = 2;
22 canvas.height = 3;
23 const ctx = canvas.getContext('2d');

123456