/frameworks/support/compat/src/androidTest/java/androidx/core/text/util/ |
D | LinkifyCompatTest.java | 29 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/ |
D | LinkifyTest.java | 32 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/ |
D | URLSpan.java | 44 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
|
D | AccessibilityURLSpan.java | 29 public class AccessibilityURLSpan extends URLSpan implements Parcelable { 35 public AccessibilityURLSpan(URLSpan spanToReplace) { in AccessibilityURLSpan()
|
/frameworks/support/compat/src/main/java/androidx/core/text/util/ |
D | LinkifyCompat.java | 27 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/ |
D | TextClassifier.java | 31 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()
|
D | TextLinks.java | 30 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/ |
D | Linkify.java | 31 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/ |
D | Html.java | 40 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()
|
D | TextUtils.java | 60 import android.text.style.URLSpan; 800 readSpan(p, sp, new URLSpan(p));
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerNotificationWarnings.java | 41 import android.text.style.URLSpan; 546 final URLSpan urlSpan = new URLSpan(learnMoreUrl) { in getBatterySaverDescription()
|
/frameworks/base/core/java/android/content/ |
D | ClipData.java | 35 import android.text.style.URLSpan; 619 builder.setSpan(new URLSpan(uri), 0, builder.length(), in uriToStyledText()
|
/frameworks/base/core/java/android/content/res/ |
D | StringBlock.java | 274 buffer.setSpan(new URLSpan(sub), in applyStyles()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityNodeInfo.java | 40 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/ |
D | Editor.java | 76 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/ |
D | preloaded-classes | 3051 android.text.style.URLSpan
|
D | hiddenapi-public-dex.txt | 46182 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;
|
D | boot-image-profile.txt | 7094 …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/ |
D | android-22.txt | 30977 …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/ |
D | current.txt | 44660 …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();
|