Home
last modified time | relevance | path

Searched refs:TextSelection (Results 1 – 22 of 22) 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()
553 private static Matcher<TextSelection> isTextSelection( in isTextSelection()
555 return new BaseMatcher<TextSelection>() { in isTextSelection()
558 if (o instanceof TextSelection) { in isTextSelection()
559 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;
116 TextSelection.Request request, ITextClassifierCallback callback) {
222 @NonNull TextSelection.Request request, in onSuggestSelection()
224 @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;
737 @Nullable TextClassification classification, @Nullable TextSelection selection) { in logSelectionModified()
1078 final TextSelection selection; in suggestSelection()
1080 final TextSelection.Request request = new TextSelection.Request.Builder( in suggestSelection()
1124 private SelectionResult performClassification(@Nullable TextSelection selection) { in performClassification()
1177 @Nullable private final TextSelection mSelection;
1180 @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.txt68824 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
68841 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
68862 …ssifier/ITextSelectionCallback$Stub$Proxy;->onSuccess(Landroid/view/textclassifier/TextSelection;)V
68871 …ice/textclassifier/ITextSelectionCallback;->onSuccess(Landroid/view/textclassifier/TextSelection;)V
68877 …ggestSelection(Ljava/lang/CharSequence;IILandroid/view/textclassifier/TextSelection$Options;Landro…
82334 …ystemTextClassifier$TextSelectionCallback;->onSuccess(Landroid/view/textclassifier/TextSelection;)V
82734 Landroid/view/textclassifier/TextSelection$Builder;->mEndIndex:I
82735 Landroid/view/textclassifier/TextSelection$Builder;->mEntityConfidence:Ljava/util/Map;
82736 Landroid/view/textclassifier/TextSelection$Builder;->mId:Ljava/lang/String;
82737 Landroid/view/textclassifier/TextSelection$Builder;->mStartIndex:I
[all …]
Dboot-image-profile.txt18344 HSPLandroid/view/textclassifier/TextSelection$1;-><init>()V
36868 Landroid/view/textclassifier/TextSelection$1;
36869 Landroid/view/textclassifier/TextSelection;
/frameworks/base/api/
Dcurrent.txt53466 …onEvent createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextSelection);
53604 …default android.view.textclassifier.TextSelection suggestSelection(@NonNull android.view.textclass…
53605 …method @WorkerThread @NonNull public default android.view.textclassifier.TextSelection suggestSele…
53845 public final class TextSelection implements android.os.Parcelable {
53855 …blic static final android.os.Parcelable.Creator<android.view.textclassifier.TextSelection> CREATOR;
53858 public static final class TextSelection.Builder {
53859 ctor public TextSelection.Builder(@IntRange(from=0) int, @IntRange(from=0) int);
53860 method @NonNull public android.view.textclassifier.TextSelection build();
53861 …method @NonNull public android.view.textclassifier.TextSelection.Builder setEntityType(@NonNull St…
53862 …method @NonNull public android.view.textclassifier.TextSelection.Builder setExtras(@Nullable andro…
[all …]
Dsystem-current.txt6768TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
/frameworks/base/services/
Dart-profile13336 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…