Home
last modified time | relevance | path

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

/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java1053 int tokenStart = editable.toString().indexOf(current); in handlePendingChips() local
1055 int tokenEnd = tokenStart + current.length() - 1; in handlePendingChips()
1056 if (tokenStart >= 0) { in handlePendingChips()
1063 createReplacementChip(tokenStart, tokenEnd, editable, i < CHIP_LIMIT in handlePendingChips()
1146 void createReplacementChip(int tokenStart, int tokenEnd, Editable editable, in createReplacementChip() argument
1148 if (alreadyHasChip(tokenStart, tokenEnd)) { in createReplacementChip()
1153 String token = editable.toString().substring(tokenStart, tokenEnd); in createReplacementChip()
1170 editable.setSpan(chip, tokenStart, tokenEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); in createReplacementChip()
2426 int tokenStart = mTokenizer.findTokenStart(text, getSelectionEnd()); in afterTextChanged() local
2427 String sub = text.substring(tokenStart, mTokenizer.findTokenEnd(text, in afterTextChanged()
[all …]