Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierTest.java146 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText()
151 TextClassification classification = mClassifier.classifyText(request); in testClassifyText()
163 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_url()
168 TextClassification classification = mClassifier.classifyText(request); in testClassifyText_url()
178 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_address()
183 TextClassification classification = mClassifier.classifyText(request); in testClassifyText_address()
195 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_url_inCaps()
200 TextClassification classification = mClassifier.classifyText(request); in testClassifyText_url_inCaps()
213 TextClassification.Request request = new TextClassification.Request.Builder( in testClassifyText_date()
218 TextClassification classification = mClassifier.classifyText(request); in testClassifyText_date()
[all …]
DTextClassificationTest.java94 final TextClassification reference = new TextClassification.Builder() in testParcel()
108 final TextClassification result = TextClassification.CREATOR.createFromParcel(parcel); in testParcel()
164 final TextClassification reference = new TextClassification.Builder() in testParcelLegacy()
176 final TextClassification result = TextClassification.CREATOR.createFromParcel(parcel); in testParcelLegacy()
196 final TextClassification.Request reference = in testParcelParcel()
197 new TextClassification.Request.Builder(text, 0, text.length()) in testParcelParcel()
208 final TextClassification.Request result = in testParcelParcel()
209 TextClassification.Request.CREATOR.createFromParcel(parcel); in testParcelParcel()
DTextClassificationManagerTest.java86 TextClassification.Request request = new TextClassification.Request.Builder( in testCannotResolveIntent()
91 TextClassification result = classifier.classifyText(request); in testCannotResolveIntent()
92 TextClassification fallbackResult = fallback.classifyText(request); in testCannotResolveIntent()
DTextClassifierEventTest.java41 private static final TextClassification TEXT_CLASSIFICATION = new TextClassification.Builder()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java108 public final class TextClassification implements Parcelable { class
113 public static final TextClassification EMPTY = new TextClassification.Builder().build();
137 private TextClassification( in TextClassification() method in TextClassification
518 public TextClassification build() {
520 return new TextClassification(mText, mLegacyIcon, mLegacyLabel, mLegacyIntent,
807 public static final @android.annotation.NonNull Parcelable.Creator<TextClassification> CREATOR =
808 new Parcelable.Creator<TextClassification>() {
810 public TextClassification createFromParcel(Parcel in) {
811 return new TextClassification(in);
815 public TextClassification[] newArray(int size) {
[all …]
DTextClassification.aidl19 parcelable TextClassification;
20 parcelable TextClassification.Request;
DExtrasUtils.java88 public static Bundle getForeignLanguageExtra(@Nullable TextClassification classification) { in getForeignLanguageExtra()
215 public static ArrayList<Intent> getActionsIntents(@Nullable TextClassification classification) { in getActionsIntents()
228 @Nullable TextClassification classification, @Nullable String intentAction) { in findAction()
249 public static RemoteAction findTranslateAction(@Nullable TextClassification classification) { in findTranslateAction()
DTextClassifier.java254 default TextClassification classifyText(@NonNull TextClassification.Request request) { in classifyText()
257 return TextClassification.EMPTY; in classifyText()
288 default TextClassification classifyText( in classifyText()
293 final TextClassification.Request request = new TextClassification.Request.Builder( in classifyText()
DSystemTextClassifier.java100 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
106 final BlockingCallback<TextClassification> callback = in classifyText()
109 final TextClassification classification = callback.get(); in classifyText()
DTextClassificationSession.java61 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
DTextClassifierImpl.java247 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
640 private TextClassification createClassificationResult( in createClassificationResult()
644 final TextClassification.Builder builder = new TextClassification.Builder() in createClassificationResult()
687 builder.setOnClickListener(TextClassification.createIntentOnClickListener( in createClassificationResult()
688 TextClassification.createPendingIntent( in createClassificationResult()
DSelectionEvent.java258 int start, int end, @NonNull TextClassification classification) { in createSelectionModifiedEvent()
330 @NonNull TextClassification classification) { in createSelectionActionEvent()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java43 import android.view.textclassifier.TextClassification;
80 @Nullable private TextClassification mTextClassification;
200 public TextClassification getTextClassification() { in getTextClassification()
558 @Nullable TextClassification classification) { in onSelectionUpdated()
583 @Nullable TextClassification classification) { in onSelectionAction()
618 public void onTextChanged(int start, int end, TextClassification classification) { in onTextChanged()
737 @Nullable TextClassification classification, @Nullable TextSelection selection) { in logSelectionModified()
768 @Nullable TextClassification classification) { in logSelectionAction()
875 private void maybeGenerateTranslateViewEvent(@Nullable TextClassification classification) { in maybeGenerateTranslateViewEvent()
885 @Nullable TextClassification classification, String actionLabel) { in maybeGenerateTranslateClickEvent()
[all …]
DEditor.java117 import android.view.textclassifier.TextClassification;
4082 final TextClassification textClassification = in updateAssistMenuItems()
4101 mAssistClickHandlers.put(item, TextClassification.createIntentOnClickListener( in updateAssistMenuItems()
4102 TextClassification.createPendingIntent(mTextView.getContext(), in updateAssistMenuItems()
4124 TextClassification.createIntentOnClickListener(action.getActionIntent())); in addAssistMenuItem()
4140 private boolean hasLegacyAssistItem(TextClassification classification) { in hasLegacyAssistItem()
4150 final TextClassification textClassification = in onAssistMenuItemClicked()
4161 onClickListener = TextClassification.createIntentOnClickListener( in onAssistMenuItemClicked()
4162 TextClassification.createPendingIntent( in onAssistMenuItemClicked()
DTextView.java177 import android.view.textclassifier.TextClassification;
12471 final TextClassification.Request request = new TextClassification.Request.Builder( in handleClick()
12475 final Supplier<TextClassification> supplier = () -> in handleClick()
12477 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.java42 import android.view.textclassifier.TextClassification;
127 TextClassification.Request request, ITextClassifierCallback callback) {
238 @NonNull TextClassification.Request request, in onClassifyText()
240 @NonNull Callback<TextClassification> callback); in onClassifyText()
/frameworks/base/core/java/android/view/textclassifier/intent/
DLabeledIntent.java31 import android.view.textclassifier.TextClassification;
143 TextClassification.createPendingIntent(context, resolvedIntent, requestCode); in resolve()
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java26 import android.view.textclassifier.TextClassification;
478 int start, int end, @NonNull TextClassification classification) { in selectionModified()
546 @NonNull TextClassification classification) { in selectionAction()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java38 import android.view.textclassifier.TextClassification;
159 TextClassification.Request request, ITextClassifierCallback callback) in onClassifyText()
/frameworks/base/config/
Dpreloaded-classes4132 android.view.textclassifier.TextClassification$1
4133 android.view.textclassifier.TextClassification$Builder
4134 android.view.textclassifier.TextClassification
Dhiddenapi-greylist-max-o.txt68805 …extClassificationCallback$Stub$Proxy;->onSuccess(Landroid/view/textclassifier/TextClassification;)V
68814 …assifier/ITextClassificationCallback;->onSuccess(Landroid/view/textclassifier/TextClassification;)V
68819 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land…
68836 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land…
68875 …lassifyText(Ljava/lang/CharSequence;IILandroid/view/textclassifier/TextClassification$Options;Land…
82324 …lassifier$TextClassificationCallback;->onSuccess(Landroid/view/textclassifier/TextClassification;)V
82344 Landroid/view/textclassifier/TextClassification$Builder;->mActions:Ljava/util/List;
82345 Landroid/view/textclassifier/TextClassification$Builder;->mEntityConfidence:Ljava/util/Map;
82346 Landroid/view/textclassifier/TextClassification$Builder;->mId:Ljava/lang/String;
82347 Landroid/view/textclassifier/TextClassification$Builder;->mLegacyIcon:Landroid/graphics/drawable/Dr…
[all …]
Dboot-image-profile.txt18285 HSPLandroid/view/textclassifier/TextClassification$1;-><init>()V
18286 HSPLandroid/view/textclassifier/TextClassification$Builder;-><init>()V
18287 HSPLandroid/view/textclassifier/TextClassification$Builder;->build()Landroid/view/textclassifier/Te…
18288 HSPLandroid/view/textclassifier/TextClassification$Builder;->buildExtras()Landroid/os/Bundle;
36857 Landroid/view/textclassifier/TextClassification$1;
36858 Landroid/view/textclassifier/TextClassification$Builder;
36859 Landroid/view/textclassifier/TextClassification;
/frameworks/base/api/
Dcurrent.txt53463 …createSelectionActionEvent(int, int, int, @NonNull android.view.textclassifier.TextClassification);
53465 …nt createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextClassification);
53509 public final class TextClassification implements android.os.Parcelable {
53523 …static final android.os.Parcelable.Creator<android.view.textclassifier.TextClassification> CREATOR;
53526 public static final class TextClassification.Builder {
53527 ctor public TextClassification.Builder();
53528 …method @NonNull public android.view.textclassifier.TextClassification.Builder addAction(@NonNull a…
53529 method @NonNull public android.view.textclassifier.TextClassification build();
53530 …method @NonNull public android.view.textclassifier.TextClassification.Builder setEntityType(@NonNu…
53531 …method @NonNull public android.view.textclassifier.TextClassification.Builder setExtras(@Nullable …
[all …]
Dsystem-current.txt6761TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…

12