Home
last modified time | relevance | path

Searched refs:getEntities (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java99 final int maxSize = Math.min(3, languageScores.getEntities().size()); in putTopLanguageScores()
100 final String[] languages = languageScores.getEntities().subList(0, maxSize) in putTopLanguageScores()
317 public static List<Bundle> getEntities(Bundle container) { in getEntities() method in ExtrasUtils
DTextLanguage.java86 return mEntityConfidence.getEntities().size(); in getLocaleHypothesisCount()
99 return ULocale.forLanguageTag(mEntityConfidence.getEntities().get(index)); in getLocale()
DTextLinks.java225 Preconditions.checkArgument(!entityConfidence.getEntities().isEmpty()); in TextLink()
259 return mEntityScores.getEntities().size(); in getEntityCount()
268 return mEntityScores.getEntities().get(index); in getEntity()
DTextSelection.java78 return mEntityConfidence.getEntities().size(); in getEntityCount()
91 return mEntityConfidence.getEntities().get(index); in getEntity()
DEntityConfidence.java75 public List<String> getEntities() { in getEntities() method in EntityConfidence
DTextClassification.java169 return mEntityConfidence.getEntities().size(); in getEntityCount()
181 return mEntityConfidence.getEntities().get(index); in getEntity()
531 List<String> sortedTypes = entityConfidence.getEntities();
DTextClassifierImpl.java729 if (languageScores.getEntities().isEmpty()) { in generateLanguageBundles()
736 final String language = languageScores.getEntities().get(0); in generateLanguageBundles()
815 languages.addAll(scores.getEntities()); in detectLanguages()
816 languages.addAll(moreTextScores.getEntities()); in detectLanguages()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassifierTest.java221 List<Bundle> entities = ExtrasUtils.getEntities(extras); in testClassifyText_date()
377 List<Bundle> entities = ExtrasUtils.getEntities(textLink.getExtras()); in testGenerateLinks_entityData()
393 List<Bundle> entities = ExtrasUtils.getEntities(textLink.getExtras()); in testGenerateLinks_entityData_disabled()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...