Home
last modified time | relevance | path

Searched refs:urlSpan (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/FooterPreference/src/com/android/settingslib/widget/
DFooterPreference.java82 final URLSpan urlSpan = (URLSpan) clickable; in linkifyTitle() local
83 final String url = urlSpan.getURL(); in linkifyTitle()
87 final int start = spannable.getSpanStart(urlSpan); in linkifyTitle()
88 final int end = spannable.getSpanEnd(urlSpan); in linkifyTitle()
89 spannable.removeSpan(urlSpan); in linkifyTitle()
/frameworks/base/core/java/android/view/textclassifier/
DTextLinks.java224 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in TextLink() argument
232 mUrlSpan = urlSpan; in TextLink()
716 @Nullable URLSpan urlSpan) { in addLink() argument
717 return addLink(start, end, entityScores, Bundle.EMPTY, urlSpan); in addLink()
721 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in addLink() argument
723 start, end, new EntityConfidence(entityScores), extras, urlSpan)); in addLink()
DTextClassifier.java761 for (URLSpan urlSpan : spans) { in addLinks()
763 spannable.getSpanStart(urlSpan), in addLinks()
764 spannable.getSpanEnd(urlSpan), in addLinks()
766 urlSpan); in addLinks() local
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DAnnotatedStringResource.kt95 urlSpan: URLSpan, in addUrlSpan()
101 url = urlSpan.url, in addUrlSpan()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java769 final URLSpan urlSpan = new URLSpan(learnMoreUrl) { in getBatterySaverDescription() local
796 builder.setSpan(urlSpan, start, end, message.getSpanFlags(urlSpan)); in getBatterySaverDescription()
/frameworks/base/core/java/android/widget/
DEditor.java1249 URLSpan urlSpan = urlSpans[0]; in selectCurrentWord() local
1250 selectionStart = ((Spanned) mTextView.getText()).getSpanStart(urlSpan); in selectCurrentWord()
1251 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord()