Searched refs:TextClassification (Results 1 – 23 of 23) sorted by relevance
96 final TextClassification reference = new TextClassification.Builder() in testParcel()110 final TextClassification result = TextClassification.CREATOR.createFromParcel(parcel); in testParcel()166 final TextClassification reference = new TextClassification.Builder() in testParcelLegacy()178 final TextClassification result = TextClassification.CREATOR.createFromParcel(parcel); in testParcelLegacy()198 final TextClassification.Request reference = in testParcelParcel()199 new TextClassification.Request.Builder(text, 0, text.length()) in testParcelParcel()212 final TextClassification.Request result = in testParcelParcel()213 TextClassification.Request.CREATOR.createFromParcel(parcel); in testParcelParcel()236 final TextClassification classification = new TextClassification.Builder() in testToBuilder()249 final TextClassification fromBuilder = classification.toBuilder().build(); in testToBuilder()
41 private static final TextClassification TEXT_CLASSIFICATION = new TextClassification.Builder()
49 public static Bundle getForeignLanguageExtra(@Nullable TextClassification classification) { in getForeignLanguageExtra()68 public static ArrayList<Intent> getActionsIntents(@Nullable TextClassification classification) { in getActionsIntents()81 @Nullable TextClassification classification, @Nullable String intentAction) { in findAction()102 public static RemoteAction findTranslateAction(@Nullable TextClassification classification) { in findTranslateAction()
105 public final class TextClassification implements Parcelable { class110 public static final TextClassification EMPTY = new TextClassification.Builder().build();134 private TextClassification( in TextClassification() method in TextClassification499 public TextClassification build() {501 return new TextClassification(mText, mLegacyIcon, mLegacyLabel, mLegacyIntent,757 public static final @android.annotation.NonNull Parcelable.Creator<TextClassification> CREATOR =758 new Parcelable.Creator<TextClassification>() {760 public TextClassification createFromParcel(Parcel in) {761 return new TextClassification(in);765 public TextClassification[] newArray(int size) {[all …]
19 parcelable TextClassification;20 parcelable TextClassification.Request;
270 default TextClassification classifyText(@NonNull TextClassification.Request request) { in classifyText()273 return TextClassification.EMPTY; in classifyText()304 default TextClassification classifyText( in classifyText()309 final TextClassification.Request request = new TextClassification.Request.Builder( in classifyText()
109 public TextClassification classifyText(TextClassification.Request request) { in classifyText()114 final BlockingCallback<TextClassification> callback = in classifyText()117 final TextClassification classification = callback.get(); in classifyText()
69 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
256 int start, int end, @NonNull TextClassification classification) { in createSelectionModifiedEvent()328 @NonNull TextClassification classification) { in createSelectionActionEvent()
42 import android.view.textclassifier.TextClassification;79 @Nullable private TextClassification mTextClassification;232 public TextClassification getTextClassification() { in getTextClassification()592 @Nullable TextClassification classification) { in onSelectionUpdated()617 @Nullable TextClassification classification) { in onSelectionAction()653 public void onTextChanged(int start, int end, TextClassification classification) { in onTextChanged()772 @Nullable TextClassification classification, @Nullable TextSelection selection) { in logSelectionModified()803 @Nullable TextClassification classification) { in logSelectionAction()910 private void maybeGenerateTranslateViewEvent(@Nullable TextClassification classification) { in maybeGenerateTranslateViewEvent()920 @Nullable TextClassification classification, String actionLabel) { in maybeGenerateTranslateClickEvent()[all …]
119 import android.view.textclassifier.TextClassification;4228 final TextClassification textClassification = in updateAssistMenuItems()4247 mAssistClickHandlers.put(item, TextClassification.createIntentOnClickListener( in updateAssistMenuItems()4248 TextClassification.createPendingIntent(mTextView.getContext(), in updateAssistMenuItems()4270 TextClassification.createIntentOnClickListener(action.getActionIntent())); in addAssistMenuItem()4286 private boolean hasLegacyAssistItem(TextClassification classification) { in hasLegacyAssistItem()4296 final TextClassification textClassification = in onAssistMenuItemClicked()4307 onClickListener = TextClassification.createIntentOnClickListener( in onAssistMenuItemClicked()4308 TextClassification.createPendingIntent( in onAssistMenuItemClicked()
181 import android.view.textclassifier.TextClassification;12650 final TextClassification.Request request = new TextClassification.Request.Builder( in handleClick()12654 final Supplier<TextClassification> supplier = () -> in handleClick()12656 final Consumer<TextClassification> consumer = classification -> { in handleClick()
22 import android.view.textclassifier.TextClassification;44 in TextClassification.Request request, in onClassifyText()
43 import android.view.textclassifier.TextClassification;142 TextClassification.Request request, ITextClassifierCallback callback) {279 @NonNull TextClassification.Request request, in onClassifyText()281 @NonNull Callback<TextClassification> callback); in onClassifyText()
51 import android.view.textclassifier.TextClassification;201 TextClassification.Request request, ITextClassifierCallback callback) in onClassifyText()1051 if (parcelled instanceof TextClassification) { in onSuccess()1066 final TextClassification classification = TextClassifierService.getResponse(result); in rewriteTextClassificationIcons()
7342 android.view.textclassifier.-$$Lambda$TextClassification$ysasaE5ZkXkkzjVWIJ06GTV92-g7367 android.view.textclassifier.TextClassification$17368 android.view.textclassifier.TextClassification$Builder7369 android.view.textclassifier.TextClassification$Request$17370 android.view.textclassifier.TextClassification$Request$Builder7371 android.view.textclassifier.TextClassification$Request7372 android.view.textclassifier.TextClassification
17927 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land…24892 …ssifyText(Landroid/view/textclassifier/TextClassification$Request;)Landroid/view/textclassifier/Te…24904 …id/view/textclassifier/TextClassification$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/t…24905 HSPLandroid/view/textclassifier/TextClassification$1;->createFromParcel(Landroid/os/Parcel;)Ljava/l…24906 …iew/textclassifier/TextClassification$Request$1;->createFromParcel(Landroid/os/Parcel;)Landroid/vi…24907 HSPLandroid/view/textclassifier/TextClassification$Request$1;->createFromParcel(Landroid/os/Parcel;…24908 HSPLandroid/view/textclassifier/TextClassification$Request;-><init>(Ljava/lang/CharSequence;IILandr…24909 …/view/textclassifier/TextClassification$Request;->readFromParcel(Landroid/os/Parcel;)Landroid/view…24910 HSPLandroid/view/textclassifier/TextClassification$Request;->writeToParcel(Landroid/os/Parcel;I)V24911 HSPLandroid/view/textclassifier/TextClassification;-><init>(Landroid/os/Parcel;)V[all …]
3798 …TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
57393 …createSelectionActionEvent(int, int, int, @NonNull android.view.textclassifier.TextClassification);57395 …nt createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextClassification);57439 public final class TextClassification implements android.os.Parcelable {57453 …static final android.os.Parcelable.Creator<android.view.textclassifier.TextClassification> CREATOR;57456 public static final class TextClassification.Builder {57457 ctor public TextClassification.Builder();57458 …method @NonNull public android.view.textclassifier.TextClassification.Builder addAction(@NonNull a…57459 method @NonNull public android.view.textclassifier.TextClassification build();57460 …method @NonNull public android.view.textclassifier.TextClassification.Builder setEntityType(@NonNu…57461 …method @NonNull public android.view.textclassifier.TextClassification.Builder setExtras(@Nullable …[all …]
10077 …TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
META-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
8959 …TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
31192 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land…31296 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land…31305 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land…