Home
last modified time | relevance | path

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

/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java269 SpannableString string2 = new SpannableString("second"); in testConcat() local
274 string2.setSpan(bgColorSpan, 0, string2.length() - 1, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in testConcat()
277 Spanned strResult = (Spanned) TextUtils.concat(string1, comma, string2); in testConcat()
278 assertEquals(string1.toString() + comma + string2.toString(), strResult.toString()); in testConcat()
323 final SpannableString string2 = new SpannableString("b"); in testConcat_twoParagraphSpans() local
327 string2.setSpan(span2, 0, string2.length(), Spanned.SPAN_PARAGRAPH); in testConcat_twoParagraphSpans()
329 final Spanned result = (Spanned) TextUtils.concat(string1, string2); in testConcat_twoParagraphSpans()
343 final SpannableString string2 = new SpannableString("b"); in testConcat_oneParagraphSpanAndOneInclusiveSpan() local
347 string2.setSpan(span2, 0, string2.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); in testConcat_oneParagraphSpanAndOneInclusiveSpan()
349 final Spanned result = (Spanned) TextUtils.concat(string1, string2); in testConcat_oneParagraphSpanAndOneInclusiveSpan()