Home
last modified time | relevance | path

Searched refs:mEntityConfidence (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DEntityConfidence.java39 private final ArrayMap<String, Float> mEntityConfidence = new ArrayMap<>(); field in EntityConfidence
46 mEntityConfidence.putAll(source.mEntityConfidence); in EntityConfidence()
62 mEntityConfidence.ensureCapacity(source.size()); in EntityConfidence()
65 mEntityConfidence.put(it.getKey(), Math.min(1, it.getValue())); in EntityConfidence()
86 if (mEntityConfidence.containsKey(entity)) { in getConfidenceScore()
87 return mEntityConfidence.get(entity); in getConfidenceScore()
94 return mEntityConfidence.toString(); in toString()
104 dest.writeInt(mEntityConfidence.size()); in writeToParcel()
105 for (Map.Entry<String, Float> entry : mEntityConfidence.entrySet()) { in writeToParcel()
126 mEntityConfidence.ensureCapacity(numEntities); in EntityConfidence()
[all …]
DTextSelection.java47 private final EntityConfidence mEntityConfidence; field in TextSelection
56 mEntityConfidence = new EntityConfidence(entityConfidence); in TextSelection()
80 return mEntityConfidence.getEntities().size(); in getEntityCount()
93 return mEntityConfidence.getEntities().get(index); in getEntity()
103 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
129 mId, mStartIndex, mEndIndex, mEntityConfidence); in toString()
139 private final Map<String, Float> mEntityConfidence = new ArrayMap<>(); field in TextSelection.Builder
169 mEntityConfidence.put(type, confidenceScore); in setEntityType()
199 mStartIndex, mEndIndex, mEntityConfidence, mId, in build()
462 mEntityConfidence.writeToParcel(dest, flags); in writeToParcel()
[all …]
DTextLanguage.java63 private final EntityConfidence mEntityConfidence; field in TextLanguage
71 mEntityConfidence = entityConfidence; in TextLanguage()
88 return mEntityConfidence.getEntities().size(); in getLocaleHypothesisCount()
101 return ULocale.forLanguageTag(mEntityConfidence.getEntities().get(index)); in getLocale()
111 return mEntityConfidence.getConfidenceScore(locale.toLanguageTag()); in getConfidenceScore()
130 mId, mEntityConfidence, mBundle); in toString()
141 mEntityConfidence.writeToParcel(dest, flags); in writeToParcel()
DTextClassification.java133 @NonNull private final EntityConfidence mEntityConfidence; field in TextClassification
153 mEntityConfidence = Preconditions.checkNotNull(entityConfidence); in TextClassification()
171 return mEntityConfidence.getEntities().size(); in getEntityCount()
183 return mEntityConfidence.getEntities().get(index); in getEntity()
193 return mEntityConfidence.getConfidenceScore(entity); in getConfidenceScore()
281 mText, mEntityConfidence, mActions, mId, mExtras); in toString()
802 mEntityConfidence.writeToParcel(dest, flags);
834 mEntityConfidence = EntityConfidence.CREATOR.createFromParcel(in);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt76678 Landroid/view/textclassifier/EntityConfidence;->mEntityConfidence:Landroid/util/ArrayMap;
76881 Landroid/view/textclassifier/TextClassification$Builder;->mEntityConfidence:Ljava/util/Map;
76927 Landroid/view/textclassifier/TextClassification;->mEntityConfidence:Landroid/view/textclassifier/En…
77245 Landroid/view/textclassifier/TextSelection$Builder;->mEntityConfidence:Ljava/util/Map;
77276 Landroid/view/textclassifier/TextSelection;->mEntityConfidence:Landroid/view/textclassifier/EntityC…