Searched refs:getConfidenceScore (Results 1 - 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
H A DTextSelectionTest.java61 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f);
62 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f);
63 assertEquals(0.1f, result.getConfidenceScore(TextClassifier.TYPE_URL), 1e-7f);
H A DTextLinksTest.java76 assertEquals(1.f, resultList.get(0).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f);
83 assertEquals(.8f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f);
84 assertEquals(.5f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f);
85 assertEquals(.1f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f);
H A DTextClassificationTest.java120 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f);
121 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f);
/frameworks/support/textclassifier/src/androidTest/java/androidx/textclassifier/
H A DTextSelectionTest.java59 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f);
60 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f);
61 assertEquals(0.1f, result.getConfidenceScore(TextClassifier.TYPE_URL), 1e-7f);
H A DTextLinksTest.java114 assertEquals(1.f, resultList.get(0).getConfidenceScore(TextClassifier.TYPE_OTHER),
122 assertEquals(.8f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f);
123 assertEquals(.5f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_OTHER), 1e-7f);
124 assertEquals(.1f, resultList.get(1).getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f);
H A DTextClassificationTest.java138 assertEquals(0.7f, result.getConfidenceScore(TextClassifier.TYPE_PHONE), 1e-7f);
139 assertEquals(0.3f, result.getConfidenceScore(TextClassifier.TYPE_ADDRESS), 1e-7f);
/frameworks/support/textclassifier/src/main/java/androidx/textclassifier/
H A DTextSelection.java94 public float getConfidenceScore(@EntityType String entity) { method in class:TextSelection
95 return mEntityConfidence.getConfidenceScore(entity);
H A DEntityConfidence.java89 public float getConfidenceScore(String entity) { method in class:EntityConfidence
H A DTextLinks.java242 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( method in class:TextLinks.TextLink
244 return mEntityScores.getConfidenceScore(entityType);
H A DTextClassification.java144 public float getConfidenceScore(@EntityType String entity) { method in class:TextClassification
145 return mEntityConfidence.getConfidenceScore(entity);
/frameworks/base/core/java/android/view/textclassifier/
H A DEntityConfidence.java85 public float getConfidenceScore(String entity) { method in class:EntityConfidence
H A DTextSelection.java94 public float getConfidenceScore(@EntityType String entity) { method in class:TextSelection
95 return mEntityConfidence.getConfidenceScore(entity);
H A DTextLinks.java254 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( method in class:TextLinks.TextLink
256 return mEntityScores.getConfidenceScore(entityType);
H A DTextClassification.java183 public float getConfidenceScore(@EntityType String entity) { method in class:TextClassification
184 return mEntityConfidence.getConfidenceScore(entity);
/frameworks/base/config/
H A Dboot-image-profile.txt7071 HPLandroid/view/textclassifier/TextClassification;->getConfidenceScore(Ljava/lang/String;)F
7110 HPLandroid/view/textclassifier/TextSelection;->getConfidenceScore(Ljava/lang/String;)F
[all...]

Completed in 48 milliseconds