Lines Matching defs:locale
36 * (IME). Subtype can describe locale (e.g. en_US, fr_FR...) and mode (e.g. voice, keyboard...),
66 * one %s in it. If there is, the %s part will be replaced with the locale's display name by
69 * @param locale The locale supported by the subtype
84 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue,
86 this(nameId, iconId, locale, mode, extraValue, isAuxiliary, false);
92 * one %s in it. If there is, the %s part will be replaced with the locale's display name by
95 * @param locale The locale supported by the subtype
113 public InputMethodSubtype(int nameId, int iconId, String locale, String mode, String extraValue,
117 mSubtypeLocale = locale != null ? locale : "";
157 * @return The locale of the subtype. This method returns the "locale" string parameter passed
207 * may have exactly one %s in it. If there is, the %s part will be replaced with the locale's
214 final Locale locale = constructLocaleFromString(mSubtypeLocale);
215 final String localeStr = locale != null ? locale.getDisplayName() : mSubtypeLocale;
347 private static int hashCodeInternal(String locale, String mode, String extraValue,
349 return Arrays.hashCode(new Object[] {locale, mode, extraValue, isAuxiliary,