Lines Matching defs:locale
57 public UserDictionary(final Context context, final String locale) {
58 this(context, locale, false);
61 public UserDictionary(final Context context, final String locale,
64 if (null == locale) throw new NullPointerException(); // Catch the error earlier
65 mLocale = locale;
93 // Split the locale. For example "en" => ["en"], "de_DE" => ["de", "DE"],
95 // This is correct for locale processing.
101 final StringBuilder request = new StringBuilder("(locale is NULL)");
104 // and request = "(locale is NULL)"
113 // 0 | "(locale is NULL)"
114 // 1 | "(locale is NULL) or (locale=?)"
115 // 2 | "(locale is NULL) or (locale=?) or (locale=?)"
116 request.append(" or (locale=?)");
119 // and request = "(locale is NULL) or (locale=?) or (locale=?) or (locale=?)"
125 request.append(" or (locale like ?)");
134 // and request = (locale is NULL) or (locale=?) or (locale like ?)