Searched refs:lineEnd (Results 1 – 2 of 2) sorted by relevance
132 int lineEnd = staticLayout.getLineEnd(line); in debugLayout() local134 lineEnd + "]\t" + source.subSequence(lineStart, lineEnd)); in debugLayout()153 int lineEnd = staticLayout.getLineEnd(line); in layout() local162 assertEquals("Line end for last line", source.length(), lineEnd); in layout()164 assertEquals("Line end for line " + line, breaks[line], lineEnd); in layout()180 int lineEnd = staticLayout.getLineEnd(line); in layoutMaxLines() local189 assertEquals("Line end for last line", source.length(), lineEnd); in layoutMaxLines()191 assertEquals("Line end for line " + line, breaks[line], lineEnd); in layoutMaxLines()
4068 final int lineEnd = layout.getLineEnd(line); in testHyphenationNotHappen_frequencyNone() local4071 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_frequencyNone()4072 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_frequencyNone()4104 final int lineEnd = layout.getLineEnd(line); in testHyphenationNotHappen_breakStrategySimple() local4107 assertTrue(lineEnd == LONG_TEXT.length() || in testHyphenationNotHappen_breakStrategySimple()4108 Character.isWhitespace(LONG_TEXT.charAt(lineEnd - 1))); in testHyphenationNotHappen_breakStrategySimple()