/frameworks/base/packages/SettingsLib/src/com/android/settingslib/inputmethod/ |
D | InputMethodAndSubtypeEnablerManager.java | 93 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 …]
|
D | InputMethodAndSubtypeEnablerManagerCompat.java | 94 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 …]
|
D | InputMethodAndSubtypeUtil.java | 133 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 …]
|
D | InputMethodAndSubtypeUtilCompat.java | 133 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/ |
D | AdditionalSubtypeUtils.java | 147 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()
|
D | InputMethodManagerService.java | 1266 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 …]
|
D | MultiClientInputMethodManagerService.java | 1417 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/ |
D | IInputMethodManager.aidl | 40 List<InputMethodSubtype> getEnabledInputMethodSubtypeList(in String imiId, in getEnabledInputMethodSubtypeList() argument
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodManager.java | 2713 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()
|