/frameworks/base/core/java/com/android/internal/inputmethod/ |
D | InputMethodSubtypeSwitchingController.java | 61 InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) { in ImeSubtypeListItem() argument 64 mImi = imi; in ImeSubtypeListItem() 210 for (InputMethodInfo imi : mSortedImmis.keySet()) { in getSortedInputMethodAndSubtypeList() 211 if (imi == null) { in getSortedInputMethodAndSubtypeList() 214 List<InputMethodSubtype> explicitlyOrImplicitlyEnabledSubtypeList = immis.get(imi); in getSortedInputMethodAndSubtypeList() 219 final CharSequence imeLabel = imi.loadLabel(mPm); in getSortedInputMethodAndSubtypeList() 221 final int subtypeCount = imi.getSubtypeCount(); in getSortedInputMethodAndSubtypeList() 223 Slog.v(TAG, "Add subtypes: " + subtypeCount + ", " + imi.getId()); in getSortedInputMethodAndSubtypeList() 226 final InputMethodSubtype subtype = imi.getSubtypeAt(j); in getSortedInputMethodAndSubtypeList() 233 .getDisplayName(mContext, imi.getPackageName(), in getSortedInputMethodAndSubtypeList() [all …]
|
D | InputMethodUtils.java | 126 public static boolean isSystemImeThatHasEnglishKeyboardSubtype(InputMethodInfo imi) { in isSystemImeThatHasEnglishKeyboardSubtype() argument 127 if (!isSystemIme(imi)) { in isSystemImeThatHasEnglishKeyboardSubtype() 130 return containsSubtypeOf(imi, ENGLISH_LOCALE.getLanguage(), SUBTYPE_MODE_KEYBOARD); in isSystemImeThatHasEnglishKeyboardSubtype() 133 private static boolean isSystemImeThatHasSubtypeOf(final InputMethodInfo imi, in isSystemImeThatHasSubtypeOf() argument 137 if (!isSystemIme(imi)) { in isSystemImeThatHasSubtypeOf() 140 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemImeThatHasSubtypeOf() 143 if (!containsSubtypeOf(imi, requiredLocale, checkCountry, requiredSubtypeMode)) { in isSystemImeThatHasSubtypeOf() 179 private static boolean isSystemAuxilialyImeThatHasAutomaticSubtype(final InputMethodInfo imi, in isSystemAuxilialyImeThatHasAutomaticSubtype() argument 181 if (!isSystemIme(imi)) { in isSystemAuxilialyImeThatHasAutomaticSubtype() 184 if (checkDefaultAttribute && !imi.isDefault(context)) { in isSystemAuxilialyImeThatHasAutomaticSubtype() [all …]
|
/frameworks/opt/inputmethodcommon/java/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()
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 497 InputMethodInfo imi = mMethodList.get(i); in onHandleForceStop() local 498 if (imi.getId().equals(curInputMethodId)) { in onHandleForceStop() 500 if (imi.getPackageName().equals(pkg)) { in onHandleForceStop() 527 InputMethodInfo imi = mMethodList.get(i); in onSomePackagesChanged() local 528 final String imiId = imi.getId(); in onSomePackagesChanged() 530 curIm = imi; in onSomePackagesChanged() 533 int change = isPackageDisappearing(imi.getPackageName()); in onSomePackagesChanged() 534 if (isPackageModified(imi.getPackageName())) { in onSomePackagesChanged() 540 + imi.getComponent()); in onSomePackagesChanged() 541 setInputMethodEnabledLocked(imi.getId(), false); in onSomePackagesChanged() [all …]
|
/frameworks/base/cmds/ime/src/com/android/commands/ime/ |
D | Ime.java | 127 InputMethodInfo imi = methods.get(i); in runList() local 129 System.out.println(imi.getId()); in runList() 131 System.out.println(imi.getId() + ":"); in runList() 132 imi.dump(pr, " "); in runList()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputMethodSubtype.java | 545 public static List<InputMethodSubtype> sort(Context context, int flags, InputMethodInfo imi, in sort() argument 547 if (imi == null) return subtypeList; in sort() 551 int N = imi.getSubtypeCount(); in sort() 553 InputMethodSubtype subtype = imi.getSubtypeAt(i); in sort()
|
D | InputMethodManager.java | 672 public List<InputMethodSubtype> getEnabledInputMethodSubtypeList(InputMethodInfo imi, in getEnabledInputMethodSubtypeList() argument 676 imi == null ? null : imi.getId(), allowsImplicitlySelectedSubtypes); in getEnabledInputMethodSubtypeList()
|
/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
D | InputMethodSubtypeSwitchingControllerTest.java | 76 final InputMethodInfo imi = new InputMethodInfo(ri, DUMMY_IS_AUX_IME, in addDummyImeSubtypeListItems() local 80 items.add(new ImeSubtypeListItem(imeName, null /* variableName */, imi, in addDummyImeSubtypeListItems() 85 items.add(new ImeSubtypeListItem(imeName, subtypeLocale, imi, i, subtypeLocale, in addDummyImeSubtypeListItems()
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardPasswordView.java | 217 for (InputMethodInfo imi : enabledImis) { in hasMultipleEnabledIMEsOrSubtypes() 221 imm.getEnabledInputMethodSubtypeList(imi, true); in hasMultipleEnabledIMEsOrSubtypes()
|