Searched refs:defaultLocale (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 157 Locale defaultLocale = Locale.getDefault(); in testDefaultLanguage_setsVoiceName() local 164 defaultLocale.getISO3Language(), in testDefaultLanguage_setsVoiceName() 165 defaultLocale.getISO3Country().toUpperCase(), in testDefaultLanguage_setsVoiceName() 166 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName() 169 defaultLocale.getISO3Language(), in testDefaultLanguage_setsVoiceName() 170 defaultLocale.getISO3Country(), in testDefaultLanguage_setsVoiceName() 171 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName() 178 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName() 179 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName() 181 assertEquals(defaultLocale.toLanguageTag(), req.getValue().getVoiceName()); in testDefaultLanguage_setsVoiceName()
|
/frameworks/opt/timezonepicker/src/com/android/timezonepicker/ |
D | TimeZonePickerUtils.java | 72 final Locale defaultLocale = Locale.getDefault(); in getGmtDisplayName() local 73 if (!defaultLocale.equals(mDefaultLocale)) { in getGmtDisplayName() 76 mDefaultLocale = defaultLocale; in getGmtDisplayName()
|
D | TimeZoneData.java | 483 final Locale defaultLocale = Locale.getDefault(); in getCountryNames() local 488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); in getCountryNames() 495 if (mBackupCountryCodes == null || !defaultLocale.equals(mBackupCountryLocale)) { in getCountryNames() 496 mBackupCountryLocale = defaultLocale; in getCountryNames()
|
/frameworks/base/core/java/android/os/ |
D | LocaleList.java | 481 final Locale defaultLocale = Locale.getDefault(); in getDefault() local 483 if (!defaultLocale.equals(sLastDefaultLocale)) { in getDefault() 484 sLastDefaultLocale = defaultLocale; in getDefault() 489 && defaultLocale.equals(sDefaultLocaleList.get(0))) { in getDefault() 494 sDefaultLocaleList = new LocaleList(defaultLocale, sLastExplicitlySetLocaleList); in getDefault()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | ComprehensiveCountryDetector.java | 255 Locale defaultLocale = Locale.getDefault(); in getLocaleCountry() local 256 if (defaultLocale != null) { in getLocaleCountry() 257 return new Country(defaultLocale.getCountry(), Country.COUNTRY_SOURCE_LOCALE); in getLocaleCountry()
|
/frameworks/base/core/java/android/speech/tts/ |
D | TextToSpeechService.java | 141 String[] defaultLocale = getSettingsLocale(); in onCreate() local 144 onLoadLanguage(defaultLocale[0], defaultLocale[1], defaultLocale[2]); in onCreate()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 2697 const String8 defaultLocale; in addSymbols() local 2794 const String8 defaultLocale; in validateLocalizations() local 2801 if (configSrcMap.count(defaultLocale) == 0) { in validateLocalizations() 2843 configSrcMap.count(defaultLocale) == 0) { in validateLocalizations()
|