Home
last modified time | relevance | path

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

/frameworks/base/tools/layoutlib/bridge/src/android/text/
DGreedyLineBreaker.java41 float width = 0, printedWidth = 0; in computeBreaks() local
61 printedWidth = width; in computeBreaks()
71 if (printedWidth > maxWidth) { in computeBreaks()
94 printedWidth = width = 0; in computeBreaks()
115 breakInfo.mWidthsList.add(printedWidth); in computeBreaks()
118 printedWidth = width = 0; in computeBreaks()
123 if (i > breakIndex && (printedWidth <= maxWidth || !breakFound)) { in computeBreaks()
126 breakWidth = printedWidth; in computeBreaks()
128 if (i > goodBreakIndex && printedWidth <= maxWidth) { in computeBreaks()
131 goodBreakWidth = printedWidth; in computeBreaks()
[all …]
DOptimizingLineBreaker.java233 public LineMetrics(float width, float printedWidth, boolean hasTabs) { in LineMetrics() argument
235 mPrintedWidth = printedWidth; in LineMetrics()