OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:urlSpan
(Results
1 - 6
of
6
) 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
...]
/packages/apps/Calendar/src/com/android/calendar/alerts/
AlertReceiver.java
41
import android.text.style.
URLSpan
;
118
URLSpan
[] urlSpans = getURLSpans(context, eventId);
137
URLSpan
[] urlSpans = getURLSpans(context, eventId);
313
URLSpan
[] urlSpans = getURLSpans(context, eventId);
[
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
...]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TextViewTest.java
8
import android.text.style.
URLSpan
;
385
private List<String> urlStringsFrom(
URLSpan
[] urlSpans) {
387
for (
URLSpan
urlSpan
: urlSpans) {
388
urls.add(
urlSpan
.getURL());
/frameworks/base/core/java/android/widget/
Editor.java
66
import android.text.style.
URLSpan
;
643
// If a
URLSpan
(web address, email, phone...) is found at that position, select it.
644
URLSpan
[] urlSpans = ((Spanned) mTextView.getText()).
645
getSpans(minOffset, maxOffset,
URLSpan
.class);
647
URLSpan
urlSpan
= urlSpans[0];
648
selectionStart = ((Spanned) mTextView.getText()).getSpanStart(
urlSpan
);
649
selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(
urlSpan
);
[
all
...]
/cts/tests/tests/widget/src/android/widget/cts/
TextViewTest.java
71
import android.text.style.
URLSpan
;
334
URLSpan
[] spans = spanString.getSpans(0, spanString.length(),
URLSpan
.class);
352
spans = spanString.getSpans(0, spanString.length(),
URLSpan
.class);
824
final
URLSpan
urlSpan
= new
URLSpan
("ctstest://TextView/test");
[
all
...]
Completed in 380 milliseconds