Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java29 import android.text.style.URLSpan;
114 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenDefaultSchemeIsNull()
125 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenSchemesArrayIsNull()
138 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_prependsDefaultSchemeToBeginingOfLink()
149 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_doesNotPrependSchemeIfSchemeExists()
/frameworks/base/core/java/android/text/style/
DURLSpan.java44 public class URLSpan extends ClickableSpan implements ParcelableSpan { class
53 public URLSpan(String url) { in URLSpan() method in URLSpan
60 public URLSpan(@NonNull Parcel src) { in URLSpan() method in URLSpan
DAccessibilityURLSpan.java29 public class AccessibilityURLSpan extends URLSpan implements Parcelable {
35 public AccessibilityURLSpan(URLSpan spanToReplace) { in AccessibilityURLSpan()
/frameworks/base/core/java/android/text/util/
DLinkify.java31 import android.text.style.URLSpan;
269 @Nullable Function<String, URLSpan> urlSpanFactory) { in addLinks()
286 @Nullable Context context, @Nullable Function<String, URLSpan> urlSpanFactory) { in addLinks()
296 final URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class); in addLinks()
561 @Nullable Function<String, URLSpan> urlSpanFactory) { in addLinks()
604 @Nullable Function<String, URLSpan> urlSpanFactory) { in applyLink()
608 final URLSpan span = urlSpanFactory.apply(url); in applyLink()
780 private static final Function<String, URLSpan> DEFAULT_SPAN_FACTORY =
781 (String string) -> new URLSpan(string);
/frameworks/base/core/java/android/view/textclassifier/
DTextLinks.java33 import android.text.style.URLSpan;
210 @Nullable private final URLSpan mUrlSpan;
225 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in TextLink()
692 @Nullable URLSpan urlSpan) { in addLink()
697 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in addLink()
DTextClassifier.java31 import android.text.style.URLSpan;
740 final URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in addLinks()
741 for (URLSpan urlSpan : spans) { in addLinks()
/frameworks/base/core/java/android/text/
DHtml.java41 import android.text.style.URLSpan;
542 if (style[j] instanceof URLSpan) { in withinParagraph()
544 out.append(((URLSpan) style[j]).getURL()); in withinParagraph()
596 if (style[j] instanceof URLSpan) { in withinParagraph()
1178 setSpanFromMark(text, h, new URLSpan((h.mHref))); in endA()
DTextUtils.java65 import android.text.style.URLSpan;
866 readSpan(p, sp, new URLSpan(p));
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java46 import android.text.style.URLSpan;
644 final URLSpan urlSpan = new URLSpan(learnMoreUrl) { in getBatterySaverDescription()
/frameworks/base/core/java/android/content/res/
DStringBlock.java43 import android.text.style.URLSpan;
312 buffer.setSpan(new URLSpan(sub), in applyStyles()
/frameworks/base/core/java/android/content/
DClipData.java38 import android.text.style.URLSpan;
632 builder.setSpan(new URLSpan(uri), 0, builder.length(), in uriToStyledText()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java43 import android.text.style.URLSpan;
2642 ClickableSpan replacementSpan = (span instanceof URLSpan) in setText()
2643 ? new AccessibilityURLSpan((URLSpan) span) in setText()
/frameworks/base/core/java/android/widget/
DEditor.java80 import android.text.style.URLSpan;
972 URLSpan[] urlSpans = in selectCurrentWord()
973 ((Spanned) mTextView.getText()).getSpans(minOffset, maxOffset, URLSpan.class); in selectCurrentWord()
975 URLSpan urlSpan = urlSpans[0]; in selectCurrentWord()
DTextView.java129 import android.text.style.URLSpan;
5016 public URLSpan[] getUrls() { in getUrls()
5018 return ((Spanned) mText).getSpans(0, mText.length(), URLSpan.class); in getUrls()
5020 return new URLSpan[0]; in getUrls()
/frameworks/base/config/
Dpreloaded-classes3557 android.text.style.URLSpan
Dhiddenapi-greylist-max-o.txt70770 Landroid/text/style/AccessibilityURLSpan;-><init>(Landroid/text/style/URLSpan;)V
70889 Landroid/text/style/URLSpan;->getSpanTypeIdInternal()I
70890 Landroid/text/style/URLSpan;->mURL:Ljava/lang/String;
70891 Landroid/text/style/URLSpan;->writeToParcelInternal(Landroid/os/Parcel;I)V
77169 …ssifier/TextLinks$Builder;->addLink(IILjava/util/Map;Landroid/text/style/URLSpan;)Landroid/view/te…
77211 …oid/view/textclassifier/TextLinks$TextLink;-><init>(IILjava/util/Map;Landroid/text/style/URLSpan;)V
77216 Landroid/view/textclassifier/TextLinks$TextLink;->mUrlSpan:Landroid/text/style/URLSpan;
Dboot-image-profile.txt36209 Landroid/text/style/URLSpan;
/frameworks/base/non-updatable-api/
Dcurrent.txt48599 …public class URLSpan extends android.text.style.ClickableSpan implements android.text.ParcelableSp…
48600 ctor public URLSpan(String);
48601 ctor public URLSpan(@NonNull android.os.Parcel);
48634 …pannable, int, @Nullable java.util.function.Function<java.lang.String,android.text.style.URLSpan>);
48642 …ansformFilter, @Nullable java.util.function.Function<java.lang.String,android.text.style.URLSpan>);
58553 method public android.text.style.URLSpan[] getUrls();
/frameworks/base/api/
Dcurrent.txt48743 …public class URLSpan extends android.text.style.ClickableSpan implements android.text.ParcelableSp…
48744 ctor public URLSpan(String);
48745 ctor public URLSpan(@NonNull android.os.Parcel);
48778 …pannable, int, @Nullable java.util.function.Function<java.lang.String,android.text.style.URLSpan>);
48786 …ansformFilter, @Nullable java.util.function.Function<java.lang.String,android.text.style.URLSpan>);
58697 method public android.text.style.URLSpan[] getUrls();
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt30977 …public class URLSpan extends android.text.style.ClickableSpan implements android.text.ParcelableSp…
30978 ctor public URLSpan(java.lang.String);
30979 ctor public URLSpan(android.os.Parcel);
38830 method public android.text.style.URLSpan[] getUrls();