Home
last modified time | relevance | path

Searched refs:imiId (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodAndSubtypeEnabler.java136 for (final String imiId : mAutoSelectionPrefsMap.keySet()) { in onPreferenceChange()
138 if (mAutoSelectionPrefsMap.get(imiId) == pref) { in onPreferenceChange()
142 setAutoSelectionSubtypesEnabled(imiId, autoSelectionPref.isChecked()); in onPreferenceChange()
167 final String imiId = imi.getId(); in addInputMethodSubtypePreferences() local
174 keyboardSettingsCategory.setKey(imiId); in addInputMethodSubtypePreferences()
177 mAutoSelectionPrefsMap.put(imiId, autoSelectionPref); in addInputMethodSubtypePreferences()
216 mInputMethodAndSubtypePrefsMap.put(imiId, subtypePreferences); in addInputMethodSubtypePreferences()
225 private boolean isNoSubtypesExplicitlySelected(final String imiId) { in isNoSubtypesExplicitlySelected() argument
226 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); in isNoSubtypesExplicitlySelected()
235 private void setAutoSelectionSubtypesEnabled(final String imiId, in setAutoSelectionSubtypesEnabled() argument
[all …]
DInputMethodAndSubtypeUtil.java125 final String imiId = sStringInputMethodSubtypeSplitter.next(); in parseInputMethodsAndSubtypesString() local
129 subtypesMap.put(imiId, subtypeIdSet); in parseInputMethodsAndSubtypesString()
135 static void enableInputMethodSubtypesOf(final ContentResolver resolver, final String imiId, in enableInputMethodSubtypesOf() argument
139 enabledImeAndSubtypeIdsMap.put(imiId, enabledSubtypeIdSet); in enableInputMethodSubtypesOf()
172 final String imiId = imi.getId(); in saveInputMethodSubtypeList() local
173 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList()
181 : enabledIMEsAndSubtypesMap.containsKey(imiId); in saveInputMethodSubtypeList()
182 final boolean isCurrentInputMethod = imiId.equals(currentInputMethodId); in saveInputMethodSubtypeList()
187 if (!enabledIMEsAndSubtypesMap.containsKey(imiId)) { in saveInputMethodSubtypeList()
189 enabledIMEsAndSubtypesMap.put(imiId, new HashSet<String>()); in saveInputMethodSubtypeList()
[all …]
DInputMethodAndLanguageSettings.java465 final String imiId = imi.getId(); in saveEnabledSubtypesOf() local
466 imeToEnabledSubtypeIdsMap.put(imiId, enabledSubtypeIdSet); in saveEnabledSubtypesOf()
473 final String imiId = imi.getId(); in restorePreviouslyEnabledSubtypesOf() local
474 final HashSet<String> enabledSubtypeIdSet = imeToEnabledSubtypeIdsMap.remove(imiId); in restorePreviouslyEnabledSubtypesOf()
480 getContentResolver(), imiId, enabledSubtypeIdSet); in restorePreviouslyEnabledSubtypesOf() local
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java542 final String imiId = mShortcutInputMethodInfo.getId(); in switchToShortcutIme() local
543 switchToTargetIME(imiId, mShortcutSubtype, context); in switchToShortcutIme()
546 private void switchToTargetIME(final String imiId, final InputMethodSubtype subtype, in switchToTargetIME() argument
556 imm.setInputMethodAndSubtype(token, imiId, subtype); in switchToTargetIME()