HomeSort by relevance Sort by last modified time
    Searched refs:urlSpan (Results 1 - 3 of 3) sorted by null

  /cts/tests/tests/text/src/android/text/style/cts/
URLSpanTest.java 27 import android.text.style.URLSpan;
32 private static final String TEST_URL = "ctstest://urlSpan/test";
46 URLSpan urlSpan = new URLSpan(TEST_URL);
50 urlSpan.writeToParcel(p, 0);
52 new URLSpan(p);
59 URLSpan urlSpan = new URLSpan(TEST_URL)
    [all...]
  /cts/tests/tests/text/src/android/text/cts/
TextUtilsTest.java 43 import android.text.style.URLSpan;
150 URLSpan urlSpan = new URLSpan(url);
151 string1.setSpan(urlSpan, 0, string1.length() - 1, Spanned.SPAN_INCLUSIVE_INCLUSIVE);
160 assertTrue(spans[0] instanceof URLSpan);
161 assertEquals(url, ((URLSpan) spans[0]).getURL());
164 assertEquals(0, strResult.getSpanStart(urlSpan));
165 assertEquals(string1.length() - 1, strResult.getSpanEnd(urlSpan));
189 URLSpan urlSpan = new URLSpan(url)
    [all...]
  /cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java 72 import android.text.style.URLSpan;
334 URLSpan[] spans = spanString.getSpans(0, spanString.length(), URLSpan.class);
352 spans = spanString.getSpans(0, spanString.length(), URLSpan.class);
825 final URLSpan urlSpan = new URLSpan("ctstest://TextView/test");
    [all...]

Completed in 90 milliseconds