Searched refs:lineMetrics (Results 1 – 1 of 1) sorted by relevance
79 LineMetrics lineMetrics = computeMetrics(pos, i); in computeBreaks() local80 if (lineMetrics.mPrintedWidth <= maxWidth) { in computeBreaks()81 float demerits = computeDemerits(maxWidth, lineMetrics.mPrintedWidth, in computeBreaks()86 lineMetrics.mPrintedWidth, lineMetrics.mHasTabs); in computeBreaks()91 bestBreak.mWidth = lineMetrics.mPrintedWidth; in computeBreaks()92 bestBreak.mHasTabs = lineMetrics.mHasTabs; in computeBreaks()109 LineMetrics lineMetrics = new LineMetrics(); in computeBreaks() local112 int breakIndex = desperateBreak(lastBreak, numBreaks, maxWidth, lineMetrics); in computeBreaks()114 lineMetrics.mWidth, lineMetrics.mHasTabs); in computeBreaks()184 @NonNull LineMetrics lineMetrics) { in desperateBreak() argument[all …]