Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java154 int lineCount = lines.length; in initFromString() local
155 if (lineCount > 3) { in initFromString()
161 while (nIndex < lineCount) { in initFromString()
173 while (nIndex < lineCount) { in initFromString()
182 if (nCount > 0 && nCount <= lineCount-2 && nCount < 20000) { //foolproof in initFromString()
187 while (nIndex < lineCount) { in initFromString()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingTest.java129 final int lineCount = breaks.length + 1; in layout() local
130 assertEquals("Number of lines", lineCount, staticLayout.getLineCount()); in layout()
132 for (int line = 0; line < lineCount; line++) { in layout()
142 if (line == lineCount - 1) { in layout()
163 final int lineCount = staticLayout.getLineCount(); in layoutMaxLines() local
165 for (int line = 0; line < lineCount; line++) { in layoutMaxLines()
175 if (line == lineCount - 1 && line != breaks.length - 1) { in layoutMaxLines()
DStaticLayoutGetLineLeftRightTest.java145 final int lineCount = mLayout.getLineCount(); in testGetLineLeft() local
146 for (int line = 0; line < lineCount; ++line) { in testGetLineLeft()
169 final int lineCount = mLayout.getLineCount(); in testGetLineRight() local
170 for (int line = 0; line < lineCount; ++line) { in testGetLineRight()
DDynamicLayoutTest.java270 final int lineCount = expected.getLineCount(); in assertLineSpecs() local
271 assertTrue(lineCount > 1); in assertLineSpecs()
272 assertEquals(lineCount, actual.getLineCount()); in assertLineSpecs()
274 for (int i = 0; i < lineCount; i++) { in assertLineSpecs()
DStaticLayoutTest.java1130 final int lineCount = layout.getLineCount(); in testGetOffsetForHorizontal_Multilines() local
1131 assertEquals(testString.length(), layout.getOffsetForHorizontal(lineCount - 1, width)); in testGetOffsetForHorizontal_Multilines()
1132 assertEquals(testString.length(), layout.getOffsetForHorizontal(lineCount - 1, width * 2)); in testGetOffsetForHorizontal_Multilines()
/cts/tests/camera/libctscamera2jni/
Ddng-validate-jni.cpp438 int lineCount = 0; in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() local
445 lineCount++; in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
460 if (lineCount < 3) { in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java4433 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_frequencyNone() local
4434 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_frequencyNone()
4469 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_breakStrategySimple() local
4470 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_breakStrategySimple()