Home
last modified time | relevance | path

Searched refs:mIconId (Results 1 – 7 of 7) 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/apps/TV/src/com/android/tv/ui/sidepanel/
DActionItem.java28 private final int mIconId; field in ActionItem
45 mIconId = iconId; in ActionItem()
66 if (mIconId != 0) { in onBind()
68 iconView.setImageResource(mIconId); in onBind()
/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()