/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | VectorAverage.java | 154 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/ |
D | LayoutUseBoundsTest.kt | 130 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 …]
|
D | StaticLayoutGetLineLeftRightTest.java | 145 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()
|
D | BoringLayoutUseBoundsTest.kt | 76 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()
|
D | StaticLayoutLineBreakingTest.java | 129 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()
|
D | StaticLayoutLineBreakingNoBreakSpanTest.kt | 59 assertThat(layout.lineCount).isEqualTo(lines.size) in assertLineBreak() 61 for (i in 0 until layout.lineCount) { in assertLineBreak()
|
D | StaticLayoutMultilineBidiTest.kt | 72 for (i in 0 until actualLayout.lineCount) { in testConsistentBidiDraw()
|
D | DynamicLayoutTest.java | 328 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()
|
D | LayoutInterJustificationTest.kt | 149 assertThat(layout.lineCount).isEqualTo(3) in <lambda>()
|
D | LayoutClusterCountTest.kt | 143 for (i in 0 until layout.lineCount) { in testClusterCount_Multiline()
|
D | StaticLayoutLineBreakAutoTest.kt | 110 Assert.assertEquals(expected.size.toLong(), layout.lineCount.toLong()) in assertLineBreak()
|
D | StaticLayoutTest.java | 1169 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/ |
D | dng-validate-jni.cpp | 438 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/ |
D | BaseKeyListenerTest.java | 640 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/ |
D | TextViewTest.java | 4662 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()
|