Home
last modified time | relevance | path

Searched refs:lineCount (Results 1 – 15 of 15) 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/
DLayoutUseBoundsTest.kt130 assertThat(layout.lineCount).isEqualTo(1) in testBreakOvershoot_trailing_LTR()
142 assertThat(layout.lineCount).isEqualTo(2) in testBreakOvershoot_trailing_LTR()
161 assertThat(layout.lineCount).isEqualTo(2) in testBreakOvershoot_trailing_LTR()
181 assertThat(layout.lineCount).isEqualTo(3) in testBreakOvershoot_trailing_LTR()
207 assertThat(layout.lineCount).isEqualTo(4) in testBreakOvershoot_trailing_LTR()
242 assertThat(layout.lineCount).isEqualTo(1) in testBreakOvershoot_trailing_RTL()
254 assertThat(layout.lineCount).isEqualTo(2) in testBreakOvershoot_trailing_RTL()
273 assertThat(layout.lineCount).isEqualTo(2) in testBreakOvershoot_trailing_RTL()
293 assertThat(layout.lineCount).isEqualTo(3) in testBreakOvershoot_trailing_RTL()
319 assertThat(layout.lineCount).isEqualTo(4) in testBreakOvershoot_trailing_RTL()
[all …]
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()
DBoringLayoutUseBoundsTest.kt76 assertThat(layout.lineCount).isEqualTo(1) in testBreakOvershoot_trailing_LTR()
92 assertThat(layout.lineCount).isEqualTo(1) in testBreakOvershoot_preceding_LTR()
108 assertThat(layout.lineCount).isEqualTo(1) in testBreakOvershoot_bounds_inside()
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()
DStaticLayoutLineBreakingNoBreakSpanTest.kt59 assertThat(layout.lineCount).isEqualTo(lines.size) in assertLineBreak()
61 for (i in 0 until layout.lineCount) { in assertLineBreak()
DStaticLayoutMultilineBidiTest.kt72 for (i in 0 until actualLayout.lineCount) { in testConsistentBidiDraw()
DDynamicLayoutTest.java328 final int lineCount = expected.getLineCount(); in assertLineSpecs() local
329 assertTrue(lineCount > 1); in assertLineSpecs()
330 assertEquals(lineCount, actual.getLineCount()); in assertLineSpecs()
332 for (int i = 0; i < lineCount; i++) { in assertLineSpecs()
DLayoutInterJustificationTest.kt149 assertThat(layout.lineCount).isEqualTo(3) in <lambda>()
DLayoutClusterCountTest.kt143 for (i in 0 until layout.lineCount) { in testClusterCount_Multiline()
DStaticLayoutLineBreakAutoTest.kt110 Assert.assertEquals(expected.size.toLong(), layout.lineCount.toLong()) in assertLineBreak()
DStaticLayoutTest.java1169 final int lineCount = layout.getLineCount(); in testGetOffsetForHorizontal_Multilines() local
1170 assertEquals(testString.length(), layout.getOffsetForHorizontal(lineCount - 1, width)); in testGetOffsetForHorizontal_Multilines()
1171 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/text/src/android/text/method/cts/
DBaseKeyListenerTest.java640 final int selectionStart, final int selectionEnd, int lineCount) in prepTextViewWithLinesSync() argument
644 if (getLineCount(content, mTextView) < lineCount) { in prepTextViewWithLinesSync()
647 if (getLineCount(content, mTextView) >= lineCount) { in prepTextViewWithLinesSync()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java4662 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_frequencyNone() local
4663 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_frequencyNone()
4698 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_breakStrategySimple() local
4699 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_breakStrategySimple()