Searched defs:tokenStart (Results 1 - 2 of 2) sorted by last modified time

/frameworks/ex/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java855 int tokenStart = editable.toString().indexOf(current);
856 int tokenEnd = tokenStart + current.length();
857 if (tokenStart >= 0) {
864 createReplacementChip(tokenStart, tokenEnd, editable);
946 private void createReplacementChip(int tokenStart, int tokenEnd, Editable editable) { argument
947 if (alreadyHasChip(tokenStart, tokenEnd)) {
952 String token = editable.toString().substring(tokenStart, tokenEnd);
978 editable.setSpan(chip, tokenStart, tokenEnd, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
2230 int tokenStart = mTokenizer.findTokenStart(text, getSelectionEnd());
2231 String sub = text.substring(tokenStart, mTokenize
[all...]
/frameworks/native/libs/utils/
H A DTokenizer.cpp136 const char* tokenStart = mCurrent; local
144 return String8(tokenStart, mCurrent - tokenStart);

Completed in 125 milliseconds