Lines Matching refs:LOCALE
43 import java.util.Locale;
55 // Either the locale is empty (means the word is applicable to all locales)
56 // or the word equals our current locale
58 UserDictionary.Words.LOCALE + "=?";
60 UserDictionary.Words.LOCALE + " is null";
93 null == intent ? null : intent.getStringExtra("locale");
97 null == arguments ? null : arguments.getString("locale");
99 final String locale;
101 locale = localeFromArguments;
103 locale = localeFromIntent;
105 locale = null;
108 mLocale = locale;
109 mCursor = createCursor(locale);
124 private Cursor createCursor(final String locale) {
125 // Locale can be any of:
126 // - The string representation of a locale, as returned by Locale#toString()
128 // - null. This means we want a cursor for the current locale, whatever this is.
135 if ("".equals(locale)) {
141 final String queryLocale = null != locale ? locale : Locale.getDefault().toString();