/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassifierTest.java | 146 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 …]
|
D | TextClassificationTest.java | 94 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()
|
D | TextClassificationManagerTest.java | 86 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()
|
D | TextClassifierEventTest.java | 41 private static final TextClassification TEXT_CLASSIFICATION = new TextClassification.Builder()
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassification.java | 108 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 …]
|
D | TextClassification.aidl | 19 parcelable TextClassification; 20 parcelable TextClassification.Request;
|
D | ExtrasUtils.java | 88 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()
|
D | TextClassifier.java | 254 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()
|
D | SystemTextClassifier.java | 100 public TextClassification classifyText(TextClassification.Request request) { in classifyText() 106 final BlockingCallback<TextClassification> callback = in classifyText() 109 final TextClassification classification = callback.get(); in classifyText()
|
D | TextClassificationSession.java | 61 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
|
D | TextClassifierImpl.java | 247 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()
|
D | SelectionEvent.java | 258 int start, int end, @NonNull TextClassification classification) { in createSelectionModifiedEvent() 330 @NonNull TextClassification classification) { in createSelectionActionEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 43 import android.view.textclassifier.TextClassification; 80 @Nullable private TextClassification mTextClassification; 233 public TextClassification getTextClassification() { in getTextClassification() 594 @Nullable TextClassification classification) { in onSelectionUpdated() 619 @Nullable TextClassification classification) { in onSelectionAction() 655 public void onTextChanged(int start, int end, TextClassification classification) { in onTextChanged() 774 @Nullable TextClassification classification, @Nullable TextSelection selection) { in logSelectionModified() 805 @Nullable TextClassification classification) { in logSelectionAction() 912 private void maybeGenerateTranslateViewEvent(@Nullable TextClassification classification) { in maybeGenerateTranslateViewEvent() 922 @Nullable TextClassification classification, String actionLabel) { in maybeGenerateTranslateClickEvent() [all …]
|
D | Editor.java | 117 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()
|
D | TextView.java | 179 import android.view.textclassifier.TextClassification; 12500 final TextClassification.Request request = new TextClassification.Request.Builder( in handleClick() 12504 final Supplier<TextClassification> supplier = () -> in handleClick() 12506 final Consumer<TextClassification> consumer = classification -> { in handleClick()
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | ITextClassifierService.aidl | 22 import android.view.textclassifier.TextClassification; 44 in TextClassification.Request request, in onClassifyText()
|
D | TextClassifierService.java | 42 import android.view.textclassifier.TextClassification; 126 TextClassification.Request request, ITextClassifierCallback callback) { 237 @NonNull TextClassification.Request request, in onClassifyText() 239 @NonNull Callback<TextClassification> callback); in onClassifyText()
|
/frameworks/base/core/java/android/view/textclassifier/intent/ |
D | LabeledIntent.java | 31 import android.view.textclassifier.TextClassification; 143 TextClassification.createPendingIntent(context, resolvedIntent, requestCode); in resolve()
|
/frameworks/base/core/java/android/view/textclassifier/logging/ |
D | SmartSelectionEventTracker.java | 26 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/ |
D | TextClassificationManagerService.java | 38 import android.view.textclassifier.TextClassification; 159 TextClassification.Request request, ITextClassifierCallback callback) in onClassifyText()
|
/frameworks/base/config/ |
D | preloaded-classes | 4132 android.view.textclassifier.TextClassification$1 4133 android.view.textclassifier.TextClassification$Builder 4134 android.view.textclassifier.TextClassification
|
D | hiddenapi-greylist-max-o.txt | 64205 …extClassificationCallback$Stub$Proxy;->onSuccess(Landroid/view/textclassifier/TextClassification;)V 64212 …assifier/ITextClassificationCallback;->onSuccess(Landroid/view/textclassifier/TextClassification;)V 64216 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land… 64231 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land… 64264 …lassifyText(Ljava/lang/CharSequence;IILandroid/view/textclassifier/TextClassification$Options;Land… 76863 …lassifier$TextClassificationCallback;->onSuccess(Landroid/view/textclassifier/TextClassification;)V 76880 Landroid/view/textclassifier/TextClassification$Builder;->mActions:Ljava/util/List; 76881 Landroid/view/textclassifier/TextClassification$Builder;->mEntityConfidence:Ljava/util/Map; 76882 Landroid/view/textclassifier/TextClassification$Builder;->mId:Ljava/lang/String; 76883 Landroid/view/textclassifier/TextClassification$Builder;->mLegacyIcon:Landroid/graphics/drawable/Dr… [all …]
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 54827 …createSelectionActionEvent(int, int, int, @NonNull android.view.textclassifier.TextClassification); 54829 …nt createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextClassification); 54873 public final class TextClassification implements android.os.Parcelable { 54887 …static final android.os.Parcelable.Creator<android.view.textclassifier.TextClassification> CREATOR; 54890 public static final class TextClassification.Builder { 54891 ctor public TextClassification.Builder(); 54892 …method @NonNull public android.view.textclassifier.TextClassification.Builder addAction(@NonNull a… 54893 method @NonNull public android.view.textclassifier.TextClassification build(); 54894 …method @NonNull public android.view.textclassifier.TextClassification.Builder setEntityType(@NonNu… 54895 …method @NonNull public android.view.textclassifier.TextClassification.Builder setExtras(@Nullable … [all …]
|
/frameworks/base/api/ |
D | current.txt | 54971 …createSelectionActionEvent(int, int, int, @NonNull android.view.textclassifier.TextClassification); 54973 …nt createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextClassification); 55017 public final class TextClassification implements android.os.Parcelable { 55031 …static final android.os.Parcelable.Creator<android.view.textclassifier.TextClassification> CREATOR; 55034 public static final class TextClassification.Builder { 55035 ctor public TextClassification.Builder(); 55036 …method @NonNull public android.view.textclassifier.TextClassification.Builder addAction(@NonNull a… 55037 method @NonNull public android.view.textclassifier.TextClassification build(); 55038 …method @NonNull public android.view.textclassifier.TextClassification.Builder setEntityType(@NonNu… 55039 …method @NonNull public android.view.textclassifier.TextClassification.Builder setExtras(@Nullable … [all …]
|
D | system-current.txt | 7583 …TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
|