Home
last modified time | relevance | path

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

/frameworks/base/libs/ui/
DKeyLayoutMap.cpp141 mMap(map), mTokenizer(tokenizer) { in Parser()
148 while (!mTokenizer->isEof()) { in parse()
150 LOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
151 mTokenizer->peekRemainderOfLine().string()); in parse()
154 mTokenizer->skipDelimiters(WHITESPACE); in parse()
156 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
157 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
159 mTokenizer->skipDelimiters(WHITESPACE); in parse()
163 mTokenizer->skipDelimiters(WHITESPACE); in parse()
167 LOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), in parse()
[all …]
DVirtualKeyMap.cpp87 mMap(map), mTokenizer(tokenizer) { in Parser()
94 while (!mTokenizer->isEof()) { in parse()
96 LOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
97 mTokenizer->peekRemainderOfLine().string()); in parse()
100 mTokenizer->skipDelimiters(WHITESPACE); in parse()
102 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
105 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); in parse()
108 mTokenizer->getLocation().string()); in parse()
120 mTokenizer->getLocation().string()); in parse()
132 if (!mTokenizer->isEol()) { in parse()
[all …]
DKeyCharacterMap.cpp460 mMap(map), mTokenizer(tokenizer), mState(STATE_TOP) { in Parser()
467 while (!mTokenizer->isEof()) { in parse()
469 LOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
470 mTokenizer->peekRemainderOfLine().string()); in parse()
473 mTokenizer->skipDelimiters(WHITESPACE); in parse()
475 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
478 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
480 mTokenizer->skipDelimiters(WHITESPACE); in parse()
484 mTokenizer->skipDelimiters(WHITESPACE); in parse()
488 LOGE("%s: Expected keyword, got '%s'.", mTokenizer->getLocation().string(), in parse()
[all …]
/frameworks/base/libs/utils/
DPropertyMap.cpp157 mMap(map), mTokenizer(tokenizer) { in Parser()
164 while (!mTokenizer->isEof()) { in parse()
166 LOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
167 mTokenizer->peekRemainderOfLine().string()); in parse()
170 mTokenizer->skipDelimiters(WHITESPACE); in parse()
172 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
173 String8 keyToken = mTokenizer->nextToken(WHITESPACE_OR_PROPERTY_DELIMITER); in parse()
175 LOGE("%s: Expected non-empty property key.", mTokenizer->getLocation().string()); in parse()
179 mTokenizer->skipDelimiters(WHITESPACE); in parse()
181 if (mTokenizer->nextChar() != '=') { in parse()
[all …]
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java59 private Tokenizer mTokenizer; field in MultiAutoCompleteTextView
80 mTokenizer = t; in setTokenizer()
93 int start = mTokenizer.findTokenStart(text, end); in performFiltering()
118 if (end < 0 || mTokenizer == null) { in enoughToFilter()
122 int start = mTokenizer.findTokenStart(text, end); in enoughToFilter()
139 if (v == null || mTokenizer == null) { in performValidation()
146 int start = mTokenizer.findTokenStart(e, i); in performValidation()
147 int end = mTokenizer.findTokenEnd(e, start); in performValidation()
154 mTokenizer.terminateToken(v.fixText(sub))); in performValidation()
190 int start = mTokenizer.findTokenStart(getText(), end); in replaceText()
[all …]
/frameworks/base/opengl/libagl/
DTokenManager.cpp28 mTokenizer.reserve(0); in TokenManager()
39 *tokens++ = mTokenizer.acquire(); in getToken()
49 mTokenizer.release(token); in recycleTokens()
57 return mTokenizer.isAcquired(token); in isTokenValid()
DTokenManager.h46 Tokenizer mTokenizer; variable
/frameworks/ex/chips/tests/src/com/android/ex/chips/
DChipsTest.java40 private Rfc822Tokenizer mTokenizer; field in ChipsTest
48 mTokenizer = new Rfc822Tokenizer(); in MockRecipientEditTextView()
49 setTokenizer(mTokenizer); in MockRecipientEditTextView()
115 String first = (String) mTokenizer.terminateToken("FIRST"); in testSanitizeBetween()
116 String second = (String) mTokenizer.terminateToken("SECOND"); in testSanitizeBetween()
154 String first = (String) mTokenizer.terminateToken("FIRST"); in testMoreChip()
155 String second = (String) mTokenizer.terminateToken("SECOND"); in testMoreChip()
156 String third = (String) mTokenizer.terminateToken("THIRD"); in testMoreChip()
215 String first = (String) mTokenizer.terminateToken("FIRST"); in testMoreChipLotsOfUsers()
216 String second = (String) mTokenizer.terminateToken("SECOND"); in testMoreChipLotsOfUsers()
[all …]
/frameworks/base/include/ui/
DVirtualKeyMap.h60 Tokenizer* mTokenizer; variable
DKeyLayoutMap.h84 Tokenizer* mTokenizer; variable
DKeyCharacterMap.h149 Tokenizer* mTokenizer; variable
/frameworks/ex/chips/src/com/android/ex/chips/
DRecipientEditTextView.java104 private Tokenizer mTokenizer; field in RecipientEditTextView
355 int start = mTokenizer.findTokenStart(editable, end); in shrink()
359 int whatEnd = mTokenizer.findTokenEnd(text, start); in shrink()
786 int start = mTokenizer.findTokenStart(getText(), end); in createReplacementChip()
866 mTokenizer = tokenizer; in setTokenizer()
867 super.setTokenizer(mTokenizer); in setTokenizer()
956 int start = mTokenizer.findTokenStart(editable, end); in commitDefault()
959 int whatEnd = mTokenizer.findTokenEnd(getText(), start); in commitDefault()
974 int start = mTokenizer.findTokenStart(editable, end); in commitByCharacter()
988 int tokenEnd = mTokenizer.findTokenEnd(editable, start); in commitChip()
[all …]
/frameworks/base/include/utils/
DPropertyMap.h86 Tokenizer* mTokenizer; variable