Home
last modified time | relevance | path

Searched refs:centerX (Results 1 – 8 of 8) sorted by relevance

/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/utils/
DMatrix.ets63 public postScale(scaleX: number, scaleY: number, centerX?: number, centerY?: number) {
68 if (centerX != null && centerX != undefined) {
69 this.data[Matrix.MTRANS_X] += -centerX;
76 public setScale(scaleX: number, scaleY: number, centerX?: number, centerY?: number) {
79 if (centerX != null && centerX != undefined) {
80 this.data[Matrix.MTRANS_X] += -centerX * scaleX;
DViewPortHandler.ets166 return MPPointF.getInstance(this.mContentRect.centerX(), this.mContentRect.centerY());
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/data/
DScaleMode.ets37 public centerX: number = 0; //双指缩放、双击的中心点X
55 this.centerX = 0;
73 this.centerX = 0;
104 this.centerX = 0;
124 this.centerX = event.x;
DRect.ets115 public centerX(): number {
/developtools/smartperf_host/ide/src/base-ui/chart/pie/
DLitChartPie.ts147 centerX: number | null | undefined; property in LitChartPie
183 this.centerX || 0,
262 let x = ev.pageX - rect.left - this.centerX!;
300 this.centerX = this.clientWidth / 2;
302 this.ctx?.translate(this.centerX, this.centerY);
314 let x = ev.pageX - rect.left - this.centerX!;
357 this.centerX = this.clientWidth / 2;
359 this.ctx?.translate(this.centerX, this.centerY);
407 this.ctx?.clearRect(0 - this.centerX!, 0 - this.centerY!, this.clientWidth, this.clientHeight);
/developtools/smartperf_host/ide/src/base-ui/chart/column/
DLitChartColumn.ts42 centerX?: number;
239 centerX: this.offset!.x! + partWidth * litChartColumnIndex + partWidth / 2,
279 centerX: this.offset!.x! + partWidth * reduceGroupIndex + partWidth / 2,
407 c.moveTo(it.centerX!, it.frame!.y + it.frame!.h!);
409 c.lineTo(it.centerX!, it.frame!.y + it.frame!.h + 4);
417 c.fillText(it.xLabel!, it.centerX! - xMetrics.width / 2, it.frame!.y + it.frame!.h + 15);
425 it.centerX! - yMetrics.width / 2,
/developtools/profiler/host/smartperf/client/client_ui/entry/src/main/ets/common/ui/detail/chart/components/
DPathView.ets224 this.currentXSpace = this.centerX * this.scaleX - this.centerX;
317 this.currentXSpace = this.centerX * this.scaleX - this.centerX;
/developtools/smartperf_host/ide/test/base-ui/chart/pie/
DLitChartPie.test.ts531 clo.centerX = 10;