Home
last modified time | relevance | path

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

/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/
DLinkifyCompatTest.java29 import android.text.style.URLSpan;
101 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksToSpannable()
109 spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksToSpannable()
129 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinksToSpannableWithScheme()
148 spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinksToSpannableWithScheme()
161 URLSpan[] spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinks3()
185 spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinks3()
192 spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinks3()
200 spans = (spannable.getSpans(0, spannable.length(), URLSpan.class)); in testAddLinks3()
223 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinksPhoneNumbers()
[all …]
/frameworks/base/core/tests/coretests/src/android/text/util/
DLinkifyTest.java32 import android.text.style.URLSpan;
122 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenDefaultSchemeIsNull()
133 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_addsLinksWhenSchemesArrayIsNull()
146 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_prependsDefaultSchemeToBeginingOfLink()
157 URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in testAddLinks_doesNotPrependSchemeIfSchemeExists()
193 final URLSpan[] expectedSpans = expected.getSpans(0, expected.length(), URLSpan.class); in testAddLinksAsync_useLegacyIfSmartDisabled()
199 final URLSpan expectedSpan = expectedSpans[i]; in testAddLinksAsync_useLegacyIfSmartDisabled()
/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/support/compat/src/main/java/androidx/core/text/util/
DLinkifyCompat.java27 import android.text.style.URLSpan;
109 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class); in addLinks()
440 URLSpan span = new URLSpan(url); in applyLink()
495 URLSpan[] urlSpans = text.getSpans(0, text.length(), URLSpan.class); in pruneOverlaps()
524 URLSpan span = links.get(remove).frameworkAddedSpan; in pruneOverlaps()
545 URLSpan frameworkAddedSpan;
/frameworks/base/core/java/android/view/textclassifier/
DTextClassifier.java31 import android.text.style.URLSpan;
582 final URLSpan[] spans = spannable.getSpans(0, spannable.length(), URLSpan.class); in addLinks()
583 for (URLSpan urlSpan : spans) { in addLinks()
DTextLinks.java30 import android.text.style.URLSpan;
190 @Nullable final URLSpan mUrlSpan;
203 @Nullable URLSpan urlSpan) { in TextLink()
612 @Nullable URLSpan urlSpan) { in addLink()
/frameworks/base/core/java/android/text/util/
DLinkify.java31 import android.text.style.URLSpan;
253 URLSpan[] old = text.getSpans(0, text.length(), URLSpan.class); in addLinks()
731 URLSpan span = new URLSpan(url); in applyLink()
/frameworks/base/core/java/android/text/
DHtml.java40 import android.text.style.URLSpan;
541 if (style[j] instanceof URLSpan) { in withinParagraph()
543 out.append(((URLSpan) style[j]).getURL()); in withinParagraph()
595 if (style[j] instanceof URLSpan) { in withinParagraph()
1176 setSpanFromMark(text, h, new URLSpan((h.mHref))); in endA()
DTextUtils.java60 import android.text.style.URLSpan;
800 readSpan(p, sp, new URLSpan(p));
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java41 import android.text.style.URLSpan;
546 final URLSpan urlSpan = new URLSpan(learnMoreUrl) { in getBatterySaverDescription()
/frameworks/base/core/java/android/content/
DClipData.java35 import android.text.style.URLSpan;
619 builder.setSpan(new URLSpan(uri), 0, builder.length(), in uriToStyledText()
/frameworks/base/core/java/android/content/res/
DStringBlock.java274 buffer.setSpan(new URLSpan(sub), in applyStyles()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java40 import android.text.style.URLSpan;
2571 ClickableSpan replacementSpan = (span instanceof URLSpan) in setText()
2572 ? new AccessibilityURLSpan((URLSpan) span) in setText()
/frameworks/base/core/java/android/widget/
DEditor.java76 import android.text.style.URLSpan;
954 URLSpan[] urlSpans = in selectCurrentWord()
955 ((Spanned) mTextView.getText()).getSpans(minOffset, maxOffset, URLSpan.class); in selectCurrentWord()
957 URLSpan urlSpan = urlSpans[0]; in selectCurrentWord()
/frameworks/base/config/
Dpreloaded-classes3051 android.text.style.URLSpan
Dhiddenapi-public-dex.txt46182 Landroid/text/style/URLSpan;
46183 Landroid/text/style/URLSpan;-><init>(Landroid/os/Parcel;)V
46184 Landroid/text/style/URLSpan;-><init>(Ljava/lang/String;)V
46185 Landroid/text/style/URLSpan;->describeContents()I
46186 Landroid/text/style/URLSpan;->getSpanTypeId()I
46187 Landroid/text/style/URLSpan;->getURL()Ljava/lang/String;
46188 Landroid/text/style/URLSpan;->onClick(Landroid/view/View;)V
46189 Landroid/text/style/URLSpan;->writeToParcel(Landroid/os/Parcel;I)V
55775 Landroid/widget/TextView;->getUrls()[Landroid/text/style/URLSpan;
Dboot-image-profile.txt7094 …oid/view/textclassifier/TextLinks$TextLink;-><init>(IILjava/util/Map;Landroid/text/style/URLSpan;)V
31694 HSPLandroid/text/style/URLSpan;-><init>(Ljava/lang/String;)V
31695 HSPLandroid/text/style/URLSpan;->getSpanTypeIdInternal()I
31696 HSPLandroid/text/style/URLSpan;->getURL()Ljava/lang/String;
31697 HSPLandroid/text/style/URLSpan;->writeToParcelInternal(Landroid/os/Parcel;I)V
58389 Landroid/text/style/URLSpan;
/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();
/frameworks/base/api/
Dcurrent.txt44660 …public class URLSpan extends android.text.style.ClickableSpan implements android.text.ParcelableSp…
44661 ctor public URLSpan(java.lang.String);
44662 ctor public URLSpan(android.os.Parcel);
53840 method public android.text.style.URLSpan[] getUrls();