Lines Matching refs:subtypeId

1658     /* package */ void setInputMethodLocked(String id, int subtypeId) {
1672 if (subtypeId >= 0 && subtypeId < subtypeCount) {
1673 newSubtype = info.getSubtypeAt(subtypeId);
1685 setSelectedInputMethodAndSubtypeLocked(info, subtypeId, true);
1702 // subtypeId the name of a subtype which will be set.
1703 setSelectedInputMethodAndSubtypeLocked(info, subtypeId, false);
2092 int subtypeId = NOT_A_SUBTYPE_ID;
2102 subtypeId = InputMethodUtils.getSubtypeIdFromHashCode(lastImi, lastSubtypeHash);
2126 subtypeId = InputMethodUtils.getSubtypeIdFromHashCode(
2140 + ", from: " + mCurMethodId + ", " + subtypeId);
2142 setInputMethodWithSubtypeId(token, targetLastImiId, subtypeId);
2245 private void setInputMethodWithSubtypeId(IBinder token, String id, int subtypeId) {
2263 setInputMethodLocked(id, subtypeId);
2652 int subtypeId = mSubtypeIds[i];
2653 if ((subtypeId == NOT_A_SUBTYPE_ID)
2654 || (lastInputMethodSubtypeId == NOT_A_SUBTYPE_ID && subtypeId == 0)
2655 || (subtypeId == lastInputMethodSubtypeId)) {
2714 int subtypeId = mSubtypeIds[which];
2719 if ((subtypeId < 0)
2720 || (subtypeId >= im.getSubtypeCount())) {
2721 subtypeId = NOT_A_SUBTYPE_ID;
2723 setInputMethodLocked(im.getId(), subtypeId);
2759 InputMethodInfo imi, int subtypeId, String subtypeLocale, String systemLocale) {
2763 mSubtypeId = subtypeId;
2934 private void setSelectedInputMethodAndSubtypeLocked(InputMethodInfo imi, int subtypeId,
2940 if (imi == null || subtypeId < 0) {
2944 if (subtypeId < imi.getSubtypeCount()) {
2945 InputMethodSubtype subtype = imi.getSubtypeAt(subtypeId);
3094 int subtypeId = mSettings.getSelectedInputMethodSubtypeId(mCurMethodId);
3095 if (subtypeId == NOT_A_SUBTYPE_ID) {
3116 mCurrentSubtype = InputMethodUtils.getSubtypes(imi).get(subtypeId);
3171 int subtypeId = InputMethodUtils.getSubtypeIdFromHashCode(imi, subtype.hashCode());
3172 if (subtypeId != NOT_A_SUBTYPE_ID) {
3173 setInputMethodLocked(mCurMethodId, subtypeId);