Home
last modified time | relevance | path

Searched refs:lineEnd (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingTest.java123 int lineEnd = staticLayout.getLineEnd(line); in debugLayout() local
125 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); in debugLayout()
144 int lineEnd = staticLayout.getLineEnd(line); in layout() local
153 assertEquals("Line end for last line", source.length(), lineEnd); in layout()
155 assertEquals("Line end for line " + line, breaks[line], lineEnd); in layout()
172 int lineEnd = staticLayout.getLineEnd(line); in layoutMaxLines() local
181 assertEquals("Line end for last line", source.length(), lineEnd); in layoutMaxLines()
183 assertEquals("Line end for line " + line, breaks[line], lineEnd); in layoutMaxLines()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java3220 final int lineEnd = layout.getLineEnd(line); in testHyphenationNotHappen_frequencyNone() local
3223 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_frequencyNone()
3224 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_frequencyNone()
3254 final int lineEnd = layout.getLineEnd(line); in testHyphenationNotHappen_breakStrategySimple() local
3257 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_breakStrategySimple()
3258 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_breakStrategySimple()