Home
last modified time | relevance | path

Searched refs:TextLink (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DTextLinks.java101 private final List<TextLink> mLinks;
104 private TextLinks(String fullText, ArrayList<TextLink> links, Bundle extras) { in TextLinks()
122 public Collection<TextLink> getLinks() { in getLinks()
156 @Nullable Function<TextLink, TextLinkSpan> spanFactory) { in apply() argument
197 mLinks = in.createTypedArrayList(TextLink.CREATOR); in TextLinks()
204 public static final class TextLink implements Parcelable { class in TextLinks
223 private TextLink(int start, int end, @NonNull EntityConfidence entityConfidence, in TextLink() method in TextLinks.TextLink
310 private static TextLink readFromParcel(Parcel in) { in readFromParcel()
315 return new TextLink(start, end, entityConfidence, extras, null /* urlSpan */); in readFromParcel()
318 public static final @android.annotation.NonNull Parcelable.Creator<TextLink> CREATOR =
[all …]
DTextLinksParams.java25 import android.view.textclassifier.TextLinks.TextLink;
42 private static final Function<TextLink, TextLinkSpan> DEFAULT_SPAN_FACTORY =
47 private final Function<TextLink, TextLinkSpan> mSpanFactory;
52 Function<TextLink, TextLinkSpan> spanFactory) { in TextLinksParams() argument
124 for (TextLink link : textLinks.getLinks()) { in apply()
158 private Function<TextLink, TextLinkSpan> mSpanFactory = DEFAULT_SPAN_FACTORY;
177 public Builder setSpanFactory(@Nullable Function<TextLink, TextLinkSpan> spanFactory) { in setSpanFactory() argument
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLinksTest.java83 final List<TextLinks.TextLink> resultList = new ArrayList<>(result.getLinks()); in testParcel()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java330 TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.textview); in testToolbarAppearsAfterLinkClicked()
340 final TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testToolbarAppearsAfterLinkClickedNonselectable()
380 final TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testSelectionRemovedWhenNonselectableTextLosesFocus()
399 TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testSelectionRemovedFromNonselectableTextWhenWindowLosesFocus()
418 private TextLinks.TextLink addLinkifiedTextToTextView(int id) throws Throwable { in addLinkifiedTextToTextView()
/frameworks/base/config/
Dpreloaded-classes7411 android.view.textclassifier.TextLinks$TextLink$1
7412 android.view.textclassifier.TextLinks$TextLink
Dboot-image-profile.txt47733 Landroid/view/textclassifier/TextLinks$TextLink$1;
47734 Landroid/view/textclassifier/TextLinks$TextLink;
/frameworks/base/api/
Dcurrent.txt57716 …lable java.util.function.Function<android.view.textclassifier.TextLinks.TextLink,android.view.text…
57719 …method @NonNull public java.util.Collection<android.view.textclassifier.TextLinks.TextLink> getLin…
57762 public static final class TextLinks.TextLink implements android.os.Parcelable {
57771 …static final android.os.Parcelable.Creator<android.view.textclassifier.TextLinks.TextLink> CREATOR;
57775 ctor public TextLinks.TextLinkSpan(@NonNull android.view.textclassifier.TextLinks.TextLink);
57776 method public final android.view.textclassifier.TextLinks.TextLink getTextLink();
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...