Home
last modified time | relevance | path

Searched refs:imi (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/inputmethod/
DInputMethodSettingValuesWrapper.java87 for (InputMethodInfo imi : imms) { in refreshAllInputMethodAndSubtypes()
88 mMethodMap.put(imi.getId(), imi); in refreshAllInputMethodAndSubtypes() local
99 for (final InputMethodInfo imi : enabledImis) { in updateAsciiCapableEnabledImis()
100 final int subtypeCount = imi.getSubtypeCount(); in updateAsciiCapableEnabledImis()
102 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in updateAsciiCapableEnabledImis()
105 mAsciiCapableEnabledImis.add(imi); in updateAsciiCapableEnabledImis()
121 final InputMethodInfo imi = mMethodMap.get(mSettings.getSelectedInputMethod()); in getCurrentInputMethodName() local
122 if (imi == null) { in getCurrentInputMethodName()
127 return InputMethodUtils.getImeAndSubtypeDisplayName(context, imi, subtype); in getCurrentInputMethodName()
131 boolean isAlwaysCheckedIme(InputMethodInfo imi, Context context) { in isAlwaysCheckedIme() argument
[all …]
DInputMethodAndSubtypeUtil.java60 for (final String imi : imeToSubtypesMap.keySet()) { in buildInputMethodsAndSubtypesString()
64 final HashSet<String> subtypeIdSet = imeToSubtypesMap.get(imi); in buildInputMethodsAndSubtypesString()
65 builder.append(imi); in buildInputMethodsAndSubtypesString()
75 for (final String imi : imiList) { in buildInputMethodsString()
79 builder.append(imi); in buildInputMethodsString()
171 for (final InputMethodInfo imi : inputMethodInfos) { in saveInputMethodSubtypeList()
172 final String imiId = imi.getId(); in saveInputMethodSubtypeList()
183 final boolean systemIme = InputMethodUtils.isSystemIme(imi); in saveInputMethodSubtypeList()
185 context.getActivity()).isAlwaysCheckedIme(imi, context.getActivity())) in saveInputMethodSubtypeList()
194 final int subtypeCount = imi.getSubtypeCount(); in saveInputMethodSubtypeList()
[all …]
DInputMethodAndSubtypeEnabler.java75 final InputMethodInfo imi = mInputMethodInfoList.get(index); in onCreate() local
77 if (imi.getId().equals(targetImi) || TextUtils.isEmpty(targetImi)) { in onCreate()
78 addInputMethodSubtypePreferences(imi, root); in onCreate()
154 private void addInputMethodSubtypePreferences(final InputMethodInfo imi, in addInputMethodSubtypePreferences() argument
157 final int subtypeCount = imi.getSubtypeCount(); in addInputMethodSubtypePreferences()
161 final String imiId = imi.getId(); in addInputMethodSubtypePreferences()
165 final CharSequence label = imi.loadLabel(pm); in addInputMethodSubtypePreferences()
182 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in addInputMethodSubtypePreferences()
186 context, imi.getPackageName(), imi.getServiceInfo().applicationInfo); in addInputMethodSubtypePreferences()
190 context, subtype, imi); in addInputMethodSubtypePreferences()
[all …]
DInputMethodPreference.java87 InputMethodPreference(final Context context, final InputMethodInfo imi, in InputMethodPreference() argument
92 mImi = imi; in InputMethodPreference()
102 setKey(imi.getId()); in InputMethodPreference()
103 setTitle(imi.loadLabel(context.getPackageManager())); in InputMethodPreference()
104 final String settingsActivity = imi.getSettingsActivity(); in InputMethodPreference()
110 intent.setClassName(imi.getPackageName(), settingsActivity); in InputMethodPreference()
114 mHasPriorityInSorting = InputMethodUtils.isSystemIme(imi) in InputMethodPreference()
115 && mInputMethodSettingValues.isValidSystemNonAuxAsciiCapableIme(imi, context); in InputMethodPreference()
212 private void showSecurityWarnDialog(final InputMethodInfo imi) { in showSecurityWarnDialog() argument
220 final CharSequence label = imi.getServiceInfo().applicationInfo.loadLabel( in showSecurityWarnDialog()
DInputMethodAndLanguageSettings.java392 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews() local
394 || permittedList.contains(imi.getPackageName()); in updateInputMethodPreferenceViews()
396 context, imi, mShowsOnlyFullImeAndKeyboardList /* hasSwitch */, in updateInputMethodPreferenceViews()
426 final InputMethodInfo imi = pref.getInputMethodInfo(); in onSaveInputMethodPreference() local
430 saveEnabledSubtypesOf(imi); in onSaveInputMethodPreference()
441 restorePreviouslyEnabledSubtypesOf(imi); in onSaveInputMethodPreference()
448 private void saveEnabledSubtypesOf(final InputMethodInfo imi) { in saveEnabledSubtypesOf() argument
451 imi, true /* allowsImplicitlySelectedSubtypes */); in saveEnabledSubtypesOf()
458 final String imiId = imi.getId(); in saveEnabledSubtypesOf()
463 private void restorePreviouslyEnabledSubtypesOf(final InputMethodInfo imi) { in restorePreviouslyEnabledSubtypesOf() argument
[all …]
DInputMethodSubtypePreference.java40 final InputMethodInfo imi) { in InputMethodSubtypePreference() argument
43 setKey(imi.getId() + subtype.hashCode()); in InputMethodSubtypePreference()
45 imi.getPackageName(), imi.getServiceInfo().applicationInfo); in InputMethodSubtypePreference()
DUserDictionaryList.java106 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
109 imi, true /* allowsImplicitlySelectedSubtypes */); in getUserDictionaryLocalesSet()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java174 final InputMethodInfo imi = imiList.get(index); in getImiIndexInList() local
175 if (imi.equals(inputMethodInfo)) { in getImiIndexInList()
197 private static boolean isAuxiliaryIme(final InputMethodInfo imi) { in isAuxiliaryIme() argument
198 final int count = imi.getSubtypeCount(); in isAuxiliaryIme()
203 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in isAuxiliaryIme()
226 for (final InputMethodInfo imi : mImm.getInputMethodList()) { in get()
227 if (imi.getPackageName().equals(mImePackageName)) { in get()
228 mCachedValue = imi; in get()
229 return imi; in get()
261 public boolean checkIfSubtypeBelongsToImeAndEnabled(final InputMethodInfo imi, in checkIfSubtypeBelongsToImeAndEnabled() argument
[all …]
DSubtypeSwitcher.java148 for (final InputMethodInfo imi : shortcuts.keySet()) { in updateShortcutIME()
149 final List<InputMethodSubtype> subtypes = shortcuts.get(imi); in updateShortcutIME()
152 mShortcutInputMethodInfo = imi; in updateShortcutIME()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DUncachedInputMethodManagerUtils.java42 for (final InputMethodInfo imi : imm.getEnabledInputMethodList()) { in isThisImeEnabled()
43 if (packageName.equals(imi.getPackageName())) { in isThisImeEnabled()
60 final InputMethodInfo imi = getInputMethodInfoOf(context.getPackageName(), imm); in isThisImeCurrent() local
63 return imi != null && imi.getId().equals(currentImeId); in isThisImeCurrent()
77 for (final InputMethodInfo imi : imm.getInputMethodList()) { in getInputMethodInfoOf()
78 if (packageName.equals(imi.getPackageName())) { in getInputMethodInfoOf()
79 return imi; in getInputMethodInfoOf()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DKeyboardActivity.java243 for (InputMethodInfo imi : allInputMethodInfos) { in enableAllInputMethods()
249 builder.append(imi.getId()); in enableAllInputMethods()
255 private Intent getInputMethodSettingsIntent(InputMethodInfo imi) { in getInputMethodSettingsIntent() argument
257 final CharSequence label = imi.loadLabel(pm);// IME settings in getInputMethodSettingsIntent()
259 final String settingsActivity = imi.getSettingsActivity(); in getInputMethodSettingsIntent()
262 intent.setClassName(imi.getPackageName(), settingsActivity); in getInputMethodSettingsIntent()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSetTests.java45 final InputMethodInfo imi = richImm.getInputMethodInfoOfThisIme(); in setUp() local
46 final int subtypeCount = imi.getSubtypeCount(); in setUp()
48 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetTestsBase.java62 final InputMethodInfo imi = richImm.getInputMethodInfoOfThisIme(); in setUp() local
63 final int subtypeCount = imi.getSubtypeCount(); in setUp()
65 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppLoadingTask.java376 for (InputMethodInfo imi : imis) { in getDefaultSystemImes()
378 if (imi.isDefault(mContext) && isSystemPackage(imi.getPackageName())) { in getDefaultSystemImes()
379 defaultSystemImes.add(imi.getPackageName()); in getDefaultSystemImes()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSpacebarLanguagetUtilsTests.java65 final InputMethodInfo imi = mRichImm.getInputMethodInfoOfThisIme(); in setUp() local
66 final int subtypeCount = imi.getSubtypeCount(); in setUp()
68 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp()
DSubtypeLocaleUtilsTests.java65 final InputMethodInfo imi = mRichImm.getInputMethodInfoOfThisIme(); in setUp() local
66 final int subtypeCount = imi.getSubtypeCount(); in setUp()
68 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/
DSetupWizardActivity.java282 final InputMethodInfo imi = in invokeSubtypeEnablerOfThisIme() local
284 if (imi == null) { in invokeSubtypeEnablerOfThisIme()
290 intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, imi.getId()); in invokeSubtypeEnablerOfThisIme()
/packages/apps/Settings/src/com/android/settings/users/
DAppRestrictionsFragment.java442 for (InputMethodInfo imi : imis) { in addSystemImes()
444 if (imi.isDefault(context) && isSystemPackage(imi.getPackageName())) { in addSystemImes()
445 excludePackages.add(imi.getPackageName()); in addSystemImes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStyleSettingsFragment.java107 final InputMethodInfo imi = RichInputMethodManager.getInstance() in SubtypeLocaleAdapter() local
109 final int count = imi.getSubtypeCount(); in SubtypeLocaleAdapter()
111 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in SubtypeLocaleAdapter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java84 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
87 imi, true /* allowsImplicitlySelectedSubtypes */); in getUserDictionaryLocalesSet()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java826 for (InputMethodInfo imi : enabledImis) { in hasMultipleEnabledIMEsOrSubtypes()
830 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1393228155, ...
Dfi_wordlist.combined.gz1dictionary=main:fi,locale=fi,description=Suomi,date=1393228135, ...
Dro_wordlist.combined.gz1dictionary=main:ro,locale=ro,description=Româna,date=1408019089, ...

12