Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextSelectionTest.java48 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel()
60 final TextSelection result = TextSelection.CREATOR.createFromParcel(parcel); in testParcel()
80 final TextSelection.Request reference = in testParcelRequest()
81 new TextSelection.Request.Builder(text, 0, text.length()) in testParcelRequest()
91 final TextSelection.Request result = TextSelection.Request.CREATOR.createFromParcel(parcel); in testParcelRequest()
DTextClassifierTest.java89 TextSelection.Request request = new TextSelection.Request.Builder( in testSuggestSelection()
94 TextSelection selection = mClassifier.suggestSelection(request); in testSuggestSelection()
110 TextSelection.Request request = new TextSelection.Request.Builder( in testSuggestSelection_url()
115 TextSelection selection = mClassifier.suggestSelection(request); in testSuggestSelection_url()
128 TextSelection.Request request = new TextSelection.Request.Builder( in testSmartSelection_withEmoji()
133 TextSelection selection = mClassifier.suggestSelection(request); in testSmartSelection_withEmoji()
556 private static Matcher<TextSelection> isTextSelection( in isTextSelection()
558 return new BaseMatcher<TextSelection>() { in isTextSelection()
561 if (o instanceof TextSelection) { in isTextSelection()
562 TextSelection selection = (TextSelection) o; in isTextSelection()
[all …]
DTextClassifierEventTest.java36 private static final TextSelection TEXT_SELECTION = new TextSelection.Builder(10, 20)
/frameworks/base/core/java/android/view/textclassifier/
DTextSelection.java43 public final class TextSelection implements Parcelable { class
51 private TextSelection( in TextSelection() method in TextSelection
197 public TextSelection build() { in build()
198 return new TextSelection( in build()
467 public static final @android.annotation.NonNull Parcelable.Creator<TextSelection> CREATOR =
468 new Parcelable.Creator<TextSelection>() {
470 public TextSelection createFromParcel(Parcel in) {
471 return new TextSelection(in);
475 public TextSelection[] newArray(int size) {
476 return new TextSelection[size];
[all …]
DTextSelection.aidl19 parcelable TextSelection;
20 parcelable TextSelection.Request;
DTextClassifier.java195 default TextSelection suggestSelection(@NonNull TextSelection.Request request) { in suggestSelection()
198 return new TextSelection.Builder(request.getStartIndex(), request.getEndIndex()).build(); in suggestSelection()
229 default TextSelection suggestSelection( in suggestSelection()
234 final TextSelection.Request request = new TextSelection.Request.Builder( in suggestSelection()
DSystemTextClassifier.java76 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection()
82 final BlockingCallback<TextSelection> callback = in suggestSelection()
85 final TextSelection selection = callback.get(); in suggestSelection()
DTextClassificationSession.java48 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection()
DTextClassifierImpl.java182 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection()
209 final TextSelection.Builder tsBuilder = new TextSelection.Builder(start, end); in suggestSelection()
DSelectionEvent.java282 int start, int end, @NonNull TextSelection selection) { in createSelectionModifiedEvent()
/frameworks/base/core/java/android/service/textclassifier/
DITextClassifierService.aidl28 import android.view.textclassifier.TextSelection;
39 in TextSelection.Request request, in onSuggestSelection()
DTextClassifierService.java50 import android.view.textclassifier.TextSelection;
115 TextSelection.Request request, ITextClassifierCallback callback) {
221 @NonNull TextSelection.Request request, in onSuggestSelection()
223 @NonNull Callback<TextSelection> callback); in onSuggestSelection()
DITextClassifierCallback.aidl20 import android.view.textclassifier.TextSelection;
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java49 import android.view.textclassifier.TextSelection;
774 @Nullable TextClassification classification, @Nullable TextSelection selection) { in logSelectionModified()
1116 final TextSelection selection; in suggestSelection()
1118 final TextSelection.Request request = new TextSelection.Request.Builder( in suggestSelection()
1162 private SelectionResult performClassification(@Nullable TextSelection selection) { in performClassification()
1215 @Nullable private final TextSelection mSelection;
1218 @Nullable TextClassification classification, @Nullable TextSelection selection) { in SelectionResult()
/frameworks/base/core/java/android/view/textclassifier/logging/
DSmartSelectionEventTracker.java28 import android.view.textclassifier.TextSelection;
498 int start, int end, @NonNull TextSelection selection) { in selectionModified()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java45 import android.view.textclassifier.TextSelection;
135 TextSelection.Request request, ITextClassifierCallback callback) in onSuggestSelection()
/frameworks/base/config/
Dpreloaded-classes4143 android.view.textclassifier.TextSelection$1
4144 android.view.textclassifier.TextSelection
Dhiddenapi-greylist-max-o.txt64221 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
64236 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
64253 …ssifier/ITextSelectionCallback$Stub$Proxy;->onSuccess(Landroid/view/textclassifier/TextSelection;)V
64260 …ice/textclassifier/ITextSelectionCallback;->onSuccess(Landroid/view/textclassifier/TextSelection;)V
64266 …ggestSelection(Ljava/lang/CharSequence;IILandroid/view/textclassifier/TextSelection$Options;Landro…
76871 …ystemTextClassifier$TextSelectionCallback;->onSuccess(Landroid/view/textclassifier/TextSelection;)V
77244 Landroid/view/textclassifier/TextSelection$Builder;->mEndIndex:I
77245 Landroid/view/textclassifier/TextSelection$Builder;->mEntityConfidence:Ljava/util/Map;
77246 Landroid/view/textclassifier/TextSelection$Builder;->mId:Ljava/lang/String;
77247 Landroid/view/textclassifier/TextSelection$Builder;->mStartIndex:I
[all …]
Dboot-image-profile.txt18343 HSPLandroid/view/textclassifier/TextSelection$1;-><init>()V
36867 Landroid/view/textclassifier/TextSelection$1;
36868 Landroid/view/textclassifier/TextSelection;
/frameworks/base/non-updatable-api/
Dcurrent.txt54830 …onEvent createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextSelection);
54968 …default android.view.textclassifier.TextSelection suggestSelection(@NonNull android.view.textclass…
54969 …method @NonNull @WorkerThread public default android.view.textclassifier.TextSelection suggestSele…
55209 public final class TextSelection implements android.os.Parcelable {
55219 …blic static final android.os.Parcelable.Creator<android.view.textclassifier.TextSelection> CREATOR;
55222 public static final class TextSelection.Builder {
55223 ctor public TextSelection.Builder(@IntRange(from=0) int, @IntRange(from=0) int);
55224 method @NonNull public android.view.textclassifier.TextSelection build();
55225 …method @NonNull public android.view.textclassifier.TextSelection.Builder setEntityType(@NonNull St…
55226 …method @NonNull public android.view.textclassifier.TextSelection.Builder setExtras(@Nullable andro…
[all …]
Dsystem-current.txt7488TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
/frameworks/base/api/
Dcurrent.txt54974 …onEvent createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextSelection);
55112 …default android.view.textclassifier.TextSelection suggestSelection(@NonNull android.view.textclass…
55113 …method @NonNull @WorkerThread public default android.view.textclassifier.TextSelection suggestSele…
55353 public final class TextSelection implements android.os.Parcelable {
55363 …blic static final android.os.Parcelable.Creator<android.view.textclassifier.TextSelection> CREATOR;
55366 public static final class TextSelection.Builder {
55367 ctor public TextSelection.Builder(@IntRange(from=0) int, @IntRange(from=0) int);
55368 method @NonNull public android.view.textclassifier.TextSelection build();
55369 …method @NonNull public android.view.textclassifier.TextSelection.Builder setEntityType(@NonNull St…
55370 …method @NonNull public android.view.textclassifier.TextSelection.Builder setExtras(@Nullable andro…
[all …]
Dsystem-current.txt7590TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
/frameworks/base/services/
Dart-profile13336 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…