Lines Matching refs:imiId
125 final String imiId = sStringInputMethodSubtypeSplitter.next();
129 subtypesMap.put(imiId, subtypeIdSet);
135 static void enableInputMethodSubtypesOf(final ContentResolver resolver, final String imiId,
139 enabledImeAndSubtypeIdsMap.put(imiId, enabledSubtypeIdSet);
172 final String imiId = imi.getId();
173 final Preference pref = context.findPreference(imiId);
181 : enabledIMEsAndSubtypesMap.containsKey(imiId);
182 final boolean isCurrentInputMethod = imiId.equals(currentInputMethodId);
187 if (!enabledIMEsAndSubtypesMap.containsKey(imiId)) {
188 // imiId has just been enabled
189 enabledIMEsAndSubtypesMap.put(imiId, new HashSet<String>());
191 final HashSet<String> subtypesSet = enabledIMEsAndSubtypesMap.get(imiId);
199 .findPreference(imiId + subtypeHashCodeStr);
226 enabledIMEsAndSubtypesMap.remove(imiId);
241 if (disabledSystemIMEs.contains(imiId)) {
243 disabledSystemIMEs.remove(imiId);
247 disabledSystemIMEs.add(imiId);
294 final String imiId = imi.getId();
295 final Preference pref = context.findPreference(imiId);
298 final boolean isEnabled = enabledSubtypes.containsKey(imiId);
301 for (final Preference childPref: inputMethodPrefsMap.get(imiId)) {
305 setSubtypesPreferenceEnabled(context, inputMethodInfos, imiId, isEnabled);