Home | History | Annotate | Download | only in inputmethod

Lines Matching refs:imis

93         final List<InputMethodInfo> imis = new ArrayList<>();
94 imis.add(mock(InputMethodInfo.class));
95 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName());
96 when(mImm.getEnabledInputMethodList()).thenReturn(imis);
97 when(imis.get(0).loadLabel(mPm)).thenReturn("label");
108 final List<InputMethodInfo> imis = new ArrayList<>();
111 imis.add(mock(InputMethodInfo.class));
112 imis.add(mock(InputMethodInfo.class));
115 when(mImm.getEnabledInputMethodList()).thenReturn(imis);
116 when(imis.get(0).getPackageName()).thenReturn(componentName.getPackageName());
117 when(imis.get(0).loadLabel(mPm)).thenReturn(label1);
118 when(imis.get(1).getPackageName()).thenReturn(componentName.getPackageName());
119 when(imis.get(1).loadLabel(mPm)).thenReturn(label2);