/packages/apps/Settings/src/com/android/settings/inputmethod/ |
InputMethodSettingValuesWrapper.java | 90 for (InputMethodInfo imi : imms) { 91 mMethodMap.put(imi.getId(), imi); local 102 for (final InputMethodInfo imi : enabledImis) { 103 final int subtypeCount = imi.getSubtypeCount(); 105 final InputMethodSubtype subtype = imi.getSubtypeAt(i); 108 mAsciiCapableEnabledImis.add(imi); 124 final InputMethodInfo imi = mMethodMap.get(mSettings.getSelectedInputMethod()); local 125 if (imi == null) { 126 Log.w(TAG, "Invalid selected imi: " + mSettings.getSelectedInputMethod()) [all...] |
InputMethodAndSubtypeUtil.java | 54 StringBuilder builder, String imi, HashSet<String> subtypes) { 55 builder.append(imi); 66 for (String imi: imsList.keySet()) { 72 buildEnabledInputMethodsString(builder, imi, imsList.get(imi)); 163 for (InputMethodInfo imi : inputMethodInfos) { 164 final String imiId = imi.getId(); 173 final boolean systemIme = InputMethodUtils.isSystemIme(imi); 175 context.getActivity()).isAlwaysCheckedIme(imi, context.getActivity())) 184 final int subtypeCount = imi.getSubtypeCount() [all...] |
InputMethodAndSubtypeEnabler.java | 150 InputMethodInfo imi = mInputMethodProperties.get(i); local 151 if (id.equals(imi.getId())) { 152 selImi = imi; 153 if (InputMethodUtils.isSystemIme(imi)) { 233 final InputMethodInfo imi = mInputMethodProperties.get(i); local 234 final int subtypeCount = imi.getSubtypeCount(); 236 final String imiId = imi.getId(); 245 final CharSequence label = imi.loadLabel(pm); 263 final InputMethodSubtype subtype = imi.getSubtypeAt(j); 265 imi.getPackageName(), imi.getServiceInfo().applicationInfo) [all...] |
InputMethodPreference.java | 87 InputMethodManager imm, InputMethodInfo imi) { 94 mImi = imi; 95 mIsSystemIme = InputMethodUtils.isSystemIme(imi); 99 .getInstance(context).isValidSystemNonAuxAsciiCapableIme(imi, context); 264 private void showSecurityWarnDialog(InputMethodInfo imi, final InputMethodPreference chkPref) { 287 imi.getServiceInfo().applicationInfo.loadLabel(
|
InputMethodAndLanguageSettings.java | 415 final InputMethodInfo imi = imis.get(i); local 416 final InputMethodPreference pref = getInputMethodPreference(imi); 460 private InputMethodPreference getInputMethodPreference(InputMethodInfo imi) { 462 final CharSequence label = imi.loadLabel(pm); 465 final String settingsActivity = imi.getSettingsActivity(); 468 intent.setClassName(imi.getPackageName(), settingsActivity); 475 new InputMethodPreference(this, intent, mImm, imi); 476 pref.setKey(imi.getId());
|
UserDictionaryList.java | 101 for (final InputMethodInfo imi : imis) { 104 imi, true /* allowsImplicitlySelectedSubtypes */);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/setup/ |
SetupActivity.java | 59 for (final InputMethodInfo imi : imm.getEnabledInputMethodList()) { 60 if (packageName.equals(imi.getPackageName())) { 77 final InputMethodInfo imi = getInputMethodInfoOf(context.getPackageName(), imm); local 80 return imi != null && imi.getId().equals(currentImeId); 94 for (final InputMethodInfo imi : imm.getInputMethodList()) { 95 if (packageName.equals(imi.getPackageName())) { 96 return imi;
|
SetupWizardActivity.java | 281 final InputMethodInfo imi = SetupActivity.getInputMethodInfoOf(getPackageName(), mImm); local 282 if (imi == null) { 288 intent.putExtra(Settings.EXTRA_INPUT_METHOD_ID, imi.getId());
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
InputMethodUtils.java | 104 public static boolean isSystemImeThatHasEnglishKeyboardSubtype(InputMethodInfo imi) { 105 if (!isSystemIme(imi)) { 108 return containsSubtypeOf(imi, ENGLISH_LOCALE.getLanguage(), SUBTYPE_MODE_KEYBOARD); 111 private static boolean isSystemAuxilialyImeThatHashAutomaticSubtype(InputMethodInfo imi) { 112 if (!isSystemIme(imi)) { 115 if (!imi.isAuxiliaryIme()) { 118 final int subtypeCount = imi.getSubtypeCount(); 120 final InputMethodSubtype s = imi.getSubtypeAt(i); 133 final InputMethodInfo imi = imis.get(i); local 134 if (isDefaultEnabledIme(isSystemReady, imi, context)) 145 final InputMethodInfo imi = imis.get(i); local 228 final InputMethodInfo imi = enabledImes.get(i); local 421 final InputMethodInfo imi = enabledImis.get(j); local 594 InputMethodInfo imi = mMethodList.get(i); local 815 final InputMethodInfo imi = mMethodMap.get(imeId); local 944 final InputMethodInfo imi = mMethodMap.get(selectedImiId); local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
RichInputMethodManager.java | 104 for (final InputMethodInfo imi : mImmWrapper.mImm.getInputMethodList()) { 105 if (imi.getPackageName().equals(packageName)) { 106 return imi; 179 final InputMethodInfo imi = imiList.get(index); local 180 if (imi.equals(inputMethodInfo)) { 202 private static boolean isAuxiliaryIme(final InputMethodInfo imi) { 203 final int count = imi.getSubtypeCount(); 208 final InputMethodSubtype subtype = imi.getSubtypeAt(index); 237 public boolean checkIfSubtypeBelongsToImeAndEnabled(final InputMethodInfo imi, 239 return checkIfSubtypeBelongsToList(subtype, getEnabledInputMethodSubtypeList(imi, [all...] |
SubtypeSwitcher.java | 148 for (final InputMethodInfo imi : shortcuts.keySet()) { 149 final List<InputMethodSubtype> subtypes = shortcuts.get(imi); 150 // TODO: Returns the first found IMI for now. Should handle all shortcuts as 152 mShortcutInputMethodInfo = imi;
|
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
InputMethodSettingsImpl.java | 91 final InputMethodInfo imi = imis.get(i); local 93 return imi; 100 Context context, InputMethodManager imm, InputMethodInfo imi) { 101 if (context == null || imm == null || imi == null) return null; 102 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); 110 sb.append(subtype.getDisplayName(context, imi.getPackageName(), 111 imi.getServiceInfo().applicationInfo));
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsImpl.java | 85 final InputMethodInfo imi = imis.get(i); local 87 return imi; 94 Context context, InputMethodManager imm, InputMethodInfo imi) { 95 if (context == null || imm == null || imi == null) return null; 96 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, true); 104 sb.append(subtype.getDisplayName(context, imi.getPackageName(), 105 imi.getServiceInfo().applicationInfo));
|
/cts/tests/tests/view/src/android/view/inputmethod/cts/ |
InputMethodInfoTest.java | 166 final InputMethodInfo imi = InputMethodInfo.CREATOR.createFromParcel(p); local 168 assertEquals(mInputMethodInfo.getPackageName(), imi.getPackageName()); 169 assertEquals(mInputMethodInfo.getServiceName(), imi.getServiceName()); 170 assertEquals(mInputMethodInfo.getSettingsActivity(), imi.getSettingsActivity()); 171 assertEquals(mInputMethodInfo.getId(), imi.getId()); 172 assertEquals(mInputMethodInfo.getIsDefaultResourceId(), imi.getIsDefaultResourceId()); 173 assertService(mInputMethodInfo.getServiceInfo(), imi.getServiceInfo()); 204 for (InputMethodInfo imi : imis) { 205 if ((imi.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) == 0) { 208 final int subtypeCount = imi.getSubtypeCount() [all...] |
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
InputMethodTest.java | 52 final InputMethodInfo imi = enabledImis.get(0); local 54 if (imi.getPackageName().equals("DummyDefaultAutoVoiceIme") 55 || imi.getPackageName().equals("DummyDefaultEnKeyboardIme")) { 76 final InputMethodInfo imi = enabledImis.get(0); local 79 if (imi.getPackageName().equals("DummyNonDefaultAutoVoiceIme0") 80 || imi.getPackageName().equals("DummyNonDefaultAutoVoiceIme1") 81 || imi.getPackageName().equals("DummyDefaultEnKeyboardIme")) {
|
/frameworks/base/services/java/com/android/server/ |
InputMethodManagerService.java | 473 InputMethodInfo imi = mMethodList.get(i); local 474 if (imi.getId().equals(curInputMethodId)) { 476 if (imi.getPackageName().equals(pkg)) { 503 InputMethodInfo imi = mMethodList.get(i); local 504 final String imiId = imi.getId(); 506 curIm = imi; 509 int change = isPackageDisappearing(imi.getPackageName()); 510 if (isPackageModified(imi.getPackageName())) { 516 + imi.getComponent()); 517 setInputMethodEnabledLocked(imi.getId(), false) 986 final InputMethodInfo imi; local 1461 final InputMethodInfo imi = imis.get(i); local 1524 final InputMethodInfo imi = mMethodMap.get(mCurMethodId); local 2118 final InputMethodInfo imi = enabled.get(i); local 2216 final InputMethodInfo imi = mMethodMap.get(imiId); local 2487 final InputMethodInfo imi = InputMethodUtils.getMostApplicableDefaultIME( local 2556 final InputMethodInfo imi = defaultEnabledIme.get(i); local 2971 InputMethodInfo imi = mMethodMap.get(newDefaultIme); local 3088 final InputMethodInfo imi = mMethodMap.get(mCurMethodId); local 3170 InputMethodInfo imi = mMethodMap.get(mCurMethodId); local [all...] |
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
Ime.java | 127 InputMethodInfo imi = methods.get(i); local 129 System.out.println(imi.getId()); 131 System.out.println(imi.getId() + ":"); 132 imi.dump(pr, " ");
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardPasswordView.java | 165 for (InputMethodInfo imi : enabledImis) { 169 imm.getEnabledInputMethodSubtypeList(imi, true);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryList.java | 80 for (final InputMethodInfo imi : imis) { 83 imi, true /* allowsImplicitlySelectedSubtypes */);
|
/frameworks/base/core/java/android/view/inputmethod/ |
InputMethodSubtype.java | 552 * @param imi InputMethodInfo of which subtypes are subject to be sorted 557 public static List<InputMethodSubtype> sort(Context context, int flags, InputMethodInfo imi, 559 if (imi == null) return subtypeList; 563 int N = imi.getSubtypeCount(); 565 InputMethodSubtype subtype = imi.getSubtypeAt(i); 572 // contained in imi, so the remaining subtypes will be appended.
|
InputMethodManager.java | 608 * @param imi An input method info whose subtypes list will be returned. 613 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(InputMethodInfo imi, 617 imi == null ? null : imi.getId(), allowsImplicitlySelectedSubtypes); [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsModel.java | 730 final InputMethodInfo imi = imis.get(i); local 731 final List<InputMethodSubtype> subtypes = imm.getEnabledInputMethodSubtypeList(imi, 781 for (InputMethodInfo imi : imis) { 782 if (currentInputMethodId.equals(imi.getId())) { 785 ? subtype.getDisplayName(context, imi.getPackageName(), 786 imi.getServiceInfo().applicationInfo) [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
AdditionalSubtypeSettings.java | 104 final InputMethodInfo imi = RichInputMethodManager.getInstance() local 106 final int count = imi.getSubtypeCount(); 108 final InputMethodSubtype subtype = imi.getSubtypeAt(i);
|
/packages/apps/Settings/src/com/android/settings/ |
CryptKeeper.java | 580 for (InputMethodInfo imi : enabledImis) { 584 imm.getEnabledInputMethodSubtypeList(imi, true);
|
/packages/apps/Settings/src/com/android/settings/users/ |
AppRestrictionsFragment.java | 460 for (InputMethodInfo imi : imis) { 462 if (imi.isDefault(context) && isSystemPackage(imi.getPackageName())) { 463 excludePackages.add(imi.getPackageName()); [all...] |