Home | History | Annotate | Download | only in server

Lines Matching defs:InputMethodUtils

23 import com.android.internal.inputmethod.InputMethodUtils;
24 import com.android.internal.inputmethod.InputMethodUtils.InputMethodSettings;
179 private static final int NOT_A_SUBTYPE_ID = InputMethodUtils.NOT_A_SUBTYPE_ID;
527 // TODO: Move this method to InputMethodUtils with adding unit tests.
558 // TODO: Move this method to InputMethodUtils with adding unit tests.
576 // TODO: Move this method to InputMethodUtils with adding unit tests.
929 && !InputMethodUtils.isSystemIme(mMethodMap.get(mCurMethodId))) {
937 if (InputMethodUtils.isSystemImeThatHasSubtypeOf(imi, context,
939 InputMethodUtils.SUBTYPE_MODE_ANY)) {
946 defIm = InputMethodUtils.getMostApplicableDefaultIME(
1029 InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(mIPackageManager,
1088 InputMethodUtils.setNonSelectedSystemImesDisabledUntilUsed(mIPackageManager,
1114 + InputMethodUtils.getApiCallStack());
1135 + InputMethodUtils.getStackTrace());
1348 if (!InputMethodUtils.checkIfPackageBelongsToUid(mAppOpsManager, cs.uid,
1783 final CharSequence summary = InputMethodUtils.getImeAndSubtypeDisplayName(
2356 InputMethodUtils.getSubtypeIdFromHashCode(mMethodMap.get(id),
2404 subtypeId = InputMethodUtils.getSubtypeIdFromHashCode(lastImi, lastSubtypeHash);
2409 && !InputMethodUtils.canAddToLastInputMethod(mCurrentSubtype)) {
2421 if (imi.getSubtypeCount() > 0 && InputMethodUtils.isSystemIme(imi)) {
2423 InputMethodUtils.findLastResortApplicableSubtypeLocked(mRes,
2424 InputMethodUtils.getSubtypes(imi),
2425 InputMethodUtils.SUBTYPE_MODE_KEYBOARD, locale, true);
2428 subtypeId = InputMethodUtils.getSubtypeIdFromHashCode(
2511 InputMethodUtils.getSubtypeIdFromHashCode(lastImi, lastSubtypeHash);
2877 final InputMethodInfo imi = InputMethodUtils.getMostApplicableDefaultIME(
2894 + " \n ------ \n" + InputMethodUtils.getStackTrace());
2944 InputMethodUtils.getDefaultEnabledImes(mContext, mSystemReady, list);
3027 lastInputMethodSubtypeId = InputMethodUtils.getSubtypeIdFromHashCode(
3327 lastSubtypeId = InputMethodUtils.getSubtypeIdFromHashCode(
3356 subtype = InputMethodUtils.findLastResortApplicableSubtypeLocked(
3362 subtype = InputMethodUtils.findLastResortApplicableSubtypeLocked(
3366 InputMethodUtils.getOverridingImplicitlyEnabledSubtypes(imi, mode);
3369 ? InputMethodUtils.getSubtypes(imi)
3373 subtype = InputMethodUtils.findLastResortApplicableSubtypeLocked(
3379 subtype = InputMethodUtils.findLastResortApplicableSubtypeLocked(
3442 || !InputMethodUtils.isValidSubtypeId(imi, mCurrentSubtype.hashCode())) {
3455 mCurrentSubtype = InputMethodUtils.findLastResortApplicableSubtypeLocked(
3457 InputMethodUtils.SUBTYPE_MODE_KEYBOARD, null, true);
3459 mCurrentSubtype = InputMethodUtils.findLastResortApplicableSubtypeLocked(
3465 mCurrentSubtype = InputMethodUtils.getSubtypes(imi).get(subtypeId);
3494 InputMethodUtils.SUBTYPE_MODE_VOICE);
3520 int subtypeId = InputMethodUtils.getSubtypeIdFromHashCode(imi, subtype.hashCode());