Home
last modified time | relevance | path

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

/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
DTextLinks.java48 private final List<TextLink> mLinks;
83 private TextLinks(String fullText, ArrayList<TextLink> links) { in TextLinks()
91 public Collection<TextLink> getLinks() { in getLinks()
123 for (TextLink link : mLinks) { in apply()
176 mLinks = in.createTypedArrayList(TextLink.CREATOR); in TextLinks()
182 public static final class TextLink implements Parcelable { class in TextLinks
192 TextLink(int start, int end, @NonNull Map<String, Float> entityScores) { in TextLink() method in TextLinks.TextLink
259 public static final Parcelable.Creator<TextLink> CREATOR =
260 new Parcelable.Creator<TextLink>() {
262 public TextLink createFromParcel(Parcel in) {
[all …]
/frameworks/base/core/java/android/view/textclassifier/
DTextLinks.java96 private final List<TextLink> mLinks;
98 private TextLinks(String fullText, ArrayList<TextLink> links) { in TextLinks()
116 public Collection<TextLink> getLinks() { in getLinks()
140 @Nullable Function<TextLink, TextLinkSpan> spanFactory) { in apply() argument
180 mLinks = in.createTypedArrayList(TextLink.CREATOR); in TextLinks()
186 public static final class TextLink implements Parcelable { class in TextLinks
202 TextLink(int start, int end, Map<String, Float> entityScores, in TextLink() method in TextLinks.TextLink
278 public static final Parcelable.Creator<TextLink> CREATOR =
279 new Parcelable.Creator<TextLink>() {
281 public TextLink createFromParcel(Parcel in) {
[all …]
DTextLinksParams.java25 import android.view.textclassifier.TextLinks.TextLink;
43 private static final Function<TextLink, TextLinkSpan> DEFAULT_SPAN_FACTORY =
48 private final Function<TextLink, TextLinkSpan> mSpanFactory;
53 Function<TextLink, TextLinkSpan> spanFactory) { in TextLinksParams() argument
118 for (TextLink link : textLinks.getLinks()) { in apply()
152 private Function<TextLink, TextLinkSpan> mSpanFactory = DEFAULT_SPAN_FACTORY;
171 public Builder setSpanFactory(@Nullable Function<TextLink, TextLinkSpan> spanFactory) { in setSpanFactory() argument
DGenerateLinksLogger.java80 for (TextLinks.TextLink link : links.getLinks()) { in logGenerateLinks()
156 void countLink(TextLinks.TextLink link) { in countLink()
/frameworks/support/textclassifier/api_legacy/
Dcurrent.txt60 method public java.util.Collection<androidx.textclassifier.TextLinks.TextLink> getLinks();
94 public static final class TextLinks.TextLink implements android.os.Parcelable {
102 …lic static final android.os.Parcelable.Creator<androidx.textclassifier.TextLinks.TextLink> CREATOR;
106 ctor public TextLinks.TextLinkSpan(androidx.textclassifier.TextLinks.TextLink);
107 method public final androidx.textclassifier.TextLinks.TextLink getTextLink();
D28.0.0-alpha1.txt60 method public java.util.Collection<androidx.view.textclassifier.TextLinks.TextLink> getLinks();
94 public static final class TextLinks.TextLink implements android.os.Parcelable {
102 …tatic final android.os.Parcelable.Creator<androidx.view.textclassifier.TextLinks.TextLink> CREATOR;
106 ctor public TextLinks.TextLinkSpan(androidx.view.textclassifier.TextLinks.TextLink);
107 method public final androidx.view.textclassifier.TextLinks.TextLink getTextLink();
/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/
DTextLinksTest.java56 CustomTextLinkSpan(@Nullable TextLinks.TextLink textLink) { in CustomTextLinkSpan()
63 public TextLinks.TextLinkSpan createSpan(TextLinks.TextLink textLink) { in createSpan()
107 final List<TextLinks.TextLink> resultList = new ArrayList<>(result.getLinks()); in testParcel()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextLinksTest.java69 final List<TextLinks.TextLink> resultList = new ArrayList<>(result.getLinks()); in testParcel()
DTextClassificationManagerTest.java415 for (TextLinks.TextLink link : ((TextLinks) o).getLinks()) {
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java321 TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.textview); in testToolbarAppearsAfterLinkClicked()
331 final TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testToolbarAppearsAfterLinkClickedNonselectable()
357 final TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testSelectionRemovedWhenNonselectableTextLosesFocus()
376 TextLinks.TextLink textLink = addLinkifiedTextToTextView(R.id.nonselectable_textview); in testSelectionRemovedFromNonselectableTextWhenWindowLosesFocus()
395 private TextLinks.TextLink addLinkifiedTextToTextView(int id) throws Throwable { in addLinkifiedTextToTextView()
/frameworks/base/config/
Dhiddenapi-public-dex.txt50157 Landroid/view/textclassifier/TextLinks$TextLink;
50158 Landroid/view/textclassifier/TextLinks$TextLink;->CREATOR:Landroid/os/Parcelable$Creator;
50159 Landroid/view/textclassifier/TextLinks$TextLink;->describeContents()I
50160 Landroid/view/textclassifier/TextLinks$TextLink;->getConfidenceScore(Ljava/lang/String;)F
50161 Landroid/view/textclassifier/TextLinks$TextLink;->getEnd()I
50162 Landroid/view/textclassifier/TextLinks$TextLink;->getEntity(I)Ljava/lang/String;
50163 Landroid/view/textclassifier/TextLinks$TextLink;->getEntityCount()I
50164 Landroid/view/textclassifier/TextLinks$TextLink;->getStart()I
50165 Landroid/view/textclassifier/TextLinks$TextLink;->toString()Ljava/lang/String;
50166 Landroid/view/textclassifier/TextLinks$TextLink;->writeToParcel(Landroid/os/Parcel;I)V
[all …]
Dboot-image-profile.txt7093 HPLandroid/view/textclassifier/TextLinks$TextLink$1;-><init>()V
7094 HPLandroid/view/textclassifier/TextLinks$TextLink;-><init>(IILjava/util/Map;Landroid/text/style/URL…
7095 HPLandroid/view/textclassifier/TextLinks$TextLink;->writeToParcel(Landroid/os/Parcel;I)V
59128 Landroid/view/textclassifier/TextLinks$TextLink$1;
59129 Landroid/view/textclassifier/TextLinks$TextLink;
/frameworks/base/api/
Dcurrent.txt50571 … int, java.util.function.Function<android.view.textclassifier.TextLinks.TextLink, android.view.tex…
50573 method public java.util.Collection<android.view.textclassifier.TextLinks.TextLink> getLinks();
50607 public static final class TextLinks.TextLink implements android.os.Parcelable {
50615 …static final android.os.Parcelable.Creator<android.view.textclassifier.TextLinks.TextLink> CREATOR;
50619 ctor public TextLinks.TextLinkSpan(android.view.textclassifier.TextLinks.TextLink);
50620 method public final android.view.textclassifier.TextLinks.TextLink getTextLink();