Lines Matching defs:locale
94 * @param locale the locale for the spell checker. If {@param locale} is null and
95 * referToSpellCheckerLanguageSettings is true, the locale specified in Settings will be
96 * returned. If {@param locale} is not null and referToSpellCheckerLanguageSettings is true,
97 * the locale specified in Settings will be returned only when it is same as {@param locale}.
98 * Exceptionally, when referToSpellCheckerLanguageSettings is true and {@param locale} is
99 * only language (e.g. "en"), the specified locale in Settings (e.g. "en_US") will be
106 public SpellCheckerSession newSpellCheckerSession(Bundle bundle, Locale locale,
111 if (!referToSpellCheckerLanguageSettings && locale == null) {
135 if (locale != null) {
137 final String inputLocale = locale.toString();
144 final String localeStr = locale.toString();
193 // Passing null as a locale for ICS
220 // Passing null as a locale until we support multiple enabled spell checker subtypes.