/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextSelectionTest.java | 48 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()
|
D | TextClassifierTest.java | 89 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 …]
|
D | TextClassifierEventTest.java | 36 private static final TextSelection TEXT_SELECTION = new TextSelection.Builder(10, 20)
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextSelection.java | 43 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 …]
|
D | TextSelection.aidl | 19 parcelable TextSelection; 20 parcelable TextSelection.Request;
|
D | TextClassifier.java | 195 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()
|
D | SystemTextClassifier.java | 76 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection() 82 final BlockingCallback<TextSelection> callback = in suggestSelection() 85 final TextSelection selection = callback.get(); in suggestSelection()
|
D | TextClassificationSession.java | 48 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection()
|
D | TextClassifierImpl.java | 182 public TextSelection suggestSelection(TextSelection.Request request) { in suggestSelection() 209 final TextSelection.Builder tsBuilder = new TextSelection.Builder(start, end); in suggestSelection()
|
D | SelectionEvent.java | 282 int start, int end, @NonNull TextSelection selection) { in createSelectionModifiedEvent()
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | ITextClassifierService.aidl | 28 import android.view.textclassifier.TextSelection; 39 in TextSelection.Request request, in onSuggestSelection()
|
D | TextClassifierService.java | 50 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()
|
D | ITextClassifierCallback.aidl | 20 import android.view.textclassifier.TextSelection;
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 49 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/ |
D | SmartSelectionEventTracker.java | 28 import android.view.textclassifier.TextSelection; 498 int start, int end, @NonNull TextSelection selection) { in selectionModified()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 45 import android.view.textclassifier.TextSelection; 135 TextSelection.Request request, ITextClassifierCallback callback) in onSuggestSelection()
|
/frameworks/base/config/ |
D | preloaded-classes | 4143 android.view.textclassifier.TextSelection$1 4144 android.view.textclassifier.TextSelection
|
D | hiddenapi-greylist-max-o.txt | 64221 …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 …]
|
D | boot-image-profile.txt | 18343 HSPLandroid/view/textclassifier/TextSelection$1;-><init>()V 36867 Landroid/view/textclassifier/TextSelection$1; 36868 Landroid/view/textclassifier/TextSelection;
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 54830 …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 …]
|
D | system-current.txt | 7488 …TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
|
/frameworks/base/api/ |
D | current.txt | 54974 …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 …]
|
D | system-current.txt | 7590 …TextSelection.Request, @NonNull android.os.CancellationSignal, @NonNull android.service.textclassi…
|
/frameworks/base/services/ |
D | art-profile | 13336 …xtclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextSelection$Request;Landro…
|