Home
last modified time | relevance | path

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

/external/perfetto/ui/src/common/
Dcanvas_utils.ts16 const maxTextWidth = rectWidth - 4; constant
19 if (nameLength < maxTextWidth) {
23 const displayedChars = Math.floor(maxTextWidth / charWidth) - 3;