/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | TextLinksTest.java | 85 assertEquals(1.f, resultList.get(0).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f); in testParcel() 93 assertEquals(.8f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel() 94 assertEquals(.5f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f); in testParcel() 95 assertEquals(.1f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel()
|
D | TextSelectionTest.java | 70 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel() 71 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel() 72 assertEquals(0.1f, result.getConfidenceScore(TextClassifier.TYPE_URL), 1e-7f); in testParcel()
|
D | TextLanguageTest.java | 62 assertEquals(0.8f, result.getConfidenceScore(ULocale.ENGLISH), EPSILON); in testParcel() 64 assertEquals(0.2f, result.getConfidenceScore(ULocale.GERMAN), EPSILON); in testParcel()
|
D | TextClassifierEventTest.java | 85 .setScores(TEXT_SELECTION.getConfidenceScore(entityType)) in toSelectionEvent_smartSelectionMulti() 114 .setScores(TEXT_SELECTION.getConfidenceScore(entityType)) in toSelectionEvent_smartSelectionSingle() 148 .setScores(TEXT_CLASSIFICATION.getConfidenceScore(entityType)) in toSelectionEvent_resetSelection() 235 .setScores(TEXT_CLASSIFICATION.getConfidenceScore(entityType)) in toSelectionEvent_link_smartAction()
|
D | TextClassificationTest.java | 130 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f); in testParcel() 131 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f); in testParcel()
|
D | TextClassifierTest.java | 682 if (conversationAction.getConfidenceScore() < 0 683 || conversationAction.getConfidenceScore() > 1) {
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | TextLanguage.java | 108 public float getConfidenceScore(@NonNull ULocale locale) { in getConfidenceScore() method in TextLanguage 109 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore()
|
D | TextSelection.java | 100 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextSelection 101 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
|
D | EntityConfidence.java | 85 public float getConfidenceScore(String entity) { in getConfidenceScore() method in EntityConfidence
|
D | ConversationAction.java | 186 public float getConfidenceScore() { in getConfidenceScore() method in ConversationAction
|
D | TextClassifierImpl.java | 525 if (textLanguage.getConfidenceScore(locale) < threshold) { in detectLanguageTagsFromText() 737 final float score = languageScores.getConfidenceScore(language); in generateLanguageBundles() 818 final float score = (subjectTextScoreRatio * scores.getConfidenceScore(language) in detectLanguages() 819 + moreTextScoreRatio * moreTextScores.getConfidenceScore(language)) in detectLanguages()
|
D | TextLinks.java | 276 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( in getConfidenceScore() method in TextLinks.TextLink 278 return mEntityScores.getConfidenceScore(entityType); in getConfidenceScore()
|
D | TextClassification.java | 190 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextClassification 191 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
|
D | ExtrasUtils.java | 104 scores[i] = languageScores.getConfidenceScore(languages[i]); in putTopLanguageScores()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-28.jar | META-INF/
META-INF/MANIFEST.MF
javax/
javax/net/
javax/ ... |