Searched refs:TextLinks (Results 1 – 21 of 21) sorted by relevance
25 import android.view.textclassifier.TextLinks.TextLink;26 import android.view.textclassifier.TextLinks.TextLinkSpan;45 @TextLinks.ApplyStrategy51 @TextLinks.ApplyStrategy int applyStrategy, in TextLinksParams()103 @TextLinks.Status104 public int apply(@NonNull Spannable text, @NonNull TextLinks textLinks) { in apply()113 return TextLinks.STATUS_UNSUPPORTED_CHARACTER; in apply()117 return TextLinks.STATUS_DIFFERENT_TEXT; in apply()120 return TextLinks.STATUS_NO_LINKS_FOUND; in apply()130 if (mApplyStrategy == TextLinks.APPLY_STRATEGY_REPLACE) { in apply()[all …]
57 public final class TextLinks implements Parcelable { class104 private TextLinks(String fullText, ArrayList<TextLink> links, Bundle extras) { in TextLinks() method in TextLinks182 public static final @android.annotation.NonNull Parcelable.Creator<TextLinks> CREATOR =183 new Parcelable.Creator<TextLinks>() {185 public TextLinks createFromParcel(Parcel in) {186 return new TextLinks(in);190 public TextLinks[] newArray(int size) {191 return new TextLinks[size];195 private TextLinks(Parcel in) { in TextLinks() method in TextLinks753 public TextLinks build() { in build()[all …]
19 parcelable TextLinks;20 parcelable TextLinks.Request;
331 default TextLinks generateLinks(@NonNull TextLinks.Request request) { in generateLinks()334 return new TextLinks.Builder(request.getText().toString()).build(); in generateLinks()735 public static TextLinks generateLegacyLinks(@NonNull TextLinks.Request request) { in generateLegacyLinks()737 final TextLinks.Builder links = new TextLinks.Builder(string); in generateLegacyLinks()755 TextLinks.Builder links, String string, @EntityType String entityType) { in addLinks()
132 public TextLinks generateLinks(@NonNull TextLinks.Request request) { in generateLinks()144 final BlockingCallback<TextLinks> callback = in generateLinks()147 final TextLinks links = callback.get(); in generateLinks()
75 public TextLinks generateLinks(TextLinks.Request request) { in generateLinks()
72 final TextLinks reference = new TextLinks.Builder(fullText) in testParcel()82 final TextLinks result = TextLinks.CREATOR.createFromParcel(parcel); in testParcel()83 final List<TextLinks.TextLink> resultList = new ArrayList<>(result.getLinks()); in testParcel()114 final TextLinks.Request reference = new TextLinks.Request.Builder("text") in testParcelOptions()128 final TextLinks.Request result = TextLinks.Request.CREATOR.createFromParcel(parcel); in testParcelOptions()
26 import android.view.textclassifier.TextLinks;49 in TextLinks.Request request, in onGenerateLinks()
50 import android.view.textclassifier.TextLinks;152 TextLinks.Request request, ITextClassifierCallback callback) {295 @NonNull TextLinks.Request request, in onGenerateLinks()297 @NonNull Callback<TextLinks> callback); in onGenerateLinks()
83 import android.view.textclassifier.TextLinks;330 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()425 TextLinks.Request request = new TextLinks.Request.Builder(content).build(); in addLinkifiedTextToTextView()426 TextLinks links = textClassifier.generateLinks(request); in addLinkifiedTextToTextView()428 .setApplyStrategy(TextLinks.APPLY_STRATEGY_REPLACE) in addLinkifiedTextToTextView()
29 import android.view.textclassifier.TextLinks.TextLinkSpan;
58 import android.view.textclassifier.TextLinks;218 TextLinks.Request request, ITextClassifierCallback callback) in onGenerateLinks()
185 import android.view.textclassifier.TextLinks;12618 public boolean requestActionMode(@NonNull TextLinks.TextLinkSpan clickedSpan) { in requestActionMode()12643 public boolean handleClick(@NonNull TextLinks.TextLinkSpan clickedSpan) { in handleClick()
7407 android.view.textclassifier.TextLinks$17408 android.view.textclassifier.TextLinks$Builder7409 android.view.textclassifier.TextLinks$Request$17410 android.view.textclassifier.TextLinks$Request7411 android.view.textclassifier.TextLinks$TextLink$17412 android.view.textclassifier.TextLinks$TextLink7413 android.view.textclassifier.TextLinks$TextLinkSpan7414 android.view.textclassifier.TextLinks
17931 …textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextLinks$Request;Landroid…24967 …android/view/textclassifier/TextLinks$Request$1;->createFromParcel(Landroid/os/Parcel;)Landroid/vi…24968 HSPLandroid/view/textclassifier/TextLinks$Request$1;->createFromParcel(Landroid/os/Parcel;)Ljava/la…24969 HSPLandroid/view/textclassifier/TextLinks$Request;-><init>(Ljava/lang/CharSequence;Landroid/os/Loca…24970 HSPLandroid/view/textclassifier/TextLinks$Request;->access$300(Landroid/os/Parcel;)Landroid/view/te…24971 HSPLandroid/view/textclassifier/TextLinks$Request;->getCallingPackageName()Ljava/lang/String;24972 …PLandroid/view/textclassifier/TextLinks$Request;->readFromParcel(Landroid/os/Parcel;)Landroid/view…24973 HSPLandroid/view/textclassifier/TextLinks$Request;->setSystemTextClassifierMetadata(Landroid/view/t…24974 HSPLandroid/view/textclassifier/TextLinks$Request;->writeToParcel(Landroid/os/Parcel;I)V47729 Landroid/view/textclassifier/TextLinks$1;[all …]
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
3804 …TextLinks.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier…
57529 …blic default android.view.textclassifier.TextLinks generateLinks(@NonNull android.view.textclassif…57715 public final class TextLinks implements android.os.Parcelable {57716 …l.function.Function<android.view.textclassifier.TextLinks.TextLink,android.view.textclassifier.Tex…57719 …method @NonNull public java.util.Collection<android.view.textclassifier.TextLinks.TextLink> getLin…57724 …l public static final android.os.Parcelable.Creator<android.view.textclassifier.TextLinks> CREATOR;57732 public static final class TextLinks.Builder {57733 ctor public TextLinks.Builder(@NonNull String);57734 …method @NonNull public android.view.textclassifier.TextLinks.Builder addLink(int, int, @NonNull ja…57735 …method @NonNull public android.view.textclassifier.TextLinks.Builder addLink(int, int, @NonNull ja…57736 method @NonNull public android.view.textclassifier.TextLinks build();[all …]
10083 …TextLinks.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier…
8965 …TextLinks.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassifier…
31188 …textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextLinks$Request;Landroid…31299 …textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextLinks$Request;Landroid…31308 …textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextLinks$Request;Landroid…