Searched refs:lineCount (Results 1 – 6 of 6) sorted by relevance
154 int lineCount = lines.length; in initFromString() local155 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()
145 final int lineCount = mLayout.getLineCount(); in testGetLineLeft() local146 for (int line = 0; line < lineCount; ++line) { in testGetLineLeft()169 final int lineCount = mLayout.getLineCount(); in testGetLineRight() local170 for (int line = 0; line < lineCount; ++line) { in testGetLineRight()
327 final int lineCount = expected.getLineCount(); in assertLineSpecs() local328 assertTrue(lineCount > 1); in assertLineSpecs()329 assertEquals(lineCount, actual.getLineCount()); in assertLineSpecs()331 for (int i = 0; i < lineCount; i++) { in assertLineSpecs()
1130 final int lineCount = layout.getLineCount(); in testGetOffsetForHorizontal_Multilines() local1131 assertEquals(testString.length(), layout.getOffsetForHorizontal(lineCount - 1, width)); in testGetOffsetForHorizontal_Multilines()1132 assertEquals(testString.length(), layout.getOffsetForHorizontal(lineCount - 1, width * 2)); in testGetOffsetForHorizontal_Multilines()
438 int lineCount = 0; in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative() local445 lineCount++; in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()460 if (lineCount < 3) { in Java_android_hardware_camera2_cts_DngCreatorTest_validateDngNative()
4576 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_frequencyNone() local4577 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_frequencyNone()4612 final int lineCount = layout.getLineCount(); in testHyphenationNotHappen_breakStrategySimple() local4613 for (int line = 0; line < lineCount; ++line) { in testHyphenationNotHappen_breakStrategySimple()