Home
last modified time | relevance | path

Searched refs:startX (Results 1 – 23 of 23) sorted by relevance

/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DSportRuler.ts37 startX: number; property in SlicesTime
48 startX: number,
60 this.startX = startX;
239 …let startX = ns2x(range?.startNS || 0, this.range.startNS, this.range.endNS, this.range.totalNS, t…
241 let lineWidth = endX - startX;
243 this.context2D.moveTo(startX, this.frame.y + 22);
245 this.context2D.moveTo(startX, this.frame.y + 22 - 5);
246 this.context2D.lineTo(startX, this.frame.y + 22 + 5);
251 this.context2D.fillText(`${txt}`, startX + (lineWidth - textWidth) / 2, this.frame.y + 20);
254 this.context2D.fillText(`${txt}`, startX - 5 - textWidth, this.frame.y + 20);
[all …]
DRangeRuler.ts76 startX: number; property
143 new Rect(range.startX, frame.y, 1, frame.height)
151 this.rangeRect = new Rect(range.startX, frame.y, range.endX - range.startX, frame.height);
215 this.range.startX = this.rangeRect.x;
217 … this.range.startNS = (this.range.startX * this.range.totalNS) / (this.canvas?.clientWidth || 0);
510 this.range.startX = (this.range.startNS * (this.canvas?.clientWidth || 0)) / this.range.totalNS;
512 this.markAObj.frame.x = this.range.startX;
650 let startX = midX - 150; variable
652 this.range.startNS = (endX * startTime - startX * endTime) / (endX - startX);
/developtools/smartperf_host/ide/src/trace/component/setting/
DSpWebHdcShell.ts161 let startX = this.points!.startX!;
183 … line.slice(this.getCurrentLineBackSize(line, startX - x, true)) + (endX < x + w ? '\n' : '');
186 this.getCurrentLineBackSize(line, startX - x, true),
200 forwardSelected(startX: number, startY: number, endX: number, endY: number): void {
208 this.shellCanvasCtx!.fillRect(startX, startY, endX - startX, endY - startY);
209 startPointX = startX;
218 … this.shellCanvasCtx!.fillRect(startX, startY, this.shellCanvas!.width - startX, index * 16);
219 startPointX = startX;
242 this.points = { startX: startPointX, startY: startPointY, endX: endPointX, endY: endPointY };
264 reverseSelected(startX: number, startY: number, endX: number, endY: number): void {
[all …]
/developtools/smartperf_host/ide/src/trace/component/trace/base/
DRangeSelect.ts323 …let startX = Math.min(this.startPageX, this.endPageX) - it.describeEl!.getBoundingClientRect().rig…
325 if (startX <= 0) {
326 startX = 0;
331 rangeSelect.startX = startX;
333 rangeSelect.startNS = RangeSelect.SetNS(it, startX);
369 let startX = markA < markB ? markA : markB;
371 rangeSelect.startX = startX;
373 rangeSelect.startNS = RangeSelect.SetNS(it, startX);
381 if (startX < 0) {
DTraceRow.ts37 startX: number | undefined; property in RangeSelectStruct
1367 TraceRow.rangeSelectObject!.startX = Math.floor(
1389 TraceRow.rangeSelectObject!.startX!, // @ts-ignore
1391 TraceRow.rangeSelectObject!.endX! - TraceRow.rangeSelectObject!.startX!, // @ts-ignore
/developtools/smartperf_host/ide/test/trace/component/trace/timer-shaft/
DSportRuler.test.ts101 startX: 0,
110 startX: 32,
141 startX: 6,
316 sportRuler.drawSlicesMarks({startTime: 11, endTime: 22, startX: 33, endX: 44, color: '#fff'});
DRangeRuler.test.ts60 startX: 10,
/developtools/smartperf_host/ide/test/trace/database/ui-worker/
DProcedureWorkerTimeline.test.ts80 startX: 10,
120 startX: 60,
DProcedureWorker.test.ts28 startX: '',
DProcedureWorkerCommon.test.ts290 startX: 31,
/developtools/smartperf_host/ide/src/trace/component/trace/sheet/bpftrace/
DTabPaneSampleInstructionDistributions.ts36 private startX = 0; // 画布相对于整个界面的x坐标
101 this.canvasX = e.clientX - this.startX;
126 this.startX = box.left + Math.max(D.scrollLeft, document.body.scrollLeft) - D.clientLeft;
405 …this.startX = box.left + Math.max(element.scrollLeft, document.body.scrollLeft) - element.clientLe…
DTabPaneSampleInstructionSelectionTotalTime.ts33 private startX = 0; // 画布相对于整个界面的x坐标 property in TabPaneSampleInstructionTotalTime
101 this.canvasX = e.clientX - this.startX;
120 this.startX = box.left + Math.max(D.scrollLeft, document.body.scrollLeft) - D.clientLeft;
378 …this.startX = box.left + Math.max(element.scrollLeft, document.body.scrollLeft) - element.clientLe…
DTabPaneSampleInstruction.ts36 private startX = 0; // 画布相对于整个界面的x坐标 property in TabPaneSampleInstruction
113 this.canvasX = e.clientX - this.startX;
323 this.startX = box.left + Math.max(D.scrollLeft, document.body.scrollLeft) - D.clientLeft;
456 …this.startX = box.left + Math.max(element.scrollLeft, document.body.scrollLeft) - element.clientLe…
DTabPaneSampleInstructionSelection.ts36 private startX = 0; // 画布相对于整个界面的x坐标 property in TabPaneSampleInstructionSelection
123 this.canvasX = e.clientX - this.startX;
346 this.startX = box.left + Math.max(D.scrollLeft, document.body.scrollLeft) - D.clientLeft;
488 …this.startX = box.left + Math.max(element.scrollLeft, document.body.scrollLeft) - element.clientLe…
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/listener/
DChartTouchListener.ets142 * @param startX
147 …protected static distance(eventX: number, startX: number, eventY: number, startY: number): number {
148 let dx: number = eventX - startX;
/developtools/smartperf_host/ide/src/trace/component/chart/
DFrameChart.ts54 private startX = 0; // 画布相对于整个界面的x坐标
426 this.startX = box.left + Math.max(D.scrollLeft, document.body.scrollLeft) - D.clientLeft;
441 let startX = Math.floor((this.canvas!.width / 10) * i); variable
444 const startItemX = startX + Math.floor((this.canvas!.width / 100) * j);
458 this.canvasContext?.moveTo(startX, 0);
459 this.canvasContext?.lineTo(startX, this.canvas!.height);
479 this.canvasContext?.fillText(calibration, startX - size - 5, depthHeight, textMaxWidth);
958 …this.startX = box.left + Math.max(element.scrollLeft, document.body.scrollLeft) - element.clientLe…
980 this.canvasX = e.clientX - this.startX;
/developtools/profiler/host/smartperf/client/client_command/
Dstartup_delay.cpp264 std::string startX = result[0]; in InitXY2() local
266 pointVector.push_back(startX); in InitXY2()
307 std::string startX = result[0]; in InitXY() local
309 pointVector.push_back(startX); in InitXY()
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerCommon.ts769 param.rangeSelectObject!.startX = Math.floor(
779 param.rangeSelectObject!.startX!,
781 param.rangeSelectObject!.endX! - param.rangeSelectObject!.startX!,
798 TraceRow.rangeSelectObject!.startX!,
800 TraceRow.rangeSelectObject!.endX! - TraceRow.rangeSelectObject!.startX!,
813 TraceRow.rangeSelectObject!.startX = Math.floor(
931 let startX = changeFrameRatePoint(rateList, selectParams)[0];
940 startX = startX <= 0 ? -100 : startX;
946startX = startX >= selectParams.frame.width ? selectParams.frame.width + ADD_DISTANCE : startX; //…
952 ctx.moveTo(startX, textY);
[all …]
/developtools/smartperf_host/ide/src/trace/component/
DSpSystemTrace.line.ts110 let startX = ns2xByTimeShaft(tts, sp.timerShaftEL!);
112 …const startPoint = setPoint(startX, startY, startOffSetY, tts, startRowEl, selectJankStruct.ts ===…
158 let startX = ns2xByTimeShaft(selectJankStruct.ts!, sp.timerShaftEL!);
160 …const startPoint = setPoint(startX, startY, startOffsetY, selectJankStruct.ts!, startRowEl, true, …
DSpSystemTrace.event.ts658 x > (TraceRow.rangeSelectObject?.startX || 0) &&
837 x > (TraceRow.rangeSelectObject?.startX || 0) &&
DSpSystemTrace.ts483 TraceRow.rangeSelectObject!.startX = Math.floor(
709 startX: 0,
1798 startX: 0,
/developtools/smartperf_host/ide/test/trace/bean/
DBoxSelection.test.ts394 startX: 100,
662 startX: 100,
/developtools/smartperf_host/ide/src/trace/component/trace/
DTimerShaftElement.ts396 startX: 0,