Home
last modified time | relevance | path

Searched refs:entityType (Results 1 – 7 of 7) sorted by relevance

/aosp14/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextClassifierEventTest.java77 final String entityType = TEXT_SELECTION.getEntity(0); in toSelectionEvent_smartSelectionMulti() local
84 .setEntityTypes(entityType) in toSelectionEvent_smartSelectionMulti()
85 .setScores(TEXT_SELECTION.getConfidenceScore(entityType)) in toSelectionEvent_smartSelectionMulti()
106 final String entityType = TEXT_SELECTION.getEntity(0); in toSelectionEvent_smartSelectionSingle() local
113 .setEntityTypes(entityType) in toSelectionEvent_smartSelectionSingle()
114 .setScores(TEXT_SELECTION.getConfidenceScore(entityType)) in toSelectionEvent_smartSelectionSingle()
138 final String entityType = TEXT_CLASSIFICATION.getEntity(0); in toSelectionEvent_resetSelection() local
148 .setScores(TEXT_CLASSIFICATION.getConfidenceScore(entityType)) in toSelectionEvent_resetSelection()
229 final String entityType = TEXT_CLASSIFICATION.getEntity(0); in toSelectionEvent_link_smartAction() local
234 .setEntityTypes(entityType) in toSelectionEvent_link_smartAction()
[all …]
/aosp14/frameworks/base/core/java/android/view/textclassifier/
H A DSelectionEvent.java144 @EventType int eventType, @EntityType String entityType, in SelectionEvent() argument
150 mEntityType = Objects.requireNonNull(entityType); in SelectionEvent()
259 final String entityType = classification.getEntityCount() > 0 in createSelectionModifiedEvent() local
264 entityType, INVOCATION_UNKNOWN, classification.getId()); in createSelectionModifiedEvent()
283 final String entityType = selection.getEntityCount() > 0 in createSelectionModifiedEvent() local
288 entityType, INVOCATION_UNKNOWN, selection.getId()); in createSelectionModifiedEvent()
332 final String entityType = classification.getEntityCount() > 0 in createSelectionActionEvent() local
335 return new SelectionEvent(start, end, actionType, entityType, INVOCATION_UNKNOWN, in createSelectionActionEvent()
398 void setEntityType(@EntityType String entityType) { in setEntityType() argument
399 mEntityType = Objects.requireNonNull(entityType); in setEntityType()
H A DTextClassifier.java757 TextLinks.Builder links, String string, @EntityType String entityType) { in addLinks() argument
759 if (Linkify.addLinks(spannable, linkMask(entityType))) { in addLinks()
765 entityScores(entityType), in addLinks()
772 private static int linkMask(@EntityType String entityType) { in linkMask() argument
773 switch (entityType) { in linkMask()
786 private static Map<String, Float> entityScores(@EntityType String entityType) { in entityScores() argument
788 scores.put(entityType, 1f); in entityScores()
H A DTextLinks.java278 @EntityType String entityType) { in getConfidenceScore()
279 return mEntityScores.getConfidenceScore(entityType); in getConfidenceScore()
H A DTextClassifierEvent.java422 final String entityType = getEntityTypes().length > 0 in toSelectionEvent() local
428 entityType, in toSelectionEvent()
/aosp14/frameworks/base/packages/CredentialManager/
H A Dprofile.txt.prof6262 HSPLandroidx/compose/ui/node/NodeCoordinator$Companion$PointerInputSource$1;->entityType-OLwlOKw()I
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...