Searched refs:demerits (Results 1 - 1 of 1) sorted by relevance

/frameworks/layoutlib/bridge/src/android/text/
H A DOptimizingLineBreaker.java81 float demerits = computeDemerits(maxWidth, lineMetrics.mPrintedWidth,
83 if (bestBreak == null || demerits < bestBreak.mDemerits) {
85 bestBreak = new Node(pos, opt[pos].mPrevCount + 1, demerits,
90 bestBreak.mDemerits = demerits;
253 public Node(int prev, int prevCount, float demerits, float width, boolean hasTabs) { argument
256 mDemerits = demerits;

Completed in 26 milliseconds