Searched refs:moreKeySpec (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParser.java | 67 private static boolean hasIcon(final String moreKeySpec) { in hasIcon() argument 68 return moreKeySpec.startsWith(PREFIX_ICON); in hasIcon() 71 private static boolean hasCode(final String moreKeySpec) { in hasCode() argument 72 final int end = indexOfLabelEnd(moreKeySpec, 0); in hasCode() 73 if (end > 0 && end + 1 < moreKeySpec.length() && moreKeySpec.startsWith( in hasCode() 99 private static int indexOfLabelEnd(final String moreKeySpec, final int start) { in indexOfLabelEnd() argument 100 if (moreKeySpec.indexOf(Constants.CSV_ESCAPE, start) < 0) { in indexOfLabelEnd() 101 final int end = moreKeySpec.indexOf(LABEL_END, start); in indexOfLabelEnd() 103 throw new KeySpecParserError(LABEL_END + " at " + start + ": " + moreKeySpec); in indexOfLabelEnd() 107 final int length = moreKeySpec.length(); in indexOfLabelEnd() [all …]
|
D | MoreKeySpec.java | 32 public MoreKeySpec(final String moreKeySpec, boolean needsToUpperCase, final Locale locale, in MoreKeySpec() argument 35 KeySpecParser.getLabel(moreKeySpec), needsToUpperCase, locale); in MoreKeySpec() 37 KeySpecParser.getCode(moreKeySpec, codesSet), needsToUpperCase, locale); in MoreKeySpec() 46 KeySpecParser.getOutputText(moreKeySpec), needsToUpperCase, locale); in MoreKeySpec() 48 mIconId = KeySpecParser.getIconId(moreKeySpec); in MoreKeySpec()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 175 public Key(final KeyboardParams params, final MoreKeySpec moreKeySpec, final int x, final int y, in Key() argument 177 this(params, moreKeySpec.mLabel, null, moreKeySpec.mIconId, moreKeySpec.mCode, in Key() 178 moreKeySpec.mOutputText, x, y, width, height, labelFlags); in Key()
|
D | MoreKeysKeyboard.java | 349 final MoreKeySpec moreKeySpec = moreKeys[n]; in build() local 353 final Key key = new Key(params, moreKeySpec, x, y, in build()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/ |
D | KeySpecParserTests.java | 63 private void assertParser(String message, String moreKeySpec, String expectedLabel, in assertParser() argument 65 final String labelResolved = KeySpecParser.resolveTextReference(moreKeySpec, mTextsSet); in assertParser() 78 private void assertParserError(String message, String moreKeySpec, String expectedLabel, in assertParserError() argument 81 assertParser(message, moreKeySpec, expectedLabel, expectedOutputText, expectedIcon, in assertParserError()
|