Home
last modified time | relevance | path

Searched refs:KeyboardIconsSet (Results 1 – 25 of 32) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/expected/
DAbstractLayoutBase.java19 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
109 private static final int ICON_DELETE = KeyboardIconsSet.getIconId(
110 KeyboardIconsSet.NAME_DELETE_KEY);
111 private static final int ICON_SPACE = KeyboardIconsSet.getIconId(
112 KeyboardIconsSet.NAME_SPACE_KEY);
113 private static final int ICON_TAB = KeyboardIconsSet.getIconId(
114 KeyboardIconsSet.NAME_TAB_KEY);
115 private static final int ICON_SHORTCUT = KeyboardIconsSet.getIconId(
116 KeyboardIconsSet.NAME_SHORTCUT_KEY);
117 private static final int ICON_SETTINGS = KeyboardIconsSet.getIconId(
[all …]
DExpectedKeyVisual.java20 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
112 return KeyboardIconsSet.getIconName(mIconId); in toString()
128 return KeyboardIconsSet.ICON_UNDEFINED; in getIconId()
156 && key.getIconId() == KeyboardIconsSet.ICON_UNDEFINED; in hasSameKeyVisual()
165 && moreKeySpec.mIconId == KeyboardIconsSet.ICON_UNDEFINED; in hasSameKeyVisual()
DActualKeyboardBuilder.java20 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
113 final String visual = (iconId != KeyboardIconsSet.ICON_UNDEFINED) in toString()
114 ? KeyboardIconsSet.getIconName(iconId) : label; in toString()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java60 return keySpec.startsWith(KeyboardIconsSet.PREFIX_ICON); in hasIcon()
241 return KeyboardIconsSet.ICON_UNDEFINED; in getIconId()
244 return KeyboardIconsSet.ICON_UNDEFINED; in getIconId()
248 .substring(KeyboardIconsSet.PREFIX_ICON.length()); in getIconId()
249 return KeyboardIconsSet.getIconId(iconName); in getIconId()
DMoreKeySpec.java116 final String label = (mIconId == KeyboardIconsSet.ICON_UNDEFINED ? mLabel in toString()
117 : KeyboardIconsSet.PREFIX_ICON + KeyboardIconsSet.getIconName(mIconId)); in toString()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/action/
DKlpActionLabelTests.java25 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
63 KeyboardIconsSet.NAME_ENTER_KEY); in doTestActionKeysInLocaleWithStringResources()
67 KeyboardIconsSet.NAME_SEARCH_KEY); in doTestActionKeysInLocaleWithStringResources()
121 KeyboardIconsSet.NAME_ENTER_KEY); in doTestActionKeysInLocaleWithKeyboardTextsSet()
125 KeyboardIconsSet.NAME_SEARCH_KEY); in doTestActionKeysInLocaleWithKeyboardTextsSet()
DKlpActionNoneTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_ENTER_KEY); in testActionNone()
DLxxActionGoTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_GO_KEY); in testActionGo()
DLxxActionNextTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_NEXT_KEY); in testActionNext()
DLxxActionNoneTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_ENTER_KEY); in testActionNone()
DLxxActionSearchTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_SEARCH_KEY); in testActionSearch()
DLxxActionUnspecifiedTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_ENTER_KEY); in testActionUnspecified()
DKlpActionSearchTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_SEARCH_KEY); in testActionSearch()
DKlpActionUnspecifiedTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_ENTER_KEY); in testActionUnspecified()
DLxxActionDoneTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_DONE_KEY); in testActionDone()
DLxxActionPreviousTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_PREVIOUS_KEY); in testActionPrevious()
DLxxActionSendTests.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
30 KeyboardIconsSet.NAME_SEND_KEY); in testActionSend()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardLayoutSetNavigateMoreKeysLxxTests.java21 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
33 return new ExpectedMoreKey(KeyboardIconsSet.NAME_NEXT_KEY); in getExpectedNavigateNextMoreKey()
38 return new ExpectedMoreKey(KeyboardIconsSet.NAME_PREVIOUS_KEY); in getExpectedNavigatePreviousMoreKey()
DKeyboardLayoutSetNavigateMoreKeysBase.java23 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
47 return new ExpectedMoreKey(KeyboardIconsSet.NAME_EMOJI_ACTION_KEY); in getExpectedEmojiMoreKey()
70 mIconId = KeyboardIconsSet.getIconId(iconName); in ExpectedMoreKey()
75 mIconId = KeyboardIconsSet.ICON_UNDEFINED; in ExpectedMoreKey()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DKeySpecParserTests.java19 import static com.android.inputmethod.keyboard.internal.KeyboardIconsSet.ICON_UNDEFINED;
40 KeyboardIconsSet.getIconName(expectedIcon), in assertParser()
41 KeyboardIconsSet.getIconName(actualIcon)); in assertParser()
DMoreKeySpecTests.java19 import static com.android.inputmethod.keyboard.internal.KeyboardIconsSet.ICON_UNDEFINED;
41 KeyboardIconsSet.getIconName(expectedIconId), in assertParser()
42 KeyboardIconsSet.getIconName(spec.mIconId)); in assertParser()
DKeySpecParserTestsBase.java20 import static com.android.inputmethod.keyboard.internal.KeyboardIconsSet.ICON_UNDEFINED;
21 import static com.android.inputmethod.keyboard.internal.KeyboardIconsSet.PREFIX_ICON;
53 mSettingsIconId = KeyboardIconsSet.getIconId(ICON_SETTINGS_NAME); in setUp()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKey.java19 import static com.android.inputmethod.keyboard.internal.KeyboardIconsSet.ICON_UNDEFINED;
35 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
542 final String topVisual = (iconId == KeyboardIconsSet.ICON_UNDEFINED) in toLongString()
543 ? KeyboardIconsSet.PREFIX_ICON + KeyboardIconsSet.getIconName(iconId) : getLabel(); in toLongString()
813 public Drawable getIcon(final KeyboardIconsSet iconSet, final int alpha) { in getIcon()
825 public Drawable getPreviewIcon(final KeyboardIconsSet iconSet) { in getPreviewIcon()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/
DEmojiPalettesView.java47 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
376 final KeyboardIconsSet iconSet) { in startEmojiPalettes()
377 final int deleteIconResId = iconSet.getIconResourceId(KeyboardIconsSet.NAME_DELETE_KEY); in startEmojiPalettes()
381 final int spacebarResId = iconSet.getIconResourceId(KeyboardIconsSet.NAME_SPACE_KEY); in startEmojiPalettes()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
DMoreSuggestions.java27 import com.android.inputmethod.keyboard.internal.KeyboardIconsSet;
242 super(word /* label */, KeyboardIconsSet.ICON_UNDEFINED, Constants.CODE_OUTPUT_TEXT, in MoreSuggestionKey()
260 public Drawable getIcon(final KeyboardIconsSet iconSet, final int alpha) { in getIcon()

12