Searched refs:pixelBounds (Results 1 – 5 of 5) sorted by relevance
/external/perfetto/ui/src/frontend/drag/ |
D | border_drag_strategy.ts | 21 constructor(timeScale: TimeScale, private pixelBounds: [number, number]) { property in BorderDragStrategy 27 this.timeScale.pxToTime(this.moveStart ? x : this.pixelBounds[0]); 29 this.timeScale.pxToTime(!this.moveStart ? x : this.pixelBounds[1]); 35 this.pixelBounds = 41 Math.abs(x - this.pixelBounds[0]) < Math.abs(x - this.pixelBounds[1]);
|
D | inner_drag_strategy.ts | 20 constructor(timeScale: TimeScale, private pixelBounds: [number, number]) { property in InnerDragStrategy 26 const tStart = this.timeScale.pxToTime(this.pixelBounds[0] + move); 27 const tEnd = this.timeScale.pxToTime(this.pixelBounds[1] + move);
|
/external/perfetto/ui/src/frontend/ |
D | overview_timeline_panel.ts | 184 const pixelBounds = OverviewTimelinePanel.extractBounds(this.timeScale); constant 185 if (OverviewTimelinePanel.inBorderRange(x, pixelBounds[0]) || 186 OverviewTimelinePanel.inBorderRange(x, pixelBounds[1])) { 187 this.dragStrategy = new BorderDragStrategy(this.timeScale, pixelBounds); 188 } else if (x < pixelBounds[0] || pixelBounds[1] < x) { 191 this.dragStrategy = new InnerDragStrategy(this.timeScale, pixelBounds);
|
/external/skia/src/gpu/ |
D | GrFixedClip.cpp | 18 SkIRect pixelBounds = GetPixelIBounds(drawBounds, aa); in preApply() local 19 if (!SkIRect::Intersects(fScissorState.rect(), pixelBounds)) { in preApply() 27 if (!fScissorState.enabled() || fScissorState.rect().contains(pixelBounds)) { in preApply()
|
D | GrClip.h | 85 SkIRect pixelBounds = GetPixelIBounds(drawBounds, aa); in preApply() local 86 bool outside = !SkIRect::Intersects(pixelBounds, this->getConservativeBounds()); in preApply() 248 SkIRect pixelBounds = GetPixelIBounds(*bounds, GrAA(aa != GrAAType::kNone)); in apply() local 249 Effect effect = this->apply(&out->hardClip(), &pixelBounds); in apply() 250 bounds->intersect(SkRect::Make(pixelBounds)); in apply()
|