Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutLineBreakingTest.java110 int lineEnd = staticLayout.getLineEnd(line); in debugLayout() local
112 + lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); in debugLayout()
134 final int lineEnd = staticLayout.getLineEnd(line); in layout() local
143 assertEquals("Line end for last line", source.length(), lineEnd); in layout()
145 assertEquals("Line end for line " + line, breaks[line], lineEnd); in layout()
167 int lineEnd = staticLayout.getLineEnd(line); in layoutMaxLines() local
176 assertEquals("Line end for last line", source.length(), lineEnd); in layoutMaxLines()
178 assertEquals("Line end for line " + line, breaks[line], lineEnd); in layoutMaxLines()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java4664 final int lineEnd = layout.getLineEnd(line); in testHyphenationNotHappen_frequencyNone() local
4667 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_frequencyNone()
4668 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_frequencyNone()
4700 final int lineEnd = layout.getLineEnd(line); in testHyphenationNotHappen_breakStrategySimple() local
4703 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_breakStrategySimple()
4704 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_breakStrategySimple()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt48413 method protected boolean lineEnd(android.widget.TextView, android.text.Spannable);