Searched refs:imis (Results 1 – 14 of 14) 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 …]
76 final List<InputMethodInfo> imis = new ArrayList<>(); in onStart_hasInputMethod_shouldHaveCorrectPreferences() local77 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()
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()
60 final List<InputMethodInfo> imis = new ArrayList<>(); in getSummary_shouldSetToCurrentImeName() local61 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()
75 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateInputMethodPreferenceViews() local76 final int N = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()78 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews()
93 final List<InputMethodInfo> imis = mInputMethodSettingValues.getInputMethodList(); in updateInputMethodPreferenceViews() local95 final int numImis = (imis == null ? 0 : imis.size()); in updateInputMethodPreferenceViews()97 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()
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()
54 final List<InputMethodInfo> imis = mInputMethodManager.getInputMethodList(); in getSummary() local55 for (InputMethodInfo imi : imis) { in getSummary()
85 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet() local86 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
1dictionary=main:lt,locale=lt,description=Lietuvių,date=1393228136, ...
1dictionary=main:cs,locale=cs,description=Čeština,date=1393228134, ...