Lines Matching refs:locale
96 // No "Select language" pref if there's only one system locale available.
148 // The locale list is null if and only if the user dictionary service is
156 // If the size of localeList is 0, we don't set the locale parameter in the
158 // meaning "the current locale".
160 // the locale list always has at least one element, since it always includes the current
161 // locale explicitly. @see UserDictionaryList.getUserDictionaryLocalesList().
163 final String locale = (String)localeList.toArray()[0];
164 userDictionaryPreference.getExtras().putString("locale", locale);
178 String locale = conf.locale.getDisplayName(conf.locale);
179 if (locale != null && locale.length() > 1) {
180 locale = Character.toUpperCase(locale.charAt(0)) + locale.substring(1);
181 mLanguagePref.setSummary(locale);