Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/textclassifier/
DTextLinks.java225 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in TextLink() argument
233 mUrlSpan = urlSpan; in TextLink()
692 @Nullable URLSpan urlSpan) { in addLink() argument
693 return addLink(start, end, entityScores, Bundle.EMPTY, urlSpan); in addLink()
697 @NonNull Bundle extras, @Nullable URLSpan urlSpan) { in addLink() argument
699 start, end, new EntityConfidence(entityScores), extras, urlSpan)); in addLink()
DTextClassifier.java741 for (URLSpan urlSpan : spans) { in addLinks()
743 spannable.getSpanStart(urlSpan), in addLinks()
744 spannable.getSpanEnd(urlSpan), in addLinks()
746 urlSpan); in addLinks() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java644 final URLSpan urlSpan = new URLSpan(learnMoreUrl) { in getBatterySaverDescription() local
673 builder.setSpan(urlSpan, start, end, message.getSpanFlags(urlSpan)); in getBatterySaverDescription()
/frameworks/base/core/java/android/widget/
DEditor.java975 URLSpan urlSpan = urlSpans[0]; in selectCurrentWord() local
976 selectionStart = ((Spanned) mTextView.getText()).getSpanStart(urlSpan); in selectCurrentWord()
977 selectionEnd = ((Spanned) mTextView.getText()).getSpanEnd(urlSpan); in selectCurrentWord()