/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() 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 …]
|
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; 116 TextSelection.Request request, ITextClassifierCallback callback) { 222 @NonNull TextSelection.Request request, in onSuggestSelection() 224 @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; 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/ |
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 | 68824 …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 …]
|
D | boot-image-profile.txt | 18344 HSPLandroid/view/textclassifier/TextSelection$1;-><init>()V 36868 Landroid/view/textclassifier/TextSelection$1; 36869 Landroid/view/textclassifier/TextSelection;
|
/frameworks/base/api/ |
D | current.txt | 53466 …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 …]
|
D | system-current.txt | 6768 …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…
|