Searched refs:defaultLocale (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/tests/TtsTests/src/com/android/speech/tts/ |
D | TextToSpeechTests.java | 161 Locale defaultLocale = Locale.getDefault(); in testDefaultLanguage_setsVoiceName() local 168 defaultLocale.getISO3Language(), in testDefaultLanguage_setsVoiceName() 169 defaultLocale.getISO3Country().toUpperCase(), in testDefaultLanguage_setsVoiceName() 170 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName() 173 defaultLocale.getISO3Language(), in testDefaultLanguage_setsVoiceName() 174 defaultLocale.getISO3Country(), in testDefaultLanguage_setsVoiceName() 175 defaultLocale.getVariant()); in testDefaultLanguage_setsVoiceName() 182 assertEquals(defaultLocale.getISO3Language(), req.getValue().getLanguage()); in testDefaultLanguage_setsVoiceName() 183 assertEquals(defaultLocale.getISO3Country(), req.getValue().getCountry()); in testDefaultLanguage_setsVoiceName() 185 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 | 494 final Locale defaultLocale = Locale.getDefault(); in getDefault() local 496 if (!defaultLocale.equals(sLastDefaultLocale)) { in getDefault() 497 sLastDefaultLocale = defaultLocale; in getDefault() 502 && defaultLocale.equals(sDefaultLocaleList.get(0))) { in getDefault() 507 sDefaultLocaleList = new LocaleList(defaultLocale, sLastExplicitlySetLocaleList); in getDefault()
|
/frameworks/minikin/tests/unittest/ |
D | FontFamilyTest.cpp | 46 Locale defaultLocale; in TEST() local 56 EXPECT_TRUE(defaultLocale != defaultLocale); in TEST() 58 EXPECT_TRUE(defaultLocale != emptyLocale); in TEST() 59 EXPECT_TRUE(defaultLocale != und); in TEST() 61 EXPECT_TRUE(english != defaultLocale); in TEST() 69 EXPECT_TRUE(defaultLocale.isUnsupported()); in TEST()
|
/frameworks/base/services/core/java/com/android/server/location/countrydetector/ |
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 | 2707 const String8 defaultLocale; in addSymbols() local 2804 const String8 defaultLocale; in validateLocalizations() local 2811 if (configSrcMap.count(defaultLocale) == 0) { in validateLocalizations() 2853 configSrcMap.count(defaultLocale) == 0) { in validateLocalizations()
|