Home
last modified time | relevance | path

Searched refs:SubtypeLocaleUtils (Results 1 – 25 of 44) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtilsTests.java123 SubtypeLocaleUtils.NO_LANGUAGE, "qwerty"); in setUp()
135 SubtypeLocaleUtils.NO_LANGUAGE, "azerty"); in setUp()
137 SubtypeLocaleUtils.NO_LANGUAGE, "pcqwerty"); in setUp()
160 final String subtypeName = SubtypeLocaleUtils in testAllFullDisplayName()
163 final String layoutName = SubtypeLocaleUtils in testAllFullDisplayName()
167 final String languageName = SubtypeLocaleUtils in testAllFullDisplayName()
176 assertEquals("en_US", "qwerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(EN_US)); in testKeyboardLayoutSetName()
177 assertEquals("en_GB", "qwerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(EN_GB)); in testKeyboardLayoutSetName()
178 assertEquals("es_US", "spanish", SubtypeLocaleUtils.getKeyboardLayoutSetName(ES_US)); in testKeyboardLayoutSetName()
179 assertEquals("fr", "azerty", SubtypeLocaleUtils.getKeyboardLayoutSetName(FR)); in testKeyboardLayoutSetName()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodSubtype.java29 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
83 return SubtypeLocaleUtils.NO_LANGUAGE.equals(mSubtype.getLocale()); in isNoLanguage()
111 return SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(mSubtype); in getFullDisplayName()
113 return SubtypeLocaleUtils.getSubtypeLocaleDisplayName(mSubtype.getLocale()); in getFullDisplayName()
120 return SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(mSubtype); in getMiddleDisplayName()
122 return SubtypeLocaleUtils.getSubtypeLanguageDisplayName(mSubtype.getLocale()); in getMiddleDisplayName()
165 return SubtypeLocaleUtils.getKeyboardLayoutSetName(mSubtype); in getKeyboardLayoutSetName()
180 "KeyboardLayoutSet=" + SubtypeLocaleUtils.QWERTY
188 SubtypeLocaleUtils.NO_LANGUAGE, KEYBOARD_MODE,
196 "KeyboardLayoutSet=" + SubtypeLocaleUtils.EMOJI
[all …]
DRichInputMethodManager.java39 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
104 SubtypeLocaleUtils.init(context); in initInternal()
152 + SubtypeLocaleUtils.getSubtypeNameForLogging(currentSubtype)); in switchToNextInputSubtypeInThisIme()
355 return SubtypeLocaleUtils.getCombiningRulesExtraValue(getCurrentSubtype().getRawSubtype()); in getCombiningRulesExtraValueOfCurrentSubtype()
423 final String layoutName = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype); in findSubtypeByLocaleAndKeyboardLayoutSet()
526 && !systemLocale.equals(SubtypeLocaleUtils.getSubtypeLocale(subtype))) { in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputMethodSubtypeTests.java38 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
126 SubtypeLocaleUtils.NO_LANGUAGE, "qwerty")); in setUp()
144 SubtypeLocaleUtils.NO_LANGUAGE, "azerty")); in setUp()
147 SubtypeLocaleUtils.NO_LANGUAGE, "pcqwerty")); in setUp()
176 final String subtypeName = SubtypeLocaleUtils in testAllFullDisplayNameForSpacebar()
179 final String languageName = SubtypeLocaleUtils in testAllFullDisplayNameForSpacebar()
192 final String subtypeName = SubtypeLocaleUtils in testAllMiddleDisplayNameForSpacebar()
195 final Locale displayLocale = SubtypeLocaleUtils.getDisplayLocaleOfSubtypeLocale( in testAllMiddleDisplayNameForSpacebar()
204 assertEquals(subtypeName, SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName( in testAllMiddleDisplayNameForSpacebar()
208 SubtypeLocaleUtils.getSubtypeLanguageDisplayName(locale.toString()), in testAllMiddleDisplayNameForSpacebar()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtils.java64 final int nameId = SubtypeLocaleUtils.getSubtypeNameId(localeString, keyboardLayoutSetName); in createAdditionalSubtypeInternal()
92 final String keyboardLayoutSetName = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype); in getPrefSubtype()
123 if (subtype.getNameResId() == SubtypeLocaleUtils.UNKNOWN_KEYBOARD_LAYOUT) { in createAdditionalSubtypesArray()
185 SubtypeLocaleUtils.isExceptionalLocale(localeString)) { in getPlatformVersionDependentExtraValue()
187 SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(keyboardLayoutSetName)); in getPlatformVersionDependentExtraValue()
224 if (SubtypeLocaleUtils.isExceptionalLocale(localeString)) { in getPlatformVersionIndependentSubtypeId()
226 SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(keyboardLayoutSetName)); in getPlatformVersionIndependentSubtypeId()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStylePreference.java40 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
101 SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype); in setSubtype()
105 + SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype)); in setSubtype()
263 mDisplayName = SubtypeLocaleUtils.getSubtypeLocaleDisplayNameInSystemLocale( in SubtypeLocaleItem()
296 SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype))); in SubtypeLocaleAdapter()
312 mLayoutName = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype); in KeyboardLayoutSetItem()
313 mDisplayName = SubtypeLocaleUtils.getKeyboardLayoutSetDisplayName(subtype); in KeyboardLayoutSetItem()
336 SubtypeLocaleUtils.NO_LANGUAGE, layout); in KeyboardLayoutSetAdapter()
DCustomInputStyleSettingsFragment.java46 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
79 SubtypeLocaleUtils.init(pref.getContext()); in updateCustomInputStylesSummary()
88 subtypeNames.add(SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype)); in updateCustomInputStylesSummary()
220 SubtypeLocaleUtils.getSubtypeDisplayNameInSystemLocale(subtype)); in showSubtypeAlreadyExistsToast()
226 final String keyboardLayoutSetName = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype); in findDuplicatedSubtype()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionLabelTests.java30 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
77 + " " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in doTestActionKeysInLocaleWithStringResources()
92 Locale.ITALIAN.toString(), SubtypeLocaleUtils.QWERTY); in testActionLabelInOtherLocale()
103 SubtypeLocaleUtils.NO_LANGUAGE, SubtypeLocaleUtils.QWERTY); in testNoLanguageSubtypeActionLabel()
135 + " " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in doTestActionKeysInLocaleWithKeyboardTextsSet()
151 hi_ZZ.toString(), SubtypeLocaleUtils.QWERTY); in testHinglishActionLabel()
DLxxActionUnspecifiedTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
33 + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionUnspecified()
DLxxActionNoneTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "none " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionNone()
DKlpActionCustomTests.java23 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
29 final String tag = "custom " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionCustom()
DLxxActionNextTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "next " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionNext()
DKlpActionNoneTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "none " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionNone()
DLxxActionCustomTests.java23 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
29 final String tag = "custom " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionCustom()
DLxxActionSendTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "send " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionSend()
DLxxActionGoTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "go " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionGo()
DLxxActionPreviousTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "previous " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionPrevious()
DKlpActionUnspecifiedTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
33 + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionUnspecified()
DLxxActionSearchTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "search " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionSearch()
DLxxActionDoneTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "done " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionDone()
DKlpActionSearchTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
32 final String tag = "search " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionSearch()
DKlpActionGoTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
30 final String tag = "go " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionGo()
DKlpActionPreviousTests.java24 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
30 final String tag = "previous " + SubtypeLocaleUtils.getSubtypeNameForLogging(subtype); in testActionPrevious()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetTestsBase.java36 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
128 final Locale subtypeLocale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in getSubtype()
129 final String subtypeLayout = SubtypeLocaleUtils.getKeyboardLayoutSetName(subtype); in getSubtype()
136 final Locale subtypeLocale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in getSubtype()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSetTests.java31 import com.android.inputmethod.latin.utils.SubtypeLocaleUtils;
75 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in testSwitchToAlphaKeyLabel()
102 final Locale locale = SubtypeLocaleUtils.getSubtypeLocale(subtype); in testTextFromResources()

12