Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java108 int lineCount = lines.length; in initFromString() local
109 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()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingTest.java139 int lineCount = breaks.length + 1; in layout() local
140 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() local
168 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()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java2691 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_frequencyNone() local
2692 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_frequencyNone()
2725 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_breakStrategySimple() local
2726 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_breakStrategySimple()