Home
last modified time | relevance | path

Searched refs:imis (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DVirtualKeyboardPreferenceControllerTest.java101 final List<InputMethodInfo> imis = new ArrayList<>(); in updateState_singleIme_setImeLabelToSummary() local
102 imis.add(mock(InputMethodInfo.class)); in updateState_singleIme_setImeLabelToSummary()
103 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_singleIme_setImeLabelToSummary()
104 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_singleIme_setImeLabelToSummary()
105 when(imis.get(0).loadLabel(mPm)).thenReturn("label"); in updateState_singleIme_setImeLabelToSummary()
116 final List<InputMethodInfo> imis = new ArrayList<>(); in updateState_multiImeWithMixedLocale_setImeLabelToSummary() local
119 imis.add(mock(InputMethodInfo.class)); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
120 imis.add(mock(InputMethodInfo.class)); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
123 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
124 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
[all …]
DInputMethodPreferenceControllerTest.java76 final List<InputMethodInfo> imis = new ArrayList<>(); in onStart_hasInputMethod_shouldHaveCorrectPreferences() local
77 imis.add(mock(InputMethodInfo.class)); in onStart_hasInputMethod_shouldHaveCorrectPreferences()
78 imis.add(mock(InputMethodInfo.class)); in onStart_hasInputMethod_shouldHaveCorrectPreferences()
79 when(imis.get(0).getPackageName()).thenReturn("name1"); in onStart_hasInputMethod_shouldHaveCorrectPreferences()
80 when(imis.get(1).getPackageName()).thenReturn("name2"); in onStart_hasInputMethod_shouldHaveCorrectPreferences()
81 ShadowInputMethodManagerWithMethodList.getShadow().setEnabledInputMethodList(imis); in onStart_hasInputMethod_shouldHaveCorrectPreferences()
DInputMethodAndSubtypePreferenceControllerTest.java86 final List<InputMethodInfo> imis = new ArrayList<>(); in displayPreference_hasInputMethodSubType_shouldAddPreference() local
87 imis.add(createInputMethodInfo("test", mContext)); in displayPreference_hasInputMethodSubType_shouldAddPreference()
88 ShadowInputMethodManagerWithMethodList.getShadow().setInputMethodList(imis); in displayPreference_hasInputMethodSubType_shouldAddPreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DLanguageAndInputPreferenceControllerTest.java60 final List<InputMethodInfo> imis = new ArrayList<>(); in getSummary_shouldSetToCurrentImeName() local
61 imis.add(mock(InputMethodInfo.class)); in getSummary_shouldSetToCurrentImeName()
62 when(imis.get(0).getPackageName()).thenReturn("name1"); in getSummary_shouldSetToCurrentImeName()
63 when(imis.get(0).loadLabel(any())).thenReturn("label"); in getSummary_shouldSetToCurrentImeName()
64 ShadowInputMethodManagerWithMethodList.getShadow().setInputMethodList(imis); in getSummary_shouldSetToCurrentImeName()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodPreferenceController.java75 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateInputMethodPreferenceViews() local
76 final int N = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()
78 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
DAvailableVirtualKeyboardFragment.java93 final List<InputMethodInfo> imis = mInputMethodSettingValues.getInputMethodList(); in updateInputMethodPreferenceViews() local
95 final int numImis = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()
97 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
DVirtualKeyboardPreferenceController.java62 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateState() local
63 if (imis == null) { in updateState()
71 for (InputMethodInfo imi : imis) { in updateState()
DUserDictionaryListPreferenceController.java110 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet() local
111 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java69 final List<InputMethodInfo> imis = imm.getInputMethodList(); in getMyImi() local
70 for (int i = 0; i < imis.size(); ++i) { in getMyImi()
71 final InputMethodInfo imi = imis.get(i); in getMyImi()
72 if (imis.get(i).getPackageName().equals(context.getPackageName())) { in getMyImi()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java148 final List<InputMethodInfo> imis = mInputMethodSettingValues.getInputMethodList(); in updateInputMethodPreferenceViews() local
149 final int numImis = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()
151 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
/packages/apps/Settings/src/com/android/settings/language/
DLanguageAndInputPreferenceController.java54 final List<InputMethodInfo> imis = mInputMethodManager.getInputMethodList(); in getSummary() local
55 for (InputMethodInfo imi : imis) { in getSummary()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java85 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet() local
86 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
/packages/inputmethods/LatinIME/dictionaries/
Dlt_wordlist.combined.gz1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
Dcs_wordlist.combined.gz1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...