Searched refs:RELATIVE_SIZE_SPAN (Results 1 – 1 of 1) sorted by relevance
/cts/tests/tests/text/src/android/text/cts/ |
D | BidiFormatterTest.java | 258 final Object RELATIVE_SIZE_SPAN = new RelativeSizeSpan(1.2f); in testCharSequenceApis() local 259 CS_EN_HE.setSpan(RELATIVE_SIZE_SPAN, 0, EN.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testCharSequenceApis() 268 assertEquals(RELATIVE_SIZE_SPAN, spans[0]); in testCharSequenceApis() 269 assertEquals(0, wrapped.getSpanStart(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() 270 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() 276 assertEquals(RELATIVE_SIZE_SPAN, spans[0]); in testCharSequenceApis() 277 assertEquals(0, wrapped.getSpanStart(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() 278 assertEquals(EN.length(), wrapped.getSpanEnd(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() 284 assertEquals(RELATIVE_SIZE_SPAN, spans[0]); in testCharSequenceApis() 285 assertEquals(0, wrapped.getSpanStart(RELATIVE_SIZE_SPAN)); in testCharSequenceApis() [all …]
|