Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DOptimizingLineBreaker.java45 int numBreaks = mPrimitives.size(); in computeBreaks() local
46 assert numBreaks > 0; in computeBreaks() local
47 if (numBreaks == 1) { in computeBreaks()
56 Node[] opt = new Node[numBreaks]; in computeBreaks()
58 opt[numBreaks - 1] = new Node(-1, 0, 0, 0, false); in computeBreaks()
63 for (int i = 0; i < numBreaks; i++) { in computeBreaks()
66 boolean finalBreak = (i + 1 == numBreaks); in computeBreaks()
112 int breakIndex = desperateBreak(lastBreak, numBreaks, maxWidth, lineMetrics); in computeBreaks()
122 int idx = numBreaks - 1; in computeBreaks()