/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | TextSelectionTest.java | 61 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 D | TextLinksTest.java | 76 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 D | TextClassificationTest.java | 120 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 D | TextSelectionTest.java | 59 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 D | TextLinksTest.java | 114 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 D | TextClassificationTest.java | 138 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 D | TextSelection.java | 94 public float getConfidenceScore(@EntityType String entity) { method in class:TextSelection 95 return mEntityConfidence.getConfidenceScore(entity);
|
H A D | EntityConfidence.java | 89 public float getConfidenceScore(String entity) { method in class:EntityConfidence
|
H A D | TextLinks.java | 242 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( method in class:TextLinks.TextLink 244 return mEntityScores.getConfidenceScore(entityType);
|
H A D | TextClassification.java | 144 public float getConfidenceScore(@EntityType String entity) { method in class:TextClassification 145 return mEntityConfidence.getConfidenceScore(entity);
|
/frameworks/base/core/java/android/view/textclassifier/ |
H A D | EntityConfidence.java | 85 public float getConfidenceScore(String entity) { method in class:EntityConfidence
|
H A D | TextSelection.java | 94 public float getConfidenceScore(@EntityType String entity) { method in class:TextSelection 95 return mEntityConfidence.getConfidenceScore(entity);
|
H A D | TextLinks.java | 254 public @FloatRange(from = 0.0, to = 1.0) float getConfidenceScore( method in class:TextLinks.TextLink 256 return mEntityScores.getConfidenceScore(entityType);
|
H A D | TextClassification.java | 183 public float getConfidenceScore(@EntityType String entity) { method in class:TextClassification 184 return mEntityConfidence.getConfidenceScore(entity);
|
/frameworks/base/config/ |
H A D | boot-image-profile.txt | 7071 HPLandroid/view/textclassifier/TextClassification;->getConfidenceScore(Ljava/lang/String;)F 7110 HPLandroid/view/textclassifier/TextSelection;->getConfidenceScore(Ljava/lang/String;)F [all...] |