Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java26 import android.view.textclassifier.TextLinks.TextLinkSpan;
43 private static final Function<TextLink, TextLinkSpan> DEFAULT_SPAN_FACTORY =
44 textLink -> new TextLinkSpan(textLink);
48 private final Function<TextLink, TextLinkSpan> mSpanFactory;
53 Function<TextLink, TextLinkSpan> spanFactory) { in TextLinksParams()
126 final TextLinkSpan span = mSpanFactory.apply(link); in apply()
159 private Function<TextLink, TextLinkSpan> mSpanFactory = DEFAULT_SPAN_FACTORY;
178 public Builder setSpanFactory(@Nullable Function<TextLink, TextLinkSpan> spanFactory) { in setSpanFactory()
DTextLinks.java157 @Nullable Function<TextLink, TextLinkSpan> spanFactory) { in apply()
572 public static class TextLinkSpan extends ClickableSpan { class in TextLinks
592 public TextLinkSpan(@NonNull TextLink textLink) { in TextLinkSpan() method in TextLinks.TextLinkSpan
/frameworks/base/core/java/android/text/method/
DLinkMovementMethod.java29 import android.view.textclassifier.TextLinks.TextLinkSpan;
147 if (link instanceof TextLinkSpan) { in action()
148 ((TextLinkSpan) link).onClick(widget, TextLinkSpan.INVOCATION_METHOD_KEYBOARD); in action()
228 if (link instanceof TextLinkSpan) { in onTouchEvent()
229 ((TextLinkSpan) link).onClick( in onTouchEvent()
230 widget, TextLinkSpan.INVOCATION_METHOD_TOUCH); in onTouchEvent()
/frameworks/base/core/java/android/widget/
DTextView.java12439 public boolean requestActionMode(@NonNull TextLinks.TextLinkSpan clickedSpan) { in requestActionMode()
12464 public boolean handleClick(@NonNull TextLinks.TextLinkSpan clickedSpan) { in handleClick()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt82704 Landroid/view/textclassifier/TextLinks$TextLinkSpan$InvocationMethod;
82705 Landroid/view/textclassifier/TextLinks$TextLinkSpan;->getUrl()Ljava/lang/String;
82706 Landroid/view/textclassifier/TextLinks$TextLinkSpan;->INVOCATION_METHOD_KEYBOARD:I
82707 Landroid/view/textclassifier/TextLinks$TextLinkSpan;->INVOCATION_METHOD_TOUCH:I
82708 Landroid/view/textclassifier/TextLinks$TextLinkSpan;->INVOCATION_METHOD_UNSPECIFIED:I
82709 Landroid/view/textclassifier/TextLinks$TextLinkSpan;->mTextLink:Landroid/view/textclassifier/TextLi…
82710 Landroid/view/textclassifier/TextLinks$TextLinkSpan;->onClick(Landroid/view/View;I)V
91046 Landroid/widget/TextView;->handleClick(Landroid/view/textclassifier/TextLinks$TextLinkSpan;)Z
91168 Landroid/widget/TextView;->requestActionMode(Landroid/view/textclassifier/TextLinks$TextLinkSpan;)Z
/frameworks/base/api/
Dcurrent.txt53784 …ndroid.view.textclassifier.TextLinks.TextLink,android.view.textclassifier.TextLinks.TextLinkSpan>);
53839 public static class TextLinks.TextLinkSpan extends android.text.style.ClickableSpan {
53840 ctor public TextLinks.TextLinkSpan(@NonNull android.view.textclassifier.TextLinks.TextLink);