Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DPrecomputedTextTest.java713 final int firstLineLen = "Hello, World\n".length(); in testDrawText_MultiParagraph() local
714 assertSameOutput(ssb, 0, firstLineLen, 0, firstLineLen, paint); in testDrawText_MultiParagraph()
715 assertSameOutput(ssb, 3, firstLineLen - 3, 0, firstLineLen, paint); in testDrawText_MultiParagraph()
716 assertSameOutput(ssb, 3, firstLineLen - 3, 2, firstLineLen - 2, paint); in testDrawText_MultiParagraph()
719 assertSameOutput(ssb, firstLineLen, ssb.length(), firstLineLen, ssb.length(), paint); in testDrawText_MultiParagraph()
720 assertSameOutput(ssb, firstLineLen + 3, ssb.length() - 3, in testDrawText_MultiParagraph()
721 firstLineLen, ssb.length(), paint); in testDrawText_MultiParagraph()
722 assertSameOutput(ssb, firstLineLen + 5, ssb.length() - 5, in testDrawText_MultiParagraph()
723 firstLineLen + 2, ssb.length() - 2, paint); in testDrawText_MultiParagraph()
727 assertSameOutput(ssb, 3, firstLineLen - 3, 0, ssb.length(), paint); in testDrawText_MultiParagraph()
[all …]