Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyLayoutMap.cpp193 mMap(map), mTokenizer(tokenizer) { in Parser()
200 while (!mTokenizer->isEof()) { in parse()
202 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
203 mTokenizer->peekRemainderOfLine().string()); in parse()
206 mTokenizer->skipDelimiters(WHITESPACE); in parse()
208 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
209 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
211 mTokenizer->skipDelimiters(WHITESPACE); in parse()
215 mTokenizer->skipDelimiters(WHITESPACE); in parse()
219 mTokenizer->skipDelimiters(WHITESPACE); in parse()
[all …]
DVirtualKeyMap.cpp73 mMap(map), mTokenizer(tokenizer) { in Parser()
80 while (!mTokenizer->isEof()) { in parse()
82 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
83 mTokenizer->peekRemainderOfLine().string()); in parse()
86 mTokenizer->skipDelimiters(WHITESPACE); in parse()
88 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
91 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); in parse()
94 mTokenizer->getLocation().string()); in parse()
106 mTokenizer->getLocation().string()); in parse()
118 if (!mTokenizer->isEol()) { in parse()
[all …]
DKeyCharacterMap.cpp721 mMap(map), mTokenizer(tokenizer), mFormat(format), mState(STATE_TOP) { in Parser()
728 while (!mTokenizer->isEof()) { in parse()
730 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
731 mTokenizer->peekRemainderOfLine().string()); in parse()
734 mTokenizer->skipDelimiters(WHITESPACE); in parse()
736 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
739 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
741 mTokenizer->skipDelimiters(WHITESPACE); in parse()
745 mTokenizer->skipDelimiters(WHITESPACE); in parse()
749 mTokenizer->skipDelimiters(WHITESPACE); in parse()
[all …]
/frameworks/base/core/java/android/widget/
DMultiAutoCompleteTextView.java58 private Tokenizer mTokenizer; field in MultiAutoCompleteTextView
84 mTokenizer = t; in setTokenizer()
97 int start = mTokenizer.findTokenStart(text, end); in performFiltering()
122 if (end < 0 || mTokenizer == null) { in enoughToFilter()
126 int start = mTokenizer.findTokenStart(text, end); in enoughToFilter()
143 if (v == null || mTokenizer == null) { in performValidation()
150 int start = mTokenizer.findTokenStart(e, i); in performValidation()
151 int end = mTokenizer.findTokenEnd(e, start); in performValidation()
158 mTokenizer.terminateToken(v.fixText(sub))); in performValidation()
194 int start = mTokenizer.findTokenStart(getText(), end); in replaceText()
[all …]
/frameworks/opt/chips/tests/src/com/android/ex/chips/
DChipsTest.java45 private Rfc822Tokenizer mTokenizer; field in ChipsTest
53 mTokenizer = new Rfc822Tokenizer(); in BaseMockRecipientEditTextView()
54 setTokenizer(mTokenizer); in BaseMockRecipientEditTextView()
82 mTokenizer = new Rfc822Tokenizer(); in MockRecipientEditTextView()
83 setTokenizer(mTokenizer); in MockRecipientEditTextView()
184 String first = (String) mTokenizer.terminateToken("FIRST"); in testSanitizeBetween()
185 String second = (String) mTokenizer.terminateToken("SECOND"); in testSanitizeBetween()
221 String first = (String) mTokenizer.terminateToken("FIRST"); in testSanitizeEnd()
222 String second = (String) mTokenizer.terminateToken("SECOND"); in testSanitizeEnd()
248 String first = (String) mTokenizer.terminateToken("FIRST"); in testMoreChipPlainText()
[all …]
/frameworks/native/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/base/core/java/com/android/internal/alsa/
DAlsaCardsParser.java38 private static LineTokenizer mTokenizer = new LineTokenizer(" :[]"); field in AlsaCardsParser
83 tokenIndex = mTokenizer.nextToken(line, tokenIndex); in parse()
84 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse()
96 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse()
97 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse()
101 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse()
106 tokenIndex = mTokenizer.nextToken(line, 0); in parse()
DAlsaDevicesParser.java46 private static LineTokenizer mTokenizer = new LineTokenizer(" :[]-"); field in AlsaDevicesParser
93 tokenOffset = mTokenizer.nextToken(line, delimOffset); in parse()
97 delimOffset = mTokenizer.nextDelimiter(line, tokenOffset); in parse()
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java62 private final Tokenizer mTokenizer; field in AppWidget.Parser
65 mTokenizer = new Tokenizer(args); in Parser()
70 String operation = mTokenizer.nextArg(); in parseCommand()
89 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseSetGrantBindAppWidgetPermissionCommand()
111 String value = mTokenizer.nextArg(); in argumentValueRequired()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java160 private final Tokenizer mTokenizer; field in Content.Parser
163 mTokenizer = new Tokenizer(args); in Parser()
168 String operation = mTokenizer.nextArg(); in parseCommand()
199 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
225 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
248 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseUpdateCommand()
278 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseCallCommand()
308 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseGetTypeCommand()
327 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseReadCommand()
346 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseWriteCommand()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java171 private Tokenizer mTokenizer; field in RecipientEditTextView
726 if (mTokenizer == null) { in shrink()
758 int start = mTokenizer.findTokenStart(editable, end); in shrink()
763 int whatEnd = mTokenizer.findTokenEnd(text, start); in shrink()
1558 mTokenizer = tokenizer; in setTokenizer()
1559 super.setTokenizer(mTokenizer); in setTokenizer()
1632 if (mTokenizer == null) { in commitDefault()
1637 int start = mTokenizer.findTokenStart(editable, end); in commitDefault()
1640 int whatEnd = mTokenizer.findTokenEnd(getText(), start); in commitDefault()
1655 if (mTokenizer == null) { in commitByCharacter()
[all …]
/frameworks/native/include/input/
DVirtualKeyMap.h62 Tokenizer* mTokenizer; variable
DKeyLayoutMap.h101 Tokenizer* mTokenizer; variable
DKeyCharacterMap.h206 Tokenizer* mTokenizer; variable
/frameworks/base/media/java/android/media/
DWebVttRenderer.java988 private final Tokenizer mTokenizer = new Tokenizer(mExtractor); field in WebVttTrack
1044 mTokenizer.reset(); in onCueParsed()
1046 mTokenizer.tokenize(s); in onCueParsed()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt88698 Landroid/widget/MultiAutoCompleteTextView;->mTokenizer:Landroid/widget/MultiAutoCompleteTextView$To…