Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPatternMatcher.java529 int tokenStart, int tokenEnd) {
534 tokenEnd)) {
542 int[] parsedPattern, int tokenStart, int tokenEnd) {
550 for (int i = tokenStart; i < tokenEnd; i += 2) {
558 for (int i = tokenStart; i < tokenEnd; i += 2) {
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1365 int tokenEnd = tokenStart + current.length() - 1; in handlePendingChips() local
1369 if (tokenEnd < editable.length() - 2 in handlePendingChips()
1370 && editable.charAt(tokenEnd) == COMMIT_CHAR_COMMA) { in handlePendingChips()
1371 tokenEnd++; in handlePendingChips()
1373 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips()
1456 void createReplacementChip(int tokenStart, int tokenEnd, Editable editable, in createReplacementChip() argument
1458 if (alreadyHasChip(tokenStart, tokenEnd)) { in createReplacementChip()
1463 String token = editable.toString().substring(tokenStart, tokenEnd); in createReplacementChip()
1479 editable.setSpan(chip, tokenStart, tokenEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in createReplacementChip()
1688 int tokenEnd = mTokenizer.findTokenEnd(editable, start); in commitChip() local
[all …]