Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java367 int midPos = source1.length() / 2; in testCopySpansFrom() local
370 source1.setSpan(urlSpan, 0, midPos, Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testCopySpansFrom()
372 source1.setSpan(bgColorSpan, midPos - 1, in testCopySpansFrom()
385 assertEquals(midPos, dest1.getSpanEnd(urlSpan)); in testCopySpansFrom()
387 assertEquals(midPos - 1, dest1.getSpanStart(bgColorSpan)); in testCopySpansFrom()