Searched refs:SubtypeLocale (Results 1 - 13 of 13) sorted by path

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardId.java28 import com.android.inputmethod.latin.SubtypeLocale;
84 mLocale = SubtypeLocale.getSubtypeLocale(subtype);
H A DKeyboardLayoutSet.java46 import com.android.inputmethod.latin.SubtypeLocale;
197 final boolean noLanguage = SubtypeLocale.isNoLanguage(params.mSubtype);
251 + SubtypeLocale.getKeyboardLayoutSetName(keyboardSubtype);
H A DMainKeyboardView.java55 import com.android.inputmethod.latin.SubtypeLocale;
1027 if (SubtypeLocale.isNoLanguage(subtype)) {
1028 return SubtypeLocale.getKeyboardLayoutSetDisplayName(subtype);
1031 return SubtypeLocale.getSubtypeDisplayName(subtype, res);
1036 if (SubtypeLocale.isNoLanguage(subtype)) {
1039 final Locale locale = SubtypeLocale.getSubtypeLocale(subtype);
1045 if (SubtypeLocale.isNoLanguage(subtype)) {
1046 return SubtypeLocale.getKeyboardLayoutSetDisplayName(subtype);
1048 final Locale locale = SubtypeLocale.getSubtypeLocale(subtype);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardBuilder.java37 import com.android.inputmethod.latin.SubtypeLocale;
311 final Locale locale = SubtypeLocale.isNoLanguage(params.mId.mSubtype)
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
H A DAdditionalSubtype.java49 && SubtypeLocale.isExceptionalLocale(localeString)) {
50 final String layoutDisplayName = SubtypeLocale.getKeyboardLayoutSetDisplayName(
59 final int nameId = SubtypeLocale.getSubtypeNameId(localeString, keyboardLayoutSetName);
67 final String keyboardLayoutSetName = SubtypeLocale.getKeyboardLayoutSetName(subtype);
97 if (subtype.getNameResId() == SubtypeLocale.UNKNOWN_KEYBOARD_LAYOUT) {
H A DAdditionalSubtypeSettings.java73 this(localeString, SubtypeLocale.getSubtypeLocaleDisplayName(localeString));
103 SubtypeLocale.getSubtypeDisplayName(subtype, context.getResources())));
115 if (localeString.equals(SubtypeLocale.NO_LANGUAGE)) {
126 super(SubtypeLocale.getKeyboardLayoutSetName(subtype),
127 SubtypeLocale.getKeyboardLayoutSetDisplayName(subtype));
142 for (final String layout : SubtypeLocale.getPredefinedKeyboardLayoutSet()) {
145 SubtypeLocale.NO_LANGUAGE, layout, null);
205 final String displayName = SubtypeLocale.getSubtypeDisplayName(
210 + SubtypeLocale.getKeyboardLayoutSetName(subtype));
497 SubtypeLocale
[all...]
H A DImfUtils.java171 final String layoutName = SubtypeLocale.getKeyboardLayoutSetName(subtype);
H A DSettings.java121 // {@link SubtypeLocale} class may not have been initialized. It is safe to call
122 // {@link SubtypeLocale#init(Context)} multiple times.
123 SubtypeLocale.init(context);
319 styles.append(SubtypeLocale.getSubtypeDisplayName(subtype, res));
H A DSubtypeLocale.java33 public final class SubtypeLocale { class
34 static final String TAG = SubtypeLocale.class.getSimpleName();
69 private SubtypeLocale() { method in class:SubtypeLocale
H A DSubtypeSwitcher.java85 SubtypeLocale.init(context);
101 service, SubtypeLocale.NO_LANGUAGE, SubtypeLocale.QWERTY);
195 final Locale newLocale = SubtypeLocale.getSubtypeLocale(newSubtype);
275 if (keyboardLocale.toString().equals(SubtypeLocale.NO_LANGUAGE)) {
285 return SubtypeLocale.getSubtypeLocale(mCurrentSubtype);
H A DUserBinaryDictionary.java79 if (SubtypeLocale.NO_LANGUAGE.equals(locale)) {
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
H A DSpacebarTextTests.java28 import com.android.inputmethod.latin.SubtypeLocale;
44 SubtypeLocale.init(context);
49 final String subtypeName = SubtypeLocale.getSubtypeDisplayName(subtype, mRes);
52 SubtypeLocale.getSubtypeLocaleDisplayName(subtype.getLocale());
53 if (SubtypeLocale.isNoLanguage(subtype)) {
63 final String subtypeName = SubtypeLocale.getSubtypeDisplayName(subtype, mRes);
65 if (SubtypeLocale.isNoLanguage(subtype)) {
67 SubtypeLocale.getKeyboardLayoutSetName(subtype), spacebarText);
70 SubtypeLocale.getSubtypeLocaleDisplayName(subtype.getLocale()),
78 final String subtypeName = SubtypeLocale
[all...]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
H A DSubtypeLocaleTests.java40 SubtypeLocale.init(context);
45 final String subtypeName = SubtypeLocale.getSubtypeDisplayName(subtype, mRes);
46 if (SubtypeLocale.isNoLanguage(subtype)) {
51 SubtypeLocale.getSubtypeLocaleDisplayName(subtype.getLocale());
85 context, SubtypeLocale.NO_LANGUAGE, "qwerty");
87 assertEquals("en_US", "qwerty", SubtypeLocale.getKeyboardLayoutSetName(EN_US));
88 assertEquals("en_GB", "qwerty", SubtypeLocale.getKeyboardLayoutSetName(EN_GB));
89 assertEquals("fr ", "azerty", SubtypeLocale.getKeyboardLayoutSetName(FR));
90 assertEquals("fr_CA", "qwerty", SubtypeLocale.getKeyboardLayoutSetName(FR_CA));
91 assertEquals("de ", "qwertz", SubtypeLocale
[all...]

Completed in 309 milliseconds