Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DOptimizingLineBreaker.java79 LineMetrics lineMetrics = computeMetrics(pos, i); in computeBreaks() local
80 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() local
112 int breakIndex = desperateBreak(lastBreak, numBreaks, maxWidth, lineMetrics); in computeBreaks()
114 lineMetrics.mWidth, lineMetrics.mHasTabs); in computeBreaks()
184 @NonNull LineMetrics lineMetrics) { in desperateBreak() argument
[all …]