Home
last modified time | relevance | path

Searched refs:getEnabledInputMethodList (Results 1 – 19 of 19) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
DEnabledKeyboardPreferenceControllerTest.java116 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods()
128 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_hasAllowedImeByOrganization()
140 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_disallowedByOrganization()
153 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_skipVoiceTyping()
165 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceIcon()
178 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceTitle()
191 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_verifyPreferenceSummary()
205 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in performClick_launchSettingsActivity()
225 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in performClick_missingSettingsActivity_noCrash()
238 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in performClick_noSettingsActivity_noCrash()
DKeyboardPreferenceControllerTest.java103 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(Collections.emptyList()); in refreshUi_noInputMethodInfo()
117 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasOneInputMethodInfo()
134 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasTwoInputMethodInfo()
154 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_permitAllInputMethods_hasThreeInputMethodInfo()
171 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_hasAllowedImeByOrganization()
186 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(infos); in refreshUi_disallowedByOrganization()
DInputMethodUtilTest.java125 when(mInputMethodManager.getEnabledInputMethodList()).thenReturn(null); in getPermittedAndEnabledInputMethodList_noEnabledInputMethods_returnsNull()
138 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_noPermittedMethods_returnsEmptyList()
162 when(mInputMethodManager.getEnabledInputMethodList()) in getPermittedAndEnabledInputMethodList_withGoogleTypingIME_doesNotIncludeIME()
275 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_notEnabled_remainsUnchanged()
292 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_notDefault_removesIMEWhileDefaultRemainsSame()
309 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_twoDefaultableIMEsEnabled_removesIMEAndChangesDefault()
326 when(mInputMethodManager.getEnabledInputMethodList()) in disableInputMethod_isDefaultWithNoOtherDefaultableEnabled_remainsUnchanged()
DKeyboardManagementPreferenceControllerTest.java485 assertThat(getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
724 assertThat(getEnabledInputMethodList().get(0).getId()) in performClick_toggleTrue_showDirectBootDialog_positive_inputMethodEnabled()
862 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleTrue_showDirectBootDialog_negative_inputMethodDisabled()
931 assertThat(mInputMethodManager.getEnabledInputMethodList().size()) in performClick_toggleFalse_inputMethodDisabled()
1212 when(mInputMethodManager.getEnabledInputMethodList()).thenAnswer( in setEnabledInputMethodList()
1213 (Answer<List<InputMethodInfo>>) invocation -> getEnabledInputMethodList()); in setEnabledInputMethodList()
1216 private List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in KeyboardManagementPreferenceControllerTest
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/
DInputMethodSettingValuesWrapper.java75 if (getEnabledInputMethodList().size() <= 1 && isEnabled) { in isAlwaysCheckedIme()
90 final List<InputMethodInfo> enabledImis = getEnabledInputMethodList(); in getEnabledValidNonAuxAsciiCapableImeCount()
103 final List<InputMethodInfo> enabledImis = getEnabledInputMethodList(); in isEnabledImi()
119 private ArrayList<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in InputMethodSettingValuesWrapper
DInputMethodHelper.java48 new ArrayList<>(inputMethodManager.getEnabledInputMethodList()); in getEnabledSystemInputMethodList()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DVirtualKeyboardPreferenceControllerTest.java102 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_singleIme_setImeLabelToSummary()
121 when(mImm.getEnabledInputMethodList()).thenReturn(imis); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DInputMethodUtil.java73 List<InputMethodInfo> inputMethodInfos = imm.getEnabledInputMethodList(); in getPermittedAndEnabledInputMethodList()
169 .getEnabledInputMethodList(); in disableInputMethod()
DKeyboardManagementPreferenceController.java170 List<InputMethodInfo> inputMethodInfos = mInputMethodManager.getEnabledInputMethodList(); in isOnlyEnabledDefaultInputMethod()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/testutils/
DShadowInputMethodManager.java35 public List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in ShadowInputMethodManager
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DUncachedInputMethodManagerUtils.java42 for (final InputMethodInfo imi : imm.getEnabledInputMethodList()) { in isThisImeEnabled()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowInputMethodManagerWithMethodList.java51 protected List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in ShadowInputMethodManagerWithMethodList
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java168 final List<InputMethodInfo> enabledImis = imm.getEnabledInputMethodList(); in switchToNextInputMethodAndSubtype()
359 final List<InputMethodInfo> enabledImis = mImmWrapper.mImm.getEnabledInputMethodList(); in hasMultipleEnabledIMEsOrSubtypes()
513 inputMethodManager.getEnabledInputMethodList(); in isSystemLocaleSameAsLocaleOfAllEnabledSubtypesOfEnabledImes()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DVirtualKeyboardPreferenceController.java62 final List<InputMethodInfo> imis = mImm.getEnabledInputMethodList(); in updateState()
DUserDictionaryListPreferenceController.java110 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DInputMethodHelper.java48 new ArrayList<>(inputMethodManager.getEnabledInputMethodList()); in getEnabledSystemInputMethodList()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java85 final List<InputMethodInfo> imis = imm.getEnabledInputMethodList(); in getUserDictionaryLocalesSet()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowInputMethodManager.java78 protected List<InputMethodInfo> getEnabledInputMethodList() { in getEnabledInputMethodList() method in ShadowInputMethodManager
/packages/providers/UserDictionaryProvider/src/com/android/providers/userdictionary/
DUserDictionaryProvider.java327 List<InputMethodInfo> imeInfos = mImeManager.getEnabledInputMethodList(); in canCallerAccessUserDictionary()