Searched refs:imis (Results 1 – 18 of 18) sorted by relevance
101 final List<InputMethodInfo> imis = new ArrayList<>(); in updateState_singleIme_setImeLabelToSummary() local102 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() local119 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 …]
86 final List<InputMethodInfo> imis = new ArrayList<>(); in displayPreference_hasInputMethodSubType_shouldAddPreference() local87 imis.add(createInputMethodInfo("test", mContext)); in displayPreference_hasInputMethodSubType_shouldAddPreference()88 ShadowInputMethodManagerWithMethodList.getShadow().setInputMethodList(imis); in displayPreference_hasInputMethodSubType_shouldAddPreference()
93 final List<InputMethodInfo> imis = mInputMethodSettingValues.getInputMethodList(); in updateInputMethodPreferenceViews() local94 final int numImis = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()96 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
83 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateInputMethodPreferenceViews() local84 final int N = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()86 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
62 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateState() local63 if (imis == null) { in updateState()71 for (InputMethodInfo imi : imis) { in updateState()
110 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet() local111 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
137 final List<InputMethodInfo> imis = new ArrayList<>(); in testSummary_shouldSetToCurrentImeName() local138 imis.add(mock(InputMethodInfo.class)); in testSummary_shouldSetToCurrentImeName()139 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in testSummary_shouldSetToCurrentImeName()140 when(mInputMethodManager.getInputMethodList()).thenReturn(imis); in testSummary_shouldSetToCurrentImeName()147 verify(imis.get(0)).loadLabel(mPackageManager); in testSummary_shouldSetToCurrentImeName()
86 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateInputMethodPreferenceViews() local87 final int N = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()89 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
149 final List<InputMethodInfo> imis = mInputMethodSettingValues.getInputMethodList(); in updateInputMethodPreferenceViews() local150 final int numImis = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()152 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
69 final List<InputMethodInfo> imis = imm.getInputMethodList(); in getMyImi() local70 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()
148 final List<InputMethodInfo> imis = mInputMethodSettingValues.getInputMethodList(); in updateInputMethodPreferenceViews() local149 final int numImis = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()151 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
85 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet() local86 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
148 final List<InputMethodInfo> imis = imm.getInputMethodList(); in setListening() local149 for (InputMethodInfo imi : imis) { in setListening()
1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...