Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DOptimizingLineBreaker.java67 Node bestBreak = null; in computeBreaks() local
83 if (bestBreak == null || demerits < bestBreak.mDemerits) { in computeBreaks()
84 if (bestBreak == null) { in computeBreaks()
85 bestBreak = new Node(pos, opt[pos].mPrevCount + 1, demerits, in computeBreaks()
88 bestBreak.mPrev = pos; in computeBreaks()
89 bestBreak.mPrevCount = opt[pos].mPrevCount + 1; in computeBreaks()
90 bestBreak.mDemerits = demerits; in computeBreaks()
91 bestBreak.mWidth = lineMetrics.mPrintedWidth; in computeBreaks()
92 bestBreak.mHasTabs = lineMetrics.mHasTabs; in computeBreaks()
102 if (bestBreak != null) { in computeBreaks()
[all …]