Home
last modified time | relevance | path

Searched refs:textLink (Results 1 – 5 of 5) sorted by relevance

/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
DTextLinks.java454 TextLinkSpan createSpan(TextLink textLink); in createSpan() argument
464 public TextLinkSpan(@Nullable TextLink textLink) { in TextLinkSpan() argument
465 mTextLink = textLink; in TextLinkSpan()
528 public TextLinkSpan createSpan(TextLink textLink) {
529 return new TextLinkSpan(textLink);
/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/
DTextLinksTest.java56 CustomTextLinkSpan(@Nullable TextLinks.TextLink textLink) { in CustomTextLinkSpan() argument
57 super(textLink); in CustomTextLinkSpan()
63 public TextLinks.TextLinkSpan createSpan(TextLinks.TextLink textLink) { in createSpan() argument
64 return new CustomTextLinkSpan(textLink); in createSpan()
/frameworks/base/core/java/android/view/textclassifier/
DTextLinksParams.java44 textLink -> new TextLinkSpan(textLink);
DTextLinks.java524 public TextLinkSpan(@NonNull TextLink textLink) { in TextLinkSpan() argument
525 mTextLink = textLink; in TextLinkSpan()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java321 TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.textview); in testToolbarAppearsAfterLinkClicked() local
322 int position = (textLink.getStart() + textLink.getEnd()) / 2; in testToolbarAppearsAfterLinkClicked()
331 final TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testToolbarAppearsAfterLinkClickedNonselectable() local
332 final int position = (textLink.getStart() + textLink.getEnd()) / 2; in testToolbarAppearsAfterLinkClickedNonselectable()
357 final TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testSelectionRemovedWhenNonselectableTextLosesFocus() local
358 final int position = (textLink.getStart() + textLink.getEnd()) / 2; in testSelectionRemovedWhenNonselectableTextLosesFocus()
376 TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testSelectionRemovedFromNonselectableTextWhenWindowLosesFocus() local
377 int nonselectablePosition = (textLink.getStart() + textLink.getEnd()) / 2; in testSelectionRemovedFromNonselectableTextWhenWindowLosesFocus()