Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
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()
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 …]
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.aidl19 parcelable TextClassification;
20 parcelable TextClassification.Request;
DTextClassification.java106 public final class TextClassification implements Parcelable { class
111 public static final TextClassification EMPTY = new TextClassification.Builder().build();
135 private TextClassification( in TextClassification() method in TextClassification
516 public TextClassification build() {
518 return new TextClassification(mText, mLegacyIcon, mLegacyLabel, mLegacyIntent,
782 public static final @android.annotation.NonNull Parcelable.Creator<TextClassification> CREATOR =
783 new Parcelable.Creator<TextClassification>() {
785 public TextClassification createFromParcel(Parcel in) {
786 return new TextClassification(in);
790 public TextClassification[] newArray(int size) {
[all …]
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()
DSystemTextClassifier.java93 public TextClassification classifyText(TextClassification.Request request) { in classifyText()
98 final BlockingCallback<TextClassification> callback = in classifyText()
101 final TextClassification classification = callback.get(); in classifyText()
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()
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.java253 int start, int end, @NonNull TextClassification classification) { in createSelectionModifiedEvent()
325 @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;
12457 final TextClassification.Request request = new TextClassification.Request.Builder( in handleClick()
12461 final Supplier<TextClassification> supplier = () -> in handleClick()
12463 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.java37 import android.view.textclassifier.TextClassification;
154 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
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/api/
Dsystem-current.txt6761TextClassification.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textc…
/frameworks/base/services/
Dart-profile13330 …lassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassification$Request;Land…