Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeySpecParser.java63 private static boolean hasCode(@Nonnull final String keySpec, final int labelEnd) { in hasCode() argument
64 if (labelEnd <= 0 || labelEnd + 1 >= keySpec.length()) { in hasCode()
67 if (keySpec.startsWith(KeyboardCodesSet.PREFIX_CODE, labelEnd + 1)) { in hasCode()
72 if (keySpec.startsWith(PREFIX_HEX, labelEnd + 1)) { in hasCode()
101 final int labelEnd = keySpec.indexOf(VERTICAL_BAR); in indexOfLabelEnd() local
102 if (labelEnd == 0) { in indexOfLabelEnd()
109 return labelEnd; in indexOfLabelEnd()
124 private static String getBeforeLabelEnd(@Nonnull final String keySpec, final int labelEnd) { in getBeforeLabelEnd() argument
125 return (labelEnd < 0) ? keySpec : keySpec.substring(0, labelEnd); in getBeforeLabelEnd()
129 private static String getAfterLabelEnd(@Nonnull final String keySpec, final int labelEnd) { in getAfterLabelEnd() argument
[all …]