Home
last modified time | relevance | path

Searched refs:maxX (Results 1 – 5 of 5) sorted by relevance

/developtools/smartperf_host/ide/src/trace/component/trace/timer-shaft/
DRect.ts58 let maxX = Math.max(rectA.x + rectA.width, rectB.x + rectB.width);
62 return maxX - minX < rectB.width + rectA.width && maxY - minY <= rectA.height + rectB.height;
66 let maxX = Math.max(rectA.x, rectB.x);
70 return new Rect(maxX, maxY, width, height);
95 …let maxX = this.x + this.width >= rectObj.x + rectObj.width ? this.x + this.width : rectObj.x + re…
99 return maxX - minX <= rectObj.width + this.width && maxY - minY <= this.height + rectObj.height;
DRangeRuler.ts335 let maxX = this.canvas?.clientWidth || 0; variable
344 this.handleMovingMark(move_x, move_y, maxX, trace);
345 this.handleMovingFresh(move_x, maxX);
348 private handleMovingFresh(move_x: number, maxX: number): void {
353 if (mA >= 0 && mA <= maxX) {
358 this.markAObj.frame.x = maxX;
361 if (mB >= 0 && mB <= maxX) {
366 this.markBObj.frame.x = maxX;
378 if (move_x >= 0 && move_x <= maxX) {
383 this.markBObj.frame.x = maxX;
[all …]
/developtools/smartperf_host/ide/src/trace/database/ui-worker/
DProcedureWorkerTimeline.ts569 movingRange(maxX: number, x: number): void {
573 if (mA >= 0 && mA <= maxX) {
578 this.markA.frame.x = maxX;
581 if (mB >= 0 && mB <= maxX) {
586 this.markB.frame.x = maxX;
599 movingNewRange(maxX: number, x: number): void {
602 if (x >= 0 && x <= maxX) {
607 this.markB.frame.x = maxX;
622 let maxX = this.frame.width || 0;
633 if (result >= 0 && result <= maxX) {
[all …]
DProcedureWorkerCommon.ts423 let maxX = r1.x + r1.width >= rect.x + rect.width ? r1.x + r1.width : rect.x + rect.width;
425 return maxX - minX <= rect.width + r1.width && maxY - minY <= r1.height + rect.height;
458 … let maxX = this.x + this.width >= rect.x + rect.width ? this.x + this.width : rect.x + rect.width;
460 return maxX - minX <= rect.width + this.width && maxY - minY <= this.height + rect.height;
/developtools/smartperf_host/ide/src/base-ui/chart/pie/
DLitChartPie.ts493 let maxX = r1.x + r1.w > rect.x + rect.w ? r1.x + r1.w : rect.x + rect.w; variable
497 cross = maxX - minX < rect.w + r1.w && maxY - minY < r1.h + rect.h;
498 crossW = Math.abs(maxX - minX - (rect.w + r1.w));