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.java50 final TextSelection reference = new TextSelection.Builder(startIndex, endIndex) in testParcel()
62 final TextSelection result = TextSelection.CREATOR.createFromParcel(parcel); in testParcel()
82 final TextSelection.Request reference = in testParcelRequest()
83 new TextSelection.Request.Builder(text, 0, text.length()) in testParcelRequest()
95 final TextSelection.Request result = TextSelection.Request.CREATOR.createFromParcel(parcel); in testParcelRequest()
DTextClassifierEventTest.java36 private static final TextSelection TEXT_SELECTION = new TextSelection.Builder(10, 20)
/frameworks/base/core/java/android/view/textclassifier/
DTextSelection.java42 public final class TextSelection implements Parcelable { class
50 private TextSelection( in TextSelection() method in TextSelection
196 public TextSelection build() { in build()
197 return new TextSelection( in build()
453 public static final @android.annotation.NonNull Parcelable.Creator<TextSelection> CREATOR =
454 new Parcelable.Creator<TextSelection>() {
456 public TextSelection createFromParcel(Parcel in) {
457 return new TextSelection(in);
461 public TextSelection[] newArray(int size) {
462 return new TextSelection[size];
[all …]
DTextSelection.aidl19 parcelable TextSelection;
20 parcelable TextSelection.Request;
DTextClassifier.java211 default TextSelection suggestSelection(@NonNull TextSelection.Request request) { in suggestSelection()
214 return new TextSelection.Builder(request.getStartIndex(), request.getEndIndex()).build(); in suggestSelection()
245 default TextSelection suggestSelection( in suggestSelection()
250 final TextSelection.Request request = new TextSelection.Request.Builder( in suggestSelection()
DSystemTextClassifier.java86 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection()
91 final BlockingCallback<TextSelection> callback = in suggestSelection()
94 final TextSelection selection = callback.get(); in suggestSelection()
DTextClassificationSession.java56 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection()
DSelectionEvent.java280 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()
DITextClassifierCallback.aidl20 import android.view.textclassifier.TextSelection;
DTextClassifierService.java51 import android.view.textclassifier.TextSelection;
131 TextSelection.Request request, ITextClassifierCallback callback) {
263 @NonNull TextSelection.Request request, in onSuggestSelection()
265 @NonNull Callback<TextSelection> callback); in onSuggestSelection()
/frameworks/base/core/java/android/widget/
DSelectionActionModeHelper.java48 import android.view.textclassifier.TextSelection;
772 @Nullable TextClassification classification, @Nullable TextSelection selection) { in logSelectionModified()
1115 final TextSelection selection; in suggestSelection()
1117 final TextSelection.Request request = new TextSelection.Request.Builder( in suggestSelection()
1161 private SelectionResult performClassification(@Nullable TextSelection selection) { in performClassification()
1214 @Nullable private final TextSelection mSelection;
1217 @Nullable TextClassification classification, @Nullable TextSelection selection) { in SelectionResult()
/frameworks/base/core/tests/coretests/src/android/widget/
DTextViewActivityTest.java85 import android.view.textclassifier.TextSelection;
1191 public TextSelection suggestSelection(TextSelection.Request request) { in testTextClassifierSession()
1279 final List<TextSelection.Request> mTextSelectionRequests = new ArrayList<>();
1287 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection()
1289 return new TextSelection.Builder(request.getStartIndex(), request.getEndIndex()) in suggestSelection()
1298 List<TextSelection.Request> getTextSelectionRequests() { in getTextSelectionRequests()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java59 import android.view.textclassifier.TextSelection;
184 TextSelection.Request request, ITextClassifierCallback callback) in onSuggestSelection()
/frameworks/base/config/
Dpreloaded-classes7415 android.view.textclassifier.TextSelection$1
7416 android.view.textclassifier.TextSelection$Request$1
7417 android.view.textclassifier.TextSelection$Request
7418 android.view.textclassifier.TextSelection
Dboot-image-profile.txt17934 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
24975 …oid/view/textclassifier/TextSelection$Request$1;->createFromParcel(Landroid/os/Parcel;)Landroid/vi…
24976 HSPLandroid/view/textclassifier/TextSelection$Request$1;->createFromParcel(Landroid/os/Parcel;)Ljav…
24977 HSPLandroid/view/textclassifier/TextSelection$Request;-><init>(Ljava/lang/CharSequence;IILandroid/o…
24978 …droid/view/textclassifier/TextSelection$Request;->readFromParcel(Landroid/os/Parcel;)Landroid/view…
24979 HSPLandroid/view/textclassifier/TextSelection$Request;->writeToParcel(Landroid/os/Parcel;I)V
47737 Landroid/view/textclassifier/TextSelection$1;
47738 Landroid/view/textclassifier/TextSelection$Request$1;
47739 Landroid/view/textclassifier/TextSelection$Request;
47740 Landroid/view/textclassifier/TextSelection;
/frameworks/base/api/
Dtest-current.txt3807TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
Dcurrent.txt57396 …onEvent createSelectionModifiedEvent(int, int, @NonNull android.view.textclassifier.TextSelection);
57535 …default android.view.textclassifier.TextSelection suggestSelection(@NonNull android.view.textclass…
57536 …method @NonNull @WorkerThread public default android.view.textclassifier.TextSelection suggestSele…
57780 public final class TextSelection implements android.os.Parcelable {
57790 …blic static final android.os.Parcelable.Creator<android.view.textclassifier.TextSelection> CREATOR;
57793 public static final class TextSelection.Builder {
57794 ctor public TextSelection.Builder(@IntRange(from=0) int, @IntRange(from=0) int);
57795 method @NonNull public android.view.textclassifier.TextSelection build();
57796 …method @NonNull public android.view.textclassifier.TextSelection.Builder setEntityType(@NonNull St…
57797 …method @NonNull public android.view.textclassifier.TextSelection.Builder setExtras(@Nullable andro…
[all …]
Dsystem-current.txt10086TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/non-updatable-api/
Dsystem-current.txt8968TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
/frameworks/base/services/
Dart-profile31168 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
31302 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
31311 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…