Searched refs:defaultLocale (Results 1 – 6 of 6) sorted by relevance
72 final Locale defaultLocale = Locale.getDefault(); in getGmtDisplayName() local73 if (!defaultLocale.equals(mDefaultLocale)) { in getGmtDisplayName()76 mDefaultLocale = defaultLocale; in getGmtDisplayName()
483 final Locale defaultLocale = Locale.getDefault(); in getCountryNames() local488 countryDisplayName = new Locale(lang, countryCode).getDisplayCountry(defaultLocale); in getCountryNames()495 if (mBackupCountryCodes == null || !defaultLocale.equals(mBackupCountryLocale)) { in getCountryNames()496 mBackupCountryLocale = defaultLocale; in getCountryNames()
163 Locale defaultLocale = Locale.getDefault(); in testDefaultLanguage_setsVoiceName() local164 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName()165 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName()167 assertEquals(defaultLocale.toLanguageTag(), req.getValue().getVoiceName()); in testDefaultLanguage_setsVoiceName()
255 Locale defaultLocale = Locale.getDefault(); in getLocaleCountry() local256 if (defaultLocale != null) { in getLocaleCountry()257 return new Country(defaultLocale.getCountry(), Country.COUNTRY_SOURCE_LOCALE); in getLocaleCountry()
141 String[] defaultLocale = getSettingsLocale(); in onCreate() local144 onLoadLanguage(defaultLocale[0], defaultLocale[1], defaultLocale[2]); in onCreate()
2676 const String8 defaultLocale; in validateLocalizations() local2685 if (configSrcMap.count(defaultLocale) == 0) { in validateLocalizations()2729 configSrcMap.count(defaultLocale) == 0) { in validateLocalizations()