Home
last modified time | relevance | path

Searched refs:mIconId (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DExpectedKeyVisual.java54 private final int mIconId; field in ExpectedKeyVisual.Icon
57 mIconId = iconId; in Icon()
62 return mIconId; in getIconId()
89 return mIconId == key.getIconId() && key.getLabel() == null; in hasSameKeyVisual()
97 return mIconId == moreKeySpec.mIconId && moreKeySpec.mLabel == null; in hasSameKeyVisual()
107 return (visual instanceof Icon) && mIconId == ((Icon)visual).mIconId; in hasSameKeyVisual()
112 return KeyboardIconsSet.getIconName(mIconId); in toString()
165 && moreKeySpec.mIconId == KeyboardIconsSet.ICON_UNDEFINED; in hasSameKeyVisual()
DActualKeyboardBuilder.java107 return toString(spec.mLabel, spec.mIconId, spec.mOutputText, spec.mCode); in stringize()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpec.java53 public final int mIconId; field in MoreKeySpec
76 mIconId = KeySpecParser.getIconId(moreKeySpec); in MoreKeySpec()
82 return new Key(mLabel, mIconId, mCode, mOutputText, null /* hintLabel */, labelFlags, in buildKey()
91 hashCode = hashCode * 31 + mIconId; in hashCode()
107 && mIconId == other.mIconId in equals()
116 final String label = (mIconId == KeyboardIconsSet.ICON_UNDEFINED ? mLabel in toString()
117 : KeyboardIconsSet.PREFIX_ICON + KeyboardIconsSet.getIconName(mIconId)); in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java98 private final int mIconId; field in Key
234 mIconId = iconId; in Key()
339 mIconId = KeySpecParser.getIconId(keySpec); in Key()
424 mIconId = key.mIconId; in Key()
475 key.mIconId, in computeHashCode()
502 && o.mIconId == mIconId in equalsInternal()
809 return mIconId; in getIconId()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysBase.java66 public final int mIconId; field in KeyboardLayoutSetNavigateMoreKeysBase.ExpectedMoreKey
70 mIconId = KeyboardIconsSet.getIconId(iconName); in ExpectedMoreKey()
75 mIconId = KeyboardIconsSet.ICON_UNDEFINED; in ExpectedMoreKey()
115 final int expectedIconId = expectedMoreKeys[index].mIconId; in doTestMoreKeysOf()
116 assertEquals(tag + " icon " + index, expectedIconId, actualMoreKeys[index].mIconId); in doTestMoreKeysOf()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecTests.java42 KeyboardIconsSet.getIconName(spec.mIconId)); in assertParser()