Home
last modified time | relevance | path

Searched refs:languageMatches (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/media/
DSubtitleController.java233 boolean languageMatches = in getDefaultTrack()
241 (autoselect ? 0 : 2) + (languageMatches ? 1 : 0); in getDefaultTrack()
249 (languageMatches && in getDefaultTrack()
/frameworks/av/packages/MediaComponents/src/com/android/media/subtitle/
DSubtitleController.java237 boolean languageMatches = in getDefaultTrack()
245 (autoselect ? 0 : 2) + (languageMatches ? 1 : 0); in getDefaultTrack()
253 (languageMatches && in getDefaultTrack()
/frameworks/support/media/src/main/java/androidx/media/subtitle/
DSubtitleController.java247 boolean languageMatches = locale == null in getDefaultTrack()
254 + (autoselect ? 0 : 2) + (languageMatches ? 1 : 0); in getDefaultTrack()
262 || (languageMatches && (autoselect || forced || selectedLocale != null))) { in getDefaultTrack()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMccTable.java291 List<Locale> languageMatches = new ArrayList<>(); in getLocaleForLanguageCountry() local
309 languageMatches.add(l); in getLocaleForLanguageCountry()
313 if (languageMatches.isEmpty()) { in getLocaleForLanguageCountry()
318 Locale bestMatch = lookupFallback(target, languageMatches); in getLocaleForLanguageCountry()
346 return languageMatches.get(0); in getLocaleForLanguageCountry()