Searched refs:lineCount (Results 1 – 3 of 3) sorted by relevance
108 int lineCount = lines.length; in initFromString() local109 if (lineCount > 3) { in initFromString()115 while (nIndex < lineCount) { in initFromString()127 while (nIndex < lineCount) { in initFromString()136 if (nCount > 0 && nCount <= lineCount-2 && nCount < 20000) { //foolproof in initFromString()141 while (nIndex < lineCount) { in initFromString()
139 int lineCount = breaks.length + 1; in layout() local140 assertEquals("Number of lines", lineCount, staticLayout.getLineCount()); in layout()142 for (int line = 0; line < lineCount; line++) { in layout()152 if (line == lineCount - 1) { in layout()167 int lineCount = staticLayout.getLineCount(); in layoutMaxLines() local168 assertTrue("Number of lines", lineCount <= maxLines); in layoutMaxLines()170 for (int line = 0; line < lineCount; line++) { in layoutMaxLines()180 if (line == lineCount - 1 && line != breaks.length - 1) { in layoutMaxLines()
2691 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_frequencyNone() local2692 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_frequencyNone()2725 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_breakStrategySimple() local2726 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_breakStrategySimple()