Searched refs:entityType (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextClassifierEventTest.java | 77 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 …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | SelectionEvent.java | 144 @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()
|
D | TextClassifier.java | 755 TextLinks.Builder links, String string, @EntityType String entityType) { in addLinks() argument 757 if (Linkify.addLinks(spannable, linkMask(entityType))) { in addLinks() 763 entityScores(entityType), in addLinks() 770 private static int linkMask(@EntityType String entityType) { in linkMask() argument 771 switch (entityType) { in linkMask() 784 private static Map<String, Float> entityScores(@EntityType String entityType) { in entityScores() argument 786 scores.put(entityType, 1f); in entityScores()
|
D | TextLinks.java | 278 @EntityType String entityType) { in getConfidenceScore() 279 return mEntityScores.getConfidenceScore(entityType); in getConfidenceScore()
|
D | TextClassifierEvent.java | 414 final String entityType = getEntityTypes().length > 0 in toSelectionEvent() local 420 entityType, in toSelectionEvent()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |