/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodManager.java | 192 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/ |
D | UncachedInputMethodManagerUtils.java | 42 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/ |
D | ShadowInputMethodManager.java | 58 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/ |
D | InputMethodSettingsImpl.java | 71 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/ |
D | AvailableVirtualKeyboardFragment.java | 111 @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()
|
D | InputMethodHelper.java | 100 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/ |
D | AvailableVirtualKeyboardFragment.java | 112 @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()
|
D | VirtualKeyboardFragment.java | 89 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()
|
D | VirtualKeyboardPreferenceController.java | 71 for (InputMethodInfo imi : imis) { in updateState() 73 || permittedList.contains(imi.getPackageName()); in updateState() 77 labels.add(imi.loadLabel(mPm).toString()); in updateState()
|
D | InputMethodAndSubtypePreferenceController.java | 41 public void initialize(PreferenceFragmentCompat fragment, String imi) { in initialize() argument 43 mTargetImi = imi; in initialize()
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | VirtualKeyboardFragment.java | 86 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()
|
D | AvailableVirtualKeyboardFragment.java | 96 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()
|
D | VirtualKeyboardPreferenceController.java | 71 for (InputMethodInfo imi : imis) { in updateState() 73 || permittedList.contains(imi.getPackageName()); in updateState() 77 labels.add(imi.loadLabel(mPm).toString()); in updateState()
|
D | InputMethodAndSubtypePreferenceController.java | 41 public void initialize(PreferenceFragmentCompat fragment, String imi) { in initialize() argument 43 mTargetImi = imi; in initialize()
|
D | UserDictionaryListPreferenceController.java | 111 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet() 114 imi, true /* allowsImplicitlySelectedSubtypes */); in getUserDictionaryLocalesSet()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeyboardTextsSetTests.java | 58 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/ |
D | KeyboardLayoutSetTestsBase.java | 92 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/ |
D | LanguageAndInputSettings.java | 149 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/ |
D | LanguageAndInputSettings.java | 149 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/ |
D | KeyboardManagementPreferenceController.java | 165 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/ |
D | InputDeviceResultTask.java | 225 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/ |
D | RichInputMethodSubtypeTests.java | 98 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/ |
D | CustomInputStylePreference.java | 288 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/ |
D | UserDictionaryList.java | 86 for (final InputMethodInfo imi : imis) { in getUserDictionaryLocalesSet() 89 imi, true /* allowsImplicitlySelectedSubtypes */); in getUserDictionaryLocalesSet()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
D | SubtypeLocaleUtilsTests.java | 95 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()
|