Home
last modified time | relevance | path

Searched refs:languages (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/core/java/android/view/textclassifier/
DExtrasUtils.java100 final String[] languages = languageScores.getEntities().subList(0, maxSize) in putTopLanguageScores() local
102 final float[] scores = new float[languages.length]; in putTopLanguageScores()
103 for (int i = 0; i < languages.length; i++) { in putTopLanguageScores()
104 scores[i] = languageScores.getConfidenceScore(languages[i]); in putTopLanguageScores()
106 container.putStringArray(ENTITY_TYPE, languages); in putTopLanguageScores()
126 final String[] languages = textLanguagesExtra.getStringArray(ENTITY_TYPE); in getTopLanguage() local
128 if (languages == null || scores == null in getTopLanguage()
129 || languages.length == 0 || languages.length != scores.length) { in getTopLanguage()
133 for (int i = 1; i < languages.length; i++) { in getTopLanguage()
138 return ULocale.forLanguageTag(languages[highestScoringIndex]); in getTopLanguage()
DModelFileManager.java77 final String languages = localeList == null || localeList.isEmpty() in findBestModelFile() local
80 final List<Locale.LanguageRange> languageRangeList = Locale.LanguageRange.parse(languages); in findBestModelFile()
DTextClassifierImpl.java814 final Set<String> languages = new ArraySet<>(); in detectLanguages() local
815 languages.addAll(scores.getEntities()); in detectLanguages()
816 languages.addAll(moreTextScores.getEntities()); in detectLanguages()
817 for (String language : languages) { in detectLanguages()
/frameworks/base/core/java/android/text/
DFontConfig.java223 public Family(@NonNull String name, @NonNull Font[] fonts, @NonNull String languages, in Family() argument
227 mLanguages = languages; in Family()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DIccRecords.java986 protected static String findBestLanguage(byte[] languages, String[] locales) in findBestLanguage() argument
988 if ((languages == null) || (locales == null)) return null; in findBestLanguage()
991 for (int i = 0; (i + 1) < languages.length; i += 2) { in findBestLanguage()
992 String lang = new String(languages, i, 2, "ISO-8859-1"); in findBestLanguage()
/frameworks/minikin/doc/
Dhyb_file_format.md15 Further, at some point we will probably pack patterns for multiple languages into a single
/frameworks/wilhelm/doc/
DDoxyfile55 # The default language is English, other supported languages are:
/frameworks/native/docs/
DDoxyfile69 # The default language is English, other supported languages are: