Searched refs:imis (Results 1 – 12 of 12) sorted by relevance
93 final List<InputMethodInfo> imis = new ArrayList<>(); in updateState_singleIme_setImeLabelToSummary() local94 imis.add(mock(InputMethodInfo.class)); in updateState_singleIme_setImeLabelToSummary()95 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_singleIme_setImeLabelToSummary()96 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_singleIme_setImeLabelToSummary()97 when(imis.get(0).loadLabel(mPm)).thenReturn("label"); in updateState_singleIme_setImeLabelToSummary()108 final List<InputMethodInfo> imis = new ArrayList<>(); in updateState_multiImeWithMixedLocale_setImeLabelToSummary() local111 imis.add(mock(InputMethodInfo.class)); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()112 imis.add(mock(InputMethodInfo.class)); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()115 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()116 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()[all …]
143 final List<InputMethodInfo> imis = new ArrayList<>(); in testSummary_shouldSetToCurrentImeName() local144 imis.add(mock(InputMethodInfo.class)); in testSummary_shouldSetToCurrentImeName()145 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName()); in testSummary_shouldSetToCurrentImeName()146 when(mInputMethodManager.getInputMethodList()).thenReturn(imis); in testSummary_shouldSetToCurrentImeName()153 verify(imis.get(0)).loadLabel(mPackageManager); in testSummary_shouldSetToCurrentImeName()
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()
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()
60 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateState() local61 if (imis == null) { in updateState()69 for (InputMethodInfo imi : imis) { in updateState()
113 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet() local114 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
144 final List<InputMethodInfo> imis = mInputMethodSettingValues.getInputMethodList(); in updateInputMethodPreferenceViews() local145 final int numImis = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()147 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
163 final List<InputMethodInfo> imis = new ArrayList<>(); in addVirtualKeyboard() local165 imis.add(info); in addVirtualKeyboard()170 when(mImm.getInputMethodList()).thenReturn(imis); in addVirtualKeyboard()
85 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet() local86 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
141 final List<InputMethodInfo> imis = imm.getInputMethodList(); in setListening() local142 for (InputMethodInfo imi : imis) { in setListening()