Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/
DInputMethodAndSubtypeEnablerManager.java93 for (final String imiId : mAutoSelectionPrefsMap.keySet()) { in onPreferenceChange()
95 if (mAutoSelectionPrefsMap.get(imiId) == pref) { in onPreferenceChange()
99 setAutoSelectionSubtypesEnabled(imiId, autoSelectionPref.isChecked()); in onPreferenceChange()
125 final String imiId = imi.getId(); in addInputMethodSubtypePreferences() local
133 keyboardSettingsCategory.setKey(imiId); in addInputMethodSubtypePreferences()
137 mAutoSelectionPrefsMap.put(imiId, autoSelectionPref); in addInputMethodSubtypePreferences()
172 mInputMethodAndSubtypePrefsMap.put(imiId, subtypePreferences); in addInputMethodSubtypePreferences()
181 private boolean isNoSubtypesExplicitlySelected(final String imiId) { in isNoSubtypesExplicitlySelected() argument
182 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); in isNoSubtypesExplicitlySelected()
191 private void setAutoSelectionSubtypesEnabled(final String imiId, in setAutoSelectionSubtypesEnabled() argument
[all …]
DInputMethodAndSubtypeEnablerManagerCompat.java94 for (final String imiId : mAutoSelectionPrefsMap.keySet()) { in onPreferenceChange()
96 if (mAutoSelectionPrefsMap.get(imiId) == pref) { in onPreferenceChange()
100 setAutoSelectionSubtypesEnabled(imiId, autoSelectionPref.isChecked()); in onPreferenceChange()
126 final String imiId = imi.getId(); in addInputMethodSubtypePreferences() local
134 keyboardSettingsCategory.setKey(imiId); in addInputMethodSubtypePreferences()
138 mAutoSelectionPrefsMap.put(imiId, autoSelectionPref); in addInputMethodSubtypePreferences()
173 mInputMethodAndSubtypePrefsMap.put(imiId, subtypePreferences); in addInputMethodSubtypePreferences()
182 private boolean isNoSubtypesExplicitlySelected(final String imiId) { in isNoSubtypesExplicitlySelected() argument
183 final List<Preference> subtypePrefs = mInputMethodAndSubtypePrefsMap.get(imiId); in isNoSubtypesExplicitlySelected()
192 private void setAutoSelectionSubtypesEnabled(final String imiId, in setAutoSelectionSubtypesEnabled() argument
[all …]
DInputMethodAndSubtypeUtil.java133 final String imiId = sStringInputMethodSubtypeSplitter.next(); in parseInputMethodsAndSubtypesString() local
137 subtypesMap.put(imiId, subtypeIdSet); in parseInputMethodsAndSubtypesString()
169 final String imiId = imi.getId(); in saveInputMethodSubtypeList() local
170 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList()
178 : enabledIMEsAndSubtypesMap.containsKey(imiId); in saveInputMethodSubtypeList()
179 final boolean isCurrentInputMethod = imiId.equals(currentInputMethodId); in saveInputMethodSubtypeList()
184 if (!enabledIMEsAndSubtypesMap.containsKey(imiId)) { in saveInputMethodSubtypeList()
186 enabledIMEsAndSubtypesMap.put(imiId, new HashSet<>()); in saveInputMethodSubtypeList()
188 final HashSet<String> subtypesSet = enabledIMEsAndSubtypesMap.get(imiId); in saveInputMethodSubtypeList()
196 .findPreference(imiId + subtypeHashCodeStr); in saveInputMethodSubtypeList()
[all …]
DInputMethodAndSubtypeUtilCompat.java133 final String imiId = sStringInputMethodSubtypeSplitter.next(); in parseInputMethodsAndSubtypesString() local
137 subtypesMap.put(imiId, subtypeIdSet); in parseInputMethodsAndSubtypesString()
169 final String imiId = imi.getId(); in saveInputMethodSubtypeList() local
170 final Preference pref = context.findPreference(imiId); in saveInputMethodSubtypeList()
178 : enabledIMEsAndSubtypesMap.containsKey(imiId); in saveInputMethodSubtypeList()
179 final boolean isCurrentInputMethod = imiId.equals(currentInputMethodId); in saveInputMethodSubtypeList()
184 if (!enabledIMEsAndSubtypesMap.containsKey(imiId)) { in saveInputMethodSubtypeList()
186 enabledIMEsAndSubtypesMap.put(imiId, new HashSet<>()); in saveInputMethodSubtypeList()
188 final HashSet<String> subtypesSet = enabledIMEsAndSubtypesMap.get(imiId); in saveInputMethodSubtypeList()
196 .findPreference(imiId + subtypeHashCodeStr); in saveInputMethodSubtypeList()
[all …]
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java147 for (String imiId : allSubtypes.keySet()) { in save()
148 if (isSetMethodMap && !methodMap.containsKey(imiId)) { in save()
149 Slog.w(TAG, "IME uninstalled or not valid.: " + imiId); in save()
153 out.attribute(null, ATTR_ID, imiId); in save()
154 final List<InputMethodSubtype> subtypesList = allSubtypes.get(imiId); in save()
DInputMethodManagerService.java1266 final String imiId = imi.getId(); in onFinishPackageChangesInternal() local
1267 if (imiId.equals(curInputMethodId)) { in onFinishPackageChangesInternal()
1810 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(String imiId, in getEnabledInputMethodSubtypeList() argument
1821 return getEnabledInputMethodSubtypeListLocked(imiId, in getEnabledInputMethodSubtypeList()
1830 private List<InputMethodSubtype> getEnabledInputMethodSubtypeListLocked(String imiId, in getEnabledInputMethodSubtypeListLocked() argument
1834 if (imiId == null && mCurMethodId != null) { in getEnabledInputMethodSubtypeListLocked()
1837 imi = mMethodMap.get(imiId); in getEnabledInputMethodSubtypeListLocked()
1852 final InputMethodInfo imi = methodMap.get(imiId); in getEnabledInputMethodSubtypeListLocked()
3402 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument
3405 if (TextUtils.isEmpty(imiId) || subtypes == null) return; in setAdditionalInputMethodSubtypes()
[all …]
DMultiClientInputMethodManagerService.java1417 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(String imiId, in getEnabledInputMethodSubtypeList() argument
1691 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl40 List<InputMethodSubtype> getEnabledInputMethodSubtypeList(in String imiId, in getEnabledInputMethodSubtypeList() argument
/frameworks/base/core/java/android/view/inputmethod/
DInputMethodManager.java2713 public void showInputMethodAndSubtypeEnabler(String imiId) { in showInputMethodAndSubtypeEnabler() argument
2715 mService.showInputMethodAndSubtypeEnablerFromClient(mClient, imiId); in showInputMethodAndSubtypeEnabler()
2962 public void setAdditionalInputMethodSubtypes(String imiId, InputMethodSubtype[] subtypes) { in setAdditionalInputMethodSubtypes() argument
2964 mService.setAdditionalInputMethodSubtypes(imiId, subtypes); in setAdditionalInputMethodSubtypes()