Home
last modified time | relevance | path

Searched refs:TextClassification (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java96 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()
DTextClassifierEventTest.java41 private static final TextClassification TEXT_CLASSIFICATION = new TextClassification.Builder()
/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java49 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()
DTextClassification.java105 public final class TextClassification implements Parcelable { class
110 public static final TextClassification EMPTY = new TextClassification.Builder().build();
134 private TextClassification( in TextClassification() method in TextClassification
499 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 …]
DTextClassification.aidl19 parcelable TextClassification;
20 parcelable TextClassification.Request;
DTextClassifier.java270 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()
DSystemTextClassifier.java109 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
114 final BlockingCallback<TextClassification> callback = in classifyText()
117 final TextClassification classification = callback.get(); in classifyText()
DTextClassificationSession.java69 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
DSelectionEvent.java256 int start, int end, @NonNull TextClassification classification) { in createSelectionModifiedEvent()
328 @NonNull TextClassification classification) { in createSelectionActionEvent()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java42 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 …]
DEditor.java119 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()
DTextView.java181 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()
/frameworks/base/core/java/android/service/textclassifier/
DITextClassifierService.aidl22 import android.view.textclassifier.TextClassification;
44 in TextClassification.Request request, in onClassifyText()
DTextClassifierService.java43 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()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java51 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()
/frameworks/base/config/
Dpreloaded-classes7342 android.view.textclassifier.-$$Lambda$TextClassification$ysasaE5ZkXkkzjVWIJ06GTV92-g
7367 android.view.textclassifier.TextClassification$1
7368 android.view.textclassifier.TextClassification$Builder
7369 android.view.textclassifier.TextClassification$Request$1
7370 android.view.textclassifier.TextClassification$Request$Builder
7371 android.view.textclassifier.TextClassification$Request
7372 android.view.textclassifier.TextClassification
Dboot-image-profile.txt17927 …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)V
24911 HSPLandroid/view/textclassifier/TextClassification;-><init>(Landroid/os/Parcel;)V
[all …]
/frameworks/base/api/
Dtest-current.txt3798TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
Dcurrent.txt57393 …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 …]
Dsystem-current.txt10077TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/non-updatable-api/
Dsystem-current.txt8959TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
/frameworks/base/services/
Dart-profile31192 …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…