/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/ |
D | Rect.ts | 18 y: number = 0; property in Rect 22 constructor(x: number, y: number, width: number, height: number) { 24 this.y = y; 29 static contains(rectObj: Rect, x: number, y: number): boolean { 30 …return rectObj.x <= x && x <= rectObj.x + rectObj.width && rectObj.y <= y && y <= rectObj.y + rect… 36 y: number, 43 rectObj.y + paddingTopBottom <= y && 44 y <= rectObj.y + rectObj.height - paddingTopBottom 48 …static containsWithMargin(rectObj: Rect, x: number, y: number, t: number, r: number, b: number, l:… 52 rectObj.y - t <= y && [all …]
|
/developtools/smartperf_host/ide/src/trace/database/ui-worker/ |
D | ProcedureWorkerCommon.ts | 114 y: number, 121 … frame.x - offsetX && x <= frame.x + frame.width + offsetX && y >= frame.y && y <= frame.y + frame… 124 … return x >= frame.x && x <= frame.x + frame.width && y >= frame.y && y <= frame.y + frame.height; 171 let y = condition.frame.y + condition.paddingTop; 183 it.frame.y = y; 207 let y = condition.frame.y + condition.paddingTop; 222 it.frame.y = y; 304 let y = condition.frame.y + condition.paddingTop; 311 item.frame.y = y; 453 y: number = 0; property in Rect [all …]
|
/developtools/smartperf_host/ide/test/trace/database/ui-worker/ |
D | ProcedureWorkerHiPerfReport.test.ts | 32 y: 95, 40 frame: { x: 50, y: 9, width: 105, height: 150 }, 47 frame: { x: 60, y: 99, width: 610, height: 16 }, 57 y: 39, 65 frame: { x: 10, y: 91, width: 110, height: 310 }, 70 frame: { x: 30, y: 4, width: 130, height: 103 }, 77 frame: { x: 23, y: 32, width: 130, height: 32 }, 86 y: 97, 94 frame: { x: 4, y: 93, width: 350, height: 130 }, 99 frame: { x: 50, y: 95, width: 50, height: 640 }, [all …]
|
D | ProcedureWorkerCpuState.test.ts | 34 y: 40, 46 y: 28, 57 y: 22, 69 y: 50, 82 y: 20, 93 y: 20, 107 frame: { x: 0, y: 54, width: 30, height: 350 }, 114 y: 67, 126 y: 23, 140 frame: { x: 20, y: 45, width: 50, height: 150 }, [all …]
|
D | ProcedureWorkerEnergySystem.test.ts | 30 y: 20, 39 frame: { x: 0, y: 9, width: 10, height: 10 }, 48 y: 20, 58 frame: { x: 0, y: 9, width: 10, height: 10 }, 77 y: 20, 95 y: 20, 113 y: 20, 125 y: 30, 138 y: 20, 149 y: 20, [all …]
|
D | ProcedureWorkerEBPF.test.ts | 31 y: 20, 40 y: 20, 51 y: 24, 58 frame: { x: 40, y: 59, width: 140, height: 142 }, 67 y: 21, 75 frame: { x: 10, y: 91, width: 40, height: 540 }, 85 y: 24, 97 y: 21, 108 y: 20, 120 y: 2, [all …]
|
D | ProcedureWorkerJank.test.ts | 27 y: 20, 60 y: 120, 98 y: 10, 109 y: 120, 117 y: 75, 134 y: 80, 145 y: 980, 153 y: 50, 169 y: 20, 219 y: 10, [all …]
|
D | ProcedureWorkerCPU.test.ts | 37 y: 130, 54 y: 205, 81 y: 202, 97 y: 20, 108 y: 20, 116 y: 20, 134 y: 201, 145 y: 69, 153 y: 42, 169 y: 87, [all …]
|
D | ProduceWorkerSdkCounter.test.ts | 35 y: 33, 49 y: 25, 64 y: 32, 78 y: 20, 91 y: 20, 111 y: 13, 120 y: 20, 133 y: 50, 142 y: 20, 159 y: 20, [all …]
|
D | ProcedureWorkerMem.test.ts | 27 y: 9, 35 frame: { x: 0, y: 12, width: 14, height: 120 }, 40 frame: { x: 0, y: 3, width: 30, height: 30 }, 49 y: 9, 57 frame: { x: 0, y: 44, width: 144, height: 40 }, 62 frame: { x: 0, y: 49, width: 130, height: 3 }, 77 y: 207, 97 y: 210, 128 y: 66,
|
D | ProcedureWorkerProcess.test.ts | 40 y: 92, 51 frame: { x: 0, y: 9, width: 10, height: 10 }, 63 frame: { x: 32, y: 3, width: 10, height: 120 }, 68 frame: { x: 30, y: 93, width: 20, height: 10 }, 78 y: 20, 89 y: 120, 100 y: 20, 111 y: 40,
|
D | ProcedureWorkerEnergyAnomaly.test.ts | 37 y: 20, 46 frame: {x: 0, y: 29, width: 22, height: 101}, 55 y: 32, 64 frame: {x: 0, y: 19, width: 32, height: 102}, 79 y: 207, 92 y: 50, 104 y: 22, 115 y: 20, 127 y: 20, 144 y: 30, [all …]
|
D | ProcedureWorkerHeap.test.ts | 36 frame: { x: 0, y: 19, width: 20, height: 10 }, 56 frame: { x: 60, y: 9, width: 10, height: 10 }, 61 frame: { x: 0, y: 19, width: 110, height: 130 }, 84 y: 250, 102 y: 205, 122 y: 20, 153 y: 20, 158 let frame = { x: 0, y: 9, width: 10, height: 10 }; 170 y: 20, 180 y: 20,
|
D | ProcedureWorkerEnergyPower.test.ts | 55 y: 20, 73 y: 20, 81 y: 20, 92 y: 20, 100 y: 20, 151 y: 33, 160 frame: {x: 0, y: 9, width: 20, height: 12}, 169 y: 90, 178 frame: {x: 0, y: 9, width: 60, height: 60}, 193 y: 11, [all …]
|
/developtools/smartperf_host/ide/src/base-ui/chart/pie/ |
D | LitChartPie.ts | 24 y: number; property 263 let y = ev.pageY - rect.top - this.centerY!; variable 264 if (isPointIsCircle(0, 0, x, y, this.radius!)) { 265 let degree = this.computeDegree(x, y); 315 let y = ev.pageY - rect.top - this.centerY!; variable 316 if (isPointIsCircle(0, 0, x, y, this.radius!)) { 317 let degree = this.computeDegree(x, y); 339 computeDegree(x: number, y: number): number { 340 let degree = (360 * Math.atan(y / x)) / (2 * Math.PI); 341 if (x >= 0 && y >= 0) { [all …]
|
/developtools/smartperf_host/ide/src/base-ui/chart/column/ |
D | LitChartColumn.ts | 29 y: number; 35 y: number; 50 y: number; property 59 offset?: { x: number | undefined; y: number | undefined }; 69 this.offset = { x: 60, y: 20 }; 78 let y = ev.pageY - rect.top; variable 80 if (contains(it.bgFrame!, x, y)) { 96 this.tipTypeShow(x, y, pillars, innerHtml); 102 this.tipTypeShow(x, y, pillars, innerHtml); 113 private tipTypeShow(x: number, y: number, pillars: Pillar[], innerHtml: string): void { [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/ |
D | BaseEntry.ets | 19 /** the y value */ 20 private y: number = 0; 26 constructor(y?: number, icon?: ImagePaint, data?: Object) { 27 if (y != undefined) { 28 this.y = y; 38 * Returns the y value of this Entry. 43 return this.y; 65 * Sets the y-value for the Entry. 67 * @param y 69 public setY(y: number): void { [all …]
|
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/ |
D | MPPointF.ets | 22 public y: number; 24 public constructor(x?: number, y?: number) { 27 this.y = y; 30 public static getInstance(x?: number, y?: number, copy?: MPPointF): MPPointF { 34 result.y = copy.y; 37 if (x != null && y != null) { 40 result.y = y; 59 return this.y;
|
D | MPPointD.ets | 24 public static getInstance(x: number, y: number): MPPointD { 27 result.y = y; 40 public y: number; 42 private constructor(x: number, y: number) { 45 this.y = y; 50 return 'MPPointD, x: ' + this.x + ', y: ' + this.y;
|
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/bpftrace/ |
D | TabPaneSampleInstructionDistributions.ts | 189 let y = this.canvasY - this.canvasScrollTop; variable 197 y -= this.floatHint!.clientHeight - 1; 198 this.floatHint!.style.transform = `translate(${x}px, ${y}px)`; 230 isContains(point: unknown, x: number, y: number): boolean { 232 return x >= point.x && x <= point.x + 2 && point.y <= y && y <= point.y + point.height; 302 y: height - paddingBottom - barHeight, 345 drawLine(x: number, y: number, X: number, Y: number) { 347 this.ctx!.moveTo(x, y); 362 let y = height - paddingBottom; variable 374 this.drawLine(serrateX, y, serrateX, y + 5); [all …]
|
D | TabPaneSampleInstructionSelectionTotalTime.ts | 183 let y = this.canvasY - this.canvasScrollTop; 191 y -= this.floatHint!.clientHeight - 1; 192 this.floatHint!.style.transform = `translate(${x}px, ${y}px)`; 218 isContains(point: unknown, x: number, y: number): boolean { 220 return x >= point.x && x <= point.x + 2 && point.y <= y && y <= point.y + point.height; 279 y: height - paddingBottom - barHeight, 318 drawLine(x: number, y: number, X: number, Y: number) { 320 this.ctx!.moveTo(x, y); 359 const y = height - paddingBottom - i * yPadding; constant 361 this.ctx!.fillText(`${i}%`, 30, y); [all …]
|
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/ |
D | simple_excel_writer.py | 64 x, y = self.__sheet_pos.get(sheet_name) 66 sheet.write(x, y, ele, style=self.__content_style) 67 y = self.__increment_y(sheet_name) 87 x, y = self.__sheet_pos.get(sheet_name) 88 if x != 0 or y != 0: 94 sheet.write(x, y, h, self.__head_style) 95 y = self.__increment_y(sheet_name) 112 x, y = self.__sheet_pos.get(sheet_name) 113 y = y + value 114 self.__sheet_pos[sheet_name] = (x, y) [all …]
|
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/ |
D | simple_excel_writer.py | 66 x, y = self.__sheet_pos.get(sheet_name) 68 sheet.write(x, y, ele, style=self.__content_style) 69 y = self.__increment_y(sheet_name) 89 x, y = self.__sheet_pos.get(sheet_name) 90 if x != 0 or y != 0: 96 sheet.write(x, y, h, self.__head_style) 97 y = self.__increment_y(sheet_name) 114 x, y = self.__sheet_pos.get(sheet_name) 115 y = y + value 116 self.__sheet_pos[sheet_name] = (x, y) [all …]
|
/developtools/smartperf_host/ide/src/base-ui/chart/scatter/ |
D | LitChartScatter.ts | 199 let y: number = this.originY - (data[i][j][1] / yAxis[yAxis.length - 1]) * yLength; 204 y, 212 y, 218 this.drawCycle(x, y, r, 0.8, colorPool[i]); 230 drawCycle(x: number, y: number, r: number, transparency: number, color: string): void { 234 this.ctx?.arc(x, y, r, 0, Math.PI * 2, true); 253 let y: number = this.originY; 257 this.ctx?.moveTo(addr1, y); 258 y -= addr2; 259 this.ctx?.lineTo(addr1, y); [all …]
|
/developtools/smartperf_host/ide/test/trace/component/trace/sheet/sample/ |
D | TabPaneSampleInstructionSelectionTotalTime.test.ts | 124 y: 40, 143 y: 40, 162 y: 40, 181 y: 60, 201 y: 60, 220 y: 60, 242 y: 20, 256 y: 30, 293 y: 183.23000000000002, 300 y: 183.23000000000002, [all …]
|