Searched refs:locales (Results 1 – 16 of 16) sorted by relevance
76 public ContactLocaleUtilsBase(LocaleSet locales) { in ContactLocaleUtilsBase() argument89 final Locale secondaryLocale = locales.getSecondaryLocale(); in ContactLocaleUtilsBase()90 mEnableSecondaryLocalePinyin = locales.isSecondaryLocaleSimplifiedChinese(); in ContactLocaleUtilsBase()91 AlphabeticIndex ai = new AlphabeticIndex(locales.getPrimaryLocale()) in ContactLocaleUtilsBase()216 public JapaneseContactUtils(LocaleSet locales) { in JapaneseContactUtils() argument217 super(locales); in JapaneseContactUtils()358 public SimplifiedChineseContactUtils(LocaleSet locales) { in SimplifiedChineseContactUtils() argument359 super(locales); in SimplifiedChineseContactUtils()417 private ContactLocaleUtils(LocaleSet locales) { in ContactLocaleUtils() argument418 if (locales == null) { in ContactLocaleUtils()[all …]
100 final String[] locales = localeString.split(";"); in getLocaleSet() local101 final Locale primaryLocale = Locale.forLanguageTag(locales[0]); in getLocaleSet()105 if (locales.length > 1 && locales[1] != null) { in getLocaleSet()106 final Locale secondaryLocale = Locale.forLanguageTag(locales[1]); in getLocaleSet()
3337 public boolean needsToUpdateLocaleData(LocaleSet locales) { in needsToUpdateLocaleData() argument3339 if (!dbLocale.equals(locales.toString())) { in needsToUpdateLocaleData()3354 final LocaleSet locales = LocaleSet.getDefault(); in upgradeLocaleData() local3355 Log.i(TAG, "Upgrading locale data for " + locales in upgradeLocaleData()3359 rebuildLocaleData(db, locales, rebuildSqliteStats); in upgradeLocaleData()3363 … private void rebuildLocaleData(SQLiteDatabase db, LocaleSet locales, boolean rebuildSqliteStats) { in rebuildLocaleData() argument3377 setProperty(db, DbProperties.LOCALE, locales.toString()); in rebuildLocaleData()3385 public void setLocale(LocaleSet locales) { in setLocale() argument3386 if (!needsToUpdateLocaleData(locales)) { in setLocale()3389 Log.i(TAG, "Switching to locale " + locales in setLocale()[all …]
1746 LocaleSet locales, ContactsDatabaseHelper contactsHelper, in needsToUpdateLocaleData() argument1753 if (!locales.toString().equals(providerLocales)) { in needsToUpdateLocaleData()1755 + " to " + locales); in needsToUpdateLocaleData()1758 if (contactsHelper.needsToUpdateLocaleData(locales) || in needsToUpdateLocaleData()1759 profileHelper.needsToUpdateLocaleData(locales)) { in needsToUpdateLocaleData()
28 final String[] locales = {"en_US", "de", "el", "es", "fi", "it", "nl", "pt", "ru"}; in testSwitchLanguagesAndInputLatinRandomCodePoints() local35 changeLanguageWithoutWait(locales[random.nextInt(locales.length)], in testSwitchLanguagesAndInputLatinRandomCodePoints()45 final String[] locales = {"en_US", "de", "el", "es", "fi", "it", "nl", "pt", "ru"}; in testSwitchLanguagesAndInputRandomCodePoints() local53 changeLanguageWithoutWait(locales[random.nextInt(locales.length)], in testSwitchLanguagesAndInputRandomCodePoints()
233 final TreeSet<String> locales = UserDictionaryList.getUserDictionaryLocalesSet(activity); in getLocalesList() local235 locales.remove(mLocale); // mLocale may not be null in getLocalesList()238 locales.remove(systemLocale); // system locale may not be null in getLocalesList()239 locales.remove(""); // Remove the empty string if it's there in getLocalesList()247 for (final String l : locales) { in getLocalesList()
344 List<LocalePicker.LocaleInfo> locales = LocalePicker.getAllAssetLocales(context, true); in getLocaleName() local345 for (LocalePicker.LocaleInfo locale : locales) { in getLocaleName()
254 final TreeSet<String> locales = UserDictionaryList.getUserDictionaryLocalesSet(activity); in getLocalesList() local256 locales.remove(mLocale); // mLocale may not be null in getLocalesList()259 locales.remove(systemLocale); // system locale may not be null in getLocalesList()260 locales.remove(""); // Remove the empty string if it's there in getLocalesList()268 for (final String l : locales) { in getLocalesList()
48 List<LocalePicker.LocaleInfo> locales = LocalePicker.getAllAssetLocales(context, in init() local51 final int finalSize = locales.size(); in init()58 final LocalePicker.LocaleInfo info = locales.get(i); in init()
27 final LocaleSet locales = new LocaleSet(primaryLocale, secondaryLocale); in testLocaleStringsHelper() local28 final String localeString = locales.toString(); in testLocaleStringsHelper()32 assertEquals(locales, parseLocales); in testLocaleStringsHelper()
35 locales = ["cs-CZ", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", variable264 for locale in locales:
1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...