Home
last modified time | relevance | path

Searched refs:mousePoint (Results 1 – 6 of 6) sorted by relevance

/development/tools/winscope/src/app/components/timeline/mini-timeline/drawer/
Dcanvas_mouse_handler_impl.ts83 const mousePoint = this.getPos(e); constant
85 const clickedObject = this.objectAt(mousePoint);
89 const trace = await this.drawer.getTraceClicked(mousePoint);
90 this.onUnhandledMouseDown(mousePoint, e.button, trace);
92 this.updateCursor(mousePoint);
98 const mousePoint = this.getPos(e); constant
103 onDragCallback(mousePoint.x, mousePoint.y);
106 this.drawer.updateHover(mousePoint);
109 this.updateCursor(mousePoint);
120 const mousePoint = this.getPos(e); constant
[all …]
Dmini_timeline_drawer_impl.ts66 mousePoint: Point,
73 let pointX = mousePoint.x;
75 if (mousePoint.y < this.getMarkerHeight()) {
78 const diff = mousePoint.x - bm;
80 }) ?? mousePoint.x;
207 async updateHover(mousePoint: Point | undefined) {
208 this.lastMousePoint = mousePoint;
212 async getTraceClicked(mousePoint: Point): Promise<Trace<object> | undefined> {
220 this.pointWithinTimeline(mousePoint.y, fromTop, fromTop + lineHeight)
Dmini_timeline_drawer.ts24 updateHover(mousePoint: Point | undefined): Promise<void>;
25 getTraceClicked(mousePoint: Point): Promise<Trace<object> | undefined>;
/development/tools/winscope/src/app/components/timeline/expanded-timeline/
Ddefault_timeline_row_component.ts72 override onHover(mousePoint: Point) {
73 this.drawEntryHover(mousePoint);
96 protected override getEntryAt(mousePoint: Point): TraceEntry<{}> | undefined {
97 const timestampOfClick = this.getTimestampOf(mousePoint.x);
105 if (rect.containsPoint(mousePoint)) {
113 private drawEntryHover(mousePoint: Point) {
114 const currentHoverEntry = this.getEntryAt(mousePoint)?.getTimestamp();
Dabstract_timeline_row_component.ts132 const mousePoint = { constant
137 const transitionEntry = this.getEntryAt(mousePoint);
153 const mousePoint = { constant
158 this.onHover(mousePoint);
188 protected abstract getEntryAt(mousePoint: Point): TraceEntry<T> | undefined;
189 protected abstract onHover(mousePoint: Point): void;
Dtransition_timeline_component.ts77 override onHover(mousePoint: Point) {
78 this.drawSegmentHover(mousePoint);
113 mousePoint: Point,
135 if (rect.containsPoint(mousePoint)) {
144 private drawSegmentHover(mousePoint: Point) {
145 const currentHoverEntry = this.getEntryAt(mousePoint);