Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 256) sorted by relevance

1234567891011

/developtools/profiler/host/smartperf/ide/src/trace/component/trace/timer-shaft/
DRect.ts18 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 …]
DSportRuler.ts153 this.c.clearRect(this.frame.x, this.frame.y, this.frame.width, this.frame.height + 1);
158 this.c.moveTo(this.frame.x, this.frame.y);
159 this.c.lineTo(this.frame.x + this.frame.width, this.frame.y);
165 this.c.moveTo(this.frame.x, this.frame.y);
166 this.c.lineTo(this.frame.x, this.frame.y + this.frame.height);
175 this.c.moveTo(item, this.frame.y);
176 this.c.lineTo(item, this.frame.y + this.frame.height);
177 this.c.fillText(`${this.range.xsTxt[index]}`, item + 3, this.frame.y + 12);
206 this.c.moveTo(start_X, this.frame.y + 22);
207 this.c.lineTo(endX, this.frame.y + 22);
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRect.ts18 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/profiler/host/smartperf/ide/src/trace/database/ui-worker/
DProcedureWorkerCommon.ts91 export function isFrameContainPoint(frame: Rect, x: number, y: number): boolean {
92 return x >= frame.x && x <= frame.x + frame.width && y >= frame.y && y <= frame.y + frame.height;
109 let y = condition.frame.y + condition.paddingTop;
119 filterData[i].frame.y = y;
165 let y = condition.frame.y + condition.paddingTop;
172 slice[i].frame.y = y;
278 y: number = 0;
281 constructor(x: number, y: number, width: number, height: number) {
283 this.y = y;
290 let minY = r1.y <= rect.y ? r1.y : rect.y;
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerCommon.ts91 export function isFrameContainPoint(frame: Rect, x: number, y: number): boolean {
92 return x >= frame.x && x <= frame.x + frame.width && y >= frame.y && y <= frame.y + frame.height;
126 let y = condition.frame.y + condition.paddingTop;
136 filterList[i].frame.y = y;
184 let y = condition.frame.y + condition.paddingTop;
191 slice[i].frame.y = y;
297 y: number = 0;
300 constructor(x: number, y: number, width: number, height: number) {
302 this.y = y;
309 let minY = r1.y <= rect.y ? r1.y : rect.y;
[all …]
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerHiPerfReport.test.ts34 y: 95,
42 frame: { x: 50, y: 9, width: 105, height: 150 },
49 frame: { x: 60, y: 99, width: 610, height: 16 },
59 y: 39,
67 frame: { x: 10, y: 91, width: 110, height: 310 },
72 frame: { x: 30, y: 4, width: 130, height: 103 },
79 frame: { x: 23, y: 32, width: 130, height: 32 },
88 y: 97,
96 frame: { x: 4, y: 93, width: 350, height: 130 },
101 frame: { x: 50, y: 95, width: 50, height: 640 },
[all …]
DProcedureWorkerCpuState.test.ts34 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 …]
DProcedureWorkerEnergySystem.test.ts31 y: 20,
40 frame: { x: 0, y: 9, width: 10, height: 10 },
49 y: 20,
59 frame: { x: 0, y: 9, width: 10, height: 10 },
78 y: 20,
96 y: 20,
114 y: 20,
126 y: 30,
139 y: 20,
150 y: 20,
[all …]
DProcedureWorkerEnergyAnomaly.test.ts31 y: 20,
40 frame: { x: 0, y: 29, width: 22, height: 101 },
49 y: 32,
58 frame: { x: 0, y: 19, width: 32, height: 102 },
73 y: 207,
86 y: 50,
98 y: 22,
109 y: 20,
121 y: 20,
138 y: 30,
[all …]
DProcedureWorkerCPU.test.ts43 y: 130,
60 y: 203,
87 y: 202,
103 y: 20,
114 y: 20,
122 y: 20,
140 y: 201,
151 y: 69,
159 y: 42,
175 y: 87,
[all …]
DProcedureWorkerJank.test.ts30 y: 20,
63 y: 120,
101 y: 10,
112 y: 120,
120 y: 75,
137 y: 80,
148 y: 980,
156 y: 50,
172 y: 20,
222 y: 10,
[all …]
DProcedureWorkerFileSystem.test.ts30 y: 20,
40 y: 20,
50 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,
DProcedureWorkerProcess.test.ts40 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,
128 y: 55,
159 y: 20,
DProduceWorkerSdkCounter.test.ts35 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 …]
DProcedureWorkerEnergyPower.test.ts49 y: 20,
63 y: 20,
71 y: 20,
82 y: 20,
90 y: 20,
148 y: 20,
182 y: 20,
193 y: 33,
202 frame: { x: 0, y: 9, width: 20, height: 12 },
211 y: 90,
[all …]
DProcedureWorkerMem.test.ts30 y: 9,
39 frame: { x: 0, y: 12, width: 14, height: 120 },
44 frame: { x: 0, y: 3, width: 30, height: 30 },
55 frame: { x: 0, y: 44, width: 144, height: 40 },
60 frame: { x: 0, y: 49, width: 130, height: 3 },
75 y: 207,
95 y: 210,
126 y: 66,
/developtools/profiler/host/smartperf/ide/src/base-ui/chart/pie/
DLitChartPie.ts24 y: number; property
177 let y = ev.pageY - rect.top - this.centerY!; variable
178 if (isPointIsCircle(0, 0, x, y, this.radius!)) {
179 let degree = this.computeDegree(x, y);
190 let y = ev.pageY - rect.top - this.centerY!; variable
191 if (isPointIsCircle(0, 0, x, y, this.radius!)) {
192 let degree = this.computeDegree(x, y);
227 computeDegree(x: number, y: number) {
228 let degree = (360 * Math.atan(y / x)) / (2 * Math.PI);
229 if (x >= 0 && y >= 0) {
[all …]
/developtools/smartperf_host/ide/src/base-ui/chart/pie/
DLitChartPie.ts24 y: number; property
181 let y = ev.pageY - rect.top - this.centerY!; variable
182 if (isPointIsCircle(0, 0, x, y, this.radius!)) {
183 let degree = this.computeDegree(x, y);
194 let y = ev.pageY - rect.top - this.centerY!; variable
195 if (isPointIsCircle(0, 0, x, y, this.radius!)) {
196 let degree = this.computeDegree(x, y);
231 computeDegree(x: number, y: number) {
232 let degree = (360 * Math.atan(y / x)) / (2 * Math.PI);
233 if (x >= 0 && y >= 0) {
[all …]
/developtools/profiler/host/smartperf/ide/src/base-ui/chart/column/
DLitChartColumn.ts29 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) {
[all …]
/developtools/smartperf_host/ide/src/base-ui/chart/column/
DLitChartColumn.ts29 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) {
[all …]
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DBaseEntry.ets19 /** 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/
DMPPointF.ets22 public y: number;
32 public constructor(x?: number, y?: number) {
35 this.y = y;
38 public static getInstance(x ?: number, y ?: number, copy ?: MPPointF): MPPointF{
42 result.y = copy.y;
45 if (x != null && y != null) {
48 result.y = y;
61 result.y = copy.y;
103 y = in.readFloat();
111 return this.y;
DMPPointD.ets28 public static getInstance(x: number, y: number): MPPointD{
31 result.y = y;
48 public y: number;
50 private constructor(x: number, y: number) {
53 this.y = y;
60 return "MPPointD, x: " + this.x + ", y: " + this.y;
/developtools/integration_verification/tools/rom_ram_analyzer/standard/pkgs/
Dsimple_excel_writer.py45 x, y = self.__sheet_pos.get(sheet_name)
46 y = y + value
47 self.__sheet_pos[sheet_name] = (x, y)
48 return y
52 x, y = self.__sheet_pos.get(sheet_name)
63 x, y = self.__sheet_pos.get(sheet_name)
65 sheet.write(x, y, ele, style=self.__content_style)
66 y = self.__increment_y(sheet_name)
86 x, y = self.__sheet_pos.get(sheet_name)
87 if x != 0 or y != 0:
[all …]
/developtools/integration_verification/tools/rom_ram_analyzer/lite_small/pkgs/
Dsimple_excel_writer.py62 x, y = self.__sheet_pos.get(sheet_name)
63 y = y + value
64 self.__sheet_pos[sheet_name] = (x, y)
65 return y
69 x, y = self.__sheet_pos.get(sheet_name)
80 x, y = self.__sheet_pos.get(sheet_name)
82 sheet.write(x, y, ele, style=self.__content_style)
83 y = self.__increment_y(sheet_name)
103 x, y = self.__sheet_pos.get(sheet_name)
104 if x != 0 or y != 0:
[all …]

1234567891011