Home
last modified time | relevance | path

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

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java192 final InputMethodInfo imi = imiList.get(index); in getImiIndexInList() local
193 if (imi.equals(inputMethodInfo)) { in getImiIndexInList()
215 private static boolean isAuxiliaryIme(final InputMethodInfo imi) { in isAuxiliaryIme() argument
216 final int count = imi.getSubtypeCount(); in isAuxiliaryIme()
221 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in isAuxiliaryIme()
250 for (final InputMethodInfo imi : mImm.getInputMethodList()) { in getInputMethodOfThisIme()
251 if (imi.getPackageName().equals(mImePackageName)) { in getInputMethodOfThisIme()
252 mCachedThisImeInfo = imi; in getInputMethodOfThisIme()
253 return imi; in getInputMethodOfThisIme()
260 final InputMethodInfo imi, final boolean allowsImplicitlySelectedSubtypes) { in getEnabledInputMethodSubtypeList() argument
[all …]
/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/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowInputMethodManager.java58 protected List<InputMethodSubtype> getEnabledInputMethodSubtypeList(InputMethodInfo imi, in getEnabledInputMethodSubtypeList() argument
71 imi -> imi.getId()).collect(Collectors.toList()).toArray(new String[list.size()])); in setEnabledInputMethodList()
130 InputMethodInfo::getId, imi -> imi)); in addInputMethodInfosToMap()
134 inputMethodInfos.forEach(imi -> { in addInputMethodInfosToMap()
135 sInputMethodMap.put(imi.getId(), imi); in addInputMethodInfosToMap()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethodcommon/
DInputMethodSettingsImpl.java71 final InputMethodInfo imi = imis.get(i); in getMyImi() local
73 return imi; in getMyImi()
80 Context context, InputMethodManager imm, InputMethodInfo imi) { in getEnabledSubtypesLabel() argument
81 if (context == null || imm == null || imi == null) return null; in getEnabledSubtypesLabel()
82 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); in getEnabledSubtypesLabel()
90 sb.append(subtype.getDisplayName(context, imi.getPackageName(), in getEnabledSubtypesLabel()
91 imi.getServiceInfo().applicationInfo)); in getEnabledSubtypesLabel()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DAvailableVirtualKeyboardFragment.java111 @NonNull final InputMethodInfo imi) { in getInputMethodIcon() argument
112 final ServiceInfo si = imi.getServiceInfo(); in getInputMethodIcon()
114 final String packageName = imi.getPackageName(); in getInputMethodIcon()
151 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews() local
153 || permittedList.contains(imi.getPackageName()); in updateInputMethodPreferenceViews()
155 context, imi, true, isAllowedByOrganization, this); in updateInputMethodPreferenceViews()
156 pref.setIcon(getInputMethodIcon(packageManager, imi)); in updateInputMethodPreferenceViews()
DInputMethodHelper.java100 public static Intent getInputMethodSettingsIntent(InputMethodInfo imi) { in getInputMethodSettingsIntent() argument
102 final String settingsActivity = imi.getSettingsActivity(); in getInputMethodSettingsIntent()
105 intent.setClassName(imi.getPackageName(), settingsActivity); in getInputMethodSettingsIntent()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/inputmethod/
DAvailableVirtualKeyboardFragment.java112 @NonNull final InputMethodInfo imi) { in getInputMethodIcon() argument
113 final ServiceInfo si = imi.getServiceInfo(); in getInputMethodIcon()
115 final String packageName = imi.getPackageName(); in getInputMethodIcon()
152 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews() local
154 || permittedList.contains(imi.getPackageName()); in updateInputMethodPreferenceViews()
156 context, imi, true, isAllowedByOrganization, this); in updateInputMethodPreferenceViews()
157 pref.setIcon(getInputMethodIcon(packageManager, imi)); in updateInputMethodPreferenceViews()
DVirtualKeyboardFragment.java89 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews() local
91 || permittedList.contains(imi.getPackageName()); in updateInputMethodPreferenceViews()
95 icon = getActivity().getPackageManager().getApplicationIcon(imi.getPackageName()); in updateInputMethodPreferenceViews()
102 imi, in updateInputMethodPreferenceViews()
DVirtualKeyboardPreferenceController.java71 for (InputMethodInfo imi : imis) { in updateState()
73 || permittedList.contains(imi.getPackageName()); in updateState()
77 labels.add(imi.loadLabel(mPm).toString()); in updateState()
DInputMethodAndSubtypePreferenceController.java41 public void initialize(PreferenceFragmentCompat fragment, String imi) { in initialize() argument
43 mTargetImi = imi; in initialize()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DVirtualKeyboardFragment.java86 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews() local
88 || permittedList.contains(imi.getPackageName()); in updateInputMethodPreferenceViews()
89 final Drawable icon = imi.loadIcon(context.getPackageManager()); in updateInputMethodPreferenceViews()
92 imi, in updateInputMethodPreferenceViews()
DAvailableVirtualKeyboardFragment.java96 final InputMethodInfo imi = imis.get(i); in updateInputMethodPreferenceViews() local
98 || permittedList.contains(imi.getPackageName()); in updateInputMethodPreferenceViews()
100 context, imi, true, isAllowedByOrganization, this); in updateInputMethodPreferenceViews()
101 pref.setIcon(imi.loadIcon(context.getPackageManager())); in updateInputMethodPreferenceViews()
DVirtualKeyboardPreferenceController.java71 for (InputMethodInfo imi : imis) { in updateState()
73 || permittedList.contains(imi.getPackageName()); in updateState()
77 labels.add(imi.loadLabel(mPm).toString()); in updateState()
DInputMethodAndSubtypePreferenceController.java41 public void initialize(PreferenceFragmentCompat fragment, String imi) { in initialize() argument
43 mTargetImi = imi; in initialize()
DUserDictionaryListPreferenceController.java111 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
114 imi, true /* allowsImplicitlySelectedSubtypes */); in getUserDictionaryLocalesSet()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSetTests.java58 final InputMethodInfo imi = richImm.getInputMethodInfoOfThisIme(); in setUp() local
59 final int subtypeCount = imi.getSubtypeCount(); in setUp()
61 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetTestsBase.java92 final InputMethodInfo imi = mRichImm.getInputMethodInfoOfThisIme(); in setUp() local
93 final int subtypeCount = imi.getSubtypeCount(); in setUp()
95 mAllSubtypesList.add(imi.getSubtypeAt(index)); in setUp()
/packages/apps/Settings/src/com/android/settings/language/
DLanguageAndInputSettings.java149 for (InputMethodInfo imi : imis) { in setListening()
150 if (TextUtils.equals(imi.getPackageName(), pkg)) { in setListening()
151 mSummaryLoader.setSummary(this, imi.loadLabel(packageManage)); in setListening()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/language/
DLanguageAndInputSettings.java149 for (InputMethodInfo imi : imis) { in setListening()
150 if (TextUtils.equals(imi.getPackageName(), pkg)) { in setListening()
151 mSummaryLoader.setSummary(this, imi.loadLabel(packageManage)); in setListening()
/packages/apps/Car/Settings/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceController.java165 for (InputMethodInfo imi : inputMethodInfos) { in isOnlyEnabledDefaultInputMethod()
166 if (!imi.isDefault(getContext())) { in isOnlyEnabledDefaultInputMethod()
170 if (!imi.getId().equals(inputMethodInfo.getId())) { in isOnlyEnabledDefaultInputMethod()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInputDeviceResultTask.java225 private static List<InputMethodSubtype> getAllSubtypesOf(final InputMethodInfo imi) { in getAllSubtypesOf() argument
226 final int subtypeCount = imi.getSubtypeCount(); in getAllSubtypesOf()
229 allSubtypes.add(imi.getSubtypeAt(index)); in getAllSubtypesOf()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputMethodSubtypeTests.java98 final InputMethodInfo imi = mRichImm.getInputMethodInfoOfThisIme(); in setUp() local
99 final int subtypeCount = imi.getSubtypeCount(); in setUp()
101 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DCustomInputStylePreference.java288 final InputMethodInfo imi = RichInputMethodManager.getInstance() in SubtypeLocaleAdapter() local
290 final int count = imi.getSubtypeCount(); in SubtypeLocaleAdapter()
292 final InputMethodSubtype subtype = imi.getSubtypeAt(i); in SubtypeLocaleAdapter()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/
DUserDictionaryList.java86 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet()
89 imi, true /* allowsImplicitlySelectedSubtypes */); in getUserDictionaryLocalesSet()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DSubtypeLocaleUtilsTests.java95 final InputMethodInfo imi = mRichImm.getInputMethodInfoOfThisIme(); in setUp() local
96 final int subtypeCount = imi.getSubtypeCount(); in setUp()
98 final InputMethodSubtype subtype = imi.getSubtypeAt(index); in setUp()

12