/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 | 110 public float getConfidenceScore(@NonNull ULocale locale) { in getConfidenceScore() method in TextLanguage 111 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore()
|
D | TextSelection.java | 102 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextSelection 103 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
|
D | EntityConfidence.java | 85 public float getConfidenceScore(String entity) { in getConfidenceScore() method in EntityConfidence
|
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 | ConversationAction.java | 186 public float getConfidenceScore() { in getConfidenceScore() method in ConversationAction
|
D | TextLinks.java | 278 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( in getConfidenceScore() method in TextLinks.TextLink 280 return mEntityScores.getConfidenceScore(entityType); in getConfidenceScore()
|
D | TextClassification.java | 192 public float getConfidenceScore(@EntityType String entity) { in getConfidenceScore() method in TextClassification 193 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
|
D | ExtrasUtils.java | 104 scores[i] = languageScores.getConfidenceScore(languages[i]); in putTopLanguageScores()
|
/frameworks/base/api/ |
D | current.txt | 53382 method @FloatRange(from=0, to=1) public float getConfidenceScore(); 53512 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String); 53751 …method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(@NonNull android.icu.util.ULo… 53829 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String); 53847 method @FloatRange(from=0.0, to=1.0) public float getConfidenceScore(String);
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 18240 PLandroid/view/textclassifier/ConversationAction;->getConfidenceScore()F
|
D | hiddenapi-greylist-max-o.txt | 82123 Landroid/view/textclassifier/EntityConfidence;->getConfidenceScore(Ljava/lang/String;)F
|