Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPatternMatcher.java519 int tokenStart, int tokenEnd) {
523 && matchChar(match, im + matched, lm, tokenType, parsedPattern, tokenStart,
532 int[] parsedPattern, int tokenStart, int tokenEnd) {
540 for (int i = tokenStart; i < tokenEnd; i += 2) {
548 for (int i = tokenStart; i < tokenEnd; i += 2) {
556 return match.charAt(im) == parsedPattern[tokenStart];
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1360 int tokenStart = editable.toString().indexOf(current); in handlePendingChips() local
1362 int tokenEnd = tokenStart + current.length() - 1; in handlePendingChips()
1363 if (tokenStart >= 0) { in handlePendingChips()
1370 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips()
1453 void createReplacementChip(int tokenStart, int tokenEnd, Editable editable, in createReplacementChip() argument
1455 if (alreadyHasChip(tokenStart, tokenEnd)) { in createReplacementChip()
1460 String token = editable.toString().substring(tokenStart, tokenEnd); in createReplacementChip()
1476 editable.setSpan(chip, tokenStart, tokenEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in createReplacementChip()
2839 int tokenStart = mTokenizer.findTokenStart(text, getSelectionEnd()); in afterTextChanged() local
2840 String sub = text.substring(tokenStart, mTokenizer.findTokenEnd(text, in afterTextChanged()
[all …]