/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassifierEventTest.java | 54 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_selectionStarted() 55 TextClassifierEvent.TYPE_SELECTION_STARTED) in toSelectionEvent_selectionStarted() 78 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_smartSelectionMulti() 79 TextClassifierEvent.TYPE_SMART_SELECTION_MULTI) in toSelectionEvent_smartSelectionMulti() 107 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_smartSelectionSingle() 108 TextClassifierEvent.TYPE_SMART_SELECTION_SINGLE) in toSelectionEvent_smartSelectionSingle() 139 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_resetSelection() 140 TextClassifierEvent.TYPE_SELECTION_RESET) in toSelectionEvent_resetSelection() 167 final TextClassifierEvent event = new TextClassifierEvent.TextSelectionEvent.Builder( in toSelectionEvent_modifySelection() 168 TextClassifierEvent.TYPE_SELECTION_MODIFIED) in toSelectionEvent_modifySelection() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextClassifierEvent.java | 42 public abstract class TextClassifierEvent implements Parcelable { class 162 private TextClassifierEvent(Builder builder) { in TextClassifierEvent() method in TextClassifierEvent 176 private TextClassifierEvent(Parcel in) { in TextClassifierEvent() method in TextClassifierEvent 199 public static final Creator<TextClassifierEvent> CREATOR = new Creator<TextClassifierEvent>() { 201 public TextClassifierEvent createFromParcel(Parcel in) { 219 public TextClassifierEvent[] newArray(int size) { 220 return new TextClassifierEvent[size]; 390 case TextClassifierEvent.CATEGORY_SELECTION: in toSelectionEvent() 393 case TextClassifierEvent.CATEGORY_LINKIFY: in toSelectionEvent() 424 case TextClassifierEvent.TYPE_SELECTION_STARTED: in toSelectionEvent() [all …]
|
D | TextClassifierEventTronLogger.java | 57 public void writeEvent(TextClassifierEvent event) { in writeEvent() 95 private static String getModelName(TextClassifierEvent event) { in getModelName() 102 private static int getCategory(TextClassifierEvent event) { in getCategory() 104 case TextClassifierEvent.CATEGORY_CONVERSATION_ACTIONS: in getCategory() 106 case TextClassifierEvent.CATEGORY_LANGUAGE_DETECTION: in getCategory() 112 private static int getLogType(TextClassifierEvent event) { in getLogType() 114 case TextClassifierEvent.TYPE_SMART_ACTION: in getLogType() 116 case TextClassifierEvent.TYPE_ACTIONS_SHOWN: in getLogType() 118 case TextClassifierEvent.TYPE_MANUAL_REPLY: in getLogType() 120 case TextClassifierEvent.TYPE_ACTIONS_GENERATED: in getLogType()
|
D | TextClassifierEvent.aidl | 19 parcelable TextClassifierEvent;
|
D | TextClassificationSession.java | 85 public void onTextClassifierEvent(TextClassifierEvent event) { in onTextClassifierEvent()
|
D | SystemTextClassifier.java | 162 public void onTextClassifierEvent(@NonNull TextClassifierEvent event) { in onTextClassifierEvent()
|
D | TextClassifier.java | 386 default void onTextClassifierEvent(@NonNull TextClassifierEvent event) {} in onTextClassifierEvent()
|
D | TextClassifierImpl.java | 383 public void onTextClassifierEvent(TextClassifierEvent event) { in onTextClassifierEvent()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/logging/ |
D | TextClassifierEventTronLoggerTest.java | 31 import android.view.textclassifier.TextClassifierEvent; 69 TextClassifierEvent.ConversationActionsEvent textClassifierEvent = in testWriteEvent() 70 new TextClassifierEvent.ConversationActionsEvent.Builder( in testWriteEvent() 71 TextClassifierEvent.TYPE_SMART_ACTION) in testWriteEvent() 98 TextClassifierEvent.TextSelectionEvent textClassifierEvent = in testWriteEvent_unsupportedCategory() 99 new TextClassifierEvent.TextSelectionEvent.Builder( in testWriteEvent_unsupportedCategory() 100 TextClassifierEvent.TYPE_SMART_ACTION) in testWriteEvent_unsupportedCategory()
|
/frameworks/base/core/java/android/service/textclassifier/ |
D | ITextClassifierService.aidl | 25 import android.view.textclassifier.TextClassifierEvent; 59 in TextClassifierEvent event); in onTextClassifierEvent()
|
D | TextClassifierService.java | 47 import android.view.textclassifier.TextClassifierEvent; 155 TextClassifierEvent event) { 323 @Nullable TextClassificationSessionId sessionId, @NonNull TextClassifierEvent event) {} in onTextClassifierEvent()
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 48 import android.view.textclassifier.TextClassifierEvent; 736 @Nullable private TextClassifierEvent mTranslateViewEvent; 737 @Nullable private TextClassifierEvent mTranslateClickEvent; 914 final TextClassifierEvent event = generateTranslateEvent( in maybeGenerateTranslateViewEvent() 915 TextClassifierEvent.TYPE_ACTIONS_SHOWN, in maybeGenerateTranslateViewEvent() 925 TextClassifierEvent.TYPE_SMART_ACTION, in maybeGenerateTranslateClickEvent() 943 private static TextClassifierEvent generateTranslateEvent( in generateTranslateEvent() 962 if (eventType == TextClassifierEvent.TYPE_SMART_ACTION in generateTranslateEvent() 973 return new TextClassifierEvent.LanguageDetectionEvent.Builder(eventType) in generateTranslateEvent()
|
/frameworks/base/services/core/java/com/android/server/textclassifier/ |
D | TextClassificationManagerService.java | 42 import android.view.textclassifier.TextClassifierEvent; 226 TextClassifierEvent event) throws RemoteException { in onTextClassifierEvent()
|
/frameworks/base/non-updatable-api/ |
D | current.txt | 54966 …ublic default void onTextClassifierEvent(@NonNull android.view.textclassifier.TextClassifierEvent); 55016 public abstract class TextClassifierEvent implements android.os.Parcelable { 55034 …tatic final android.os.Parcelable.Creator<android.view.textclassifier.TextClassifierEvent> CREATOR; 55057 …public abstract static class TextClassifierEvent.Builder<T extends android.view.textclassifier.Tex… 55069 …public static final class TextClassifierEvent.ConversationActionsEvent extends android.view.textcl… 55070 …ic final android.os.Parcelable.Creator<android.view.textclassifier.TextClassifierEvent.Conversatio… 55073 …TextClassifierEvent.ConversationActionsEvent.Builder extends android.view.textclassifier.TextClass… 55074 ctor public TextClassifierEvent.ConversationActionsEvent.Builder(int); 55075 …method @NonNull public android.view.textclassifier.TextClassifierEvent.ConversationActionsEvent bu… 55078 …public static final class TextClassifierEvent.LanguageDetectionEvent extends android.view.textclas… [all …]
|
D | system-current.txt | 7489 …tclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassifierEvent);
|
/frameworks/base/api/ |
D | current.txt | 55110 …ublic default void onTextClassifierEvent(@NonNull android.view.textclassifier.TextClassifierEvent); 55160 public abstract class TextClassifierEvent implements android.os.Parcelable { 55178 …tatic final android.os.Parcelable.Creator<android.view.textclassifier.TextClassifierEvent> CREATOR; 55201 …public abstract static class TextClassifierEvent.Builder<T extends android.view.textclassifier.Tex… 55213 …public static final class TextClassifierEvent.ConversationActionsEvent extends android.view.textcl… 55214 …ic final android.os.Parcelable.Creator<android.view.textclassifier.TextClassifierEvent.Conversatio… 55217 …TextClassifierEvent.ConversationActionsEvent.Builder extends android.view.textclassifier.TextClass… 55218 ctor public TextClassifierEvent.ConversationActionsEvent.Builder(int); 55219 …method @NonNull public android.view.textclassifier.TextClassifierEvent.ConversationActionsEvent bu… 55222 …public static final class TextClassifierEvent.LanguageDetectionEvent extends android.view.textclas… [all …]
|
D | system-current.txt | 7591 …tclassifier.TextClassificationSessionId, @NonNull android.view.textclassifier.TextClassifierEvent);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 13422 …view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassifierEvent;)V 18282 …er/SystemTextClassifier;->onTextClassifierEvent(Landroid/view/textclassifier/TextClassifierEvent;)V 18314 PLandroid/view/textclassifier/TextClassifierEvent$1;-><init>()V 18315 …d/view/textclassifier/TextClassifierEvent$1;->createFromParcel(Landroid/os/Parcel;)Landroid/view/t… 18316 PLandroid/view/textclassifier/TextClassifierEvent$1;->createFromParcel(Landroid/os/Parcel;)Ljava/la… 18317 PLandroid/view/textclassifier/TextClassifierEvent$Builder;-><init>(II)V 18318 PLandroid/view/textclassifier/TextClassifierEvent$Builder;->build()Landroid/view/textclassifier/Tex… 18319 …view/textclassifier/TextClassifierEvent$Builder;->setEntityTypes([Ljava/lang/String;)Landroid/view… 18320 …/TextClassifierEvent$Builder;->setEventContext(Landroid/view/textclassifier/TextClassificationCont… 18321 PLandroid/view/textclassifier/TextClassifierEvent$Builder;->setEventTime(J)Landroid/view/textclassi… [all …]
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 6926 // FIELD: Session ID of TextClassifierEvent.
|
/frameworks/base/services/ |
D | art-profile | 13337 …view/textclassifier/TextClassificationSessionId;Landroid/view/textclassifier/TextClassifierEvent;)V
|