Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/
DPatternMatcher.java573 int tokenStart, int tokenEnd) {
577 && matchChar(match, im + matched, lm, tokenType, parsedPattern, tokenStart,
586 int[] parsedPattern, int tokenStart, int tokenEnd) {
594 for (int i = tokenStart; i < tokenEnd; i += 2) {
602 for (int i = tokenStart; i < tokenEnd; i += 2) {
610 return match.charAt(im) == parsedPattern[tokenStart];
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1363 int tokenStart = editable.toString().indexOf(current); in handlePendingChips() local
1365 int tokenEnd = tokenStart + current.length() - 1; in handlePendingChips()
1366 if (tokenStart >= 0) { 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()
2842 int tokenStart = mTokenizer.findTokenStart(text, getSelectionEnd()); in afterTextChanged() local
2843 String sub = text.substring(tokenStart, mTokenizer.findTokenEnd(text, in afterTextChanged()
[all …]