Home
last modified time | relevance | path

Searched refs:isHovered (Results 1 – 2 of 2) sorted by relevance

/external/perfetto/ui/src/tracks/cpu_profile/
Dfrontend.ts32 function colorForSample(callsiteId: number, isHovered: boolean): string {
33 return hsluvToHex(hslForSlice(String(callsiteId), isHovered));
65 const isHovered = this.hoveredTs === centerX; constant
73 isHovered,
80 ctx: CanvasRenderingContext2D, x: number, y: number, isHovered: boolean,
88 ctx.fillStyle = colorForSample(callsiteId, isHovered);
/external/perfetto/ui/src/tracks/heap_profile/
Dfrontend.ts62 const isHovered = this.hoveredTs === centerX; constant
70 isHovered,
76 ctx: CanvasRenderingContext2D, x: number, y: number, isHovered: boolean,
85 ctx.fillStyle = isHovered ? HEAP_PROFILE_HOVERED_COLOR : HEAP_PROFILE_COLOR;