Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DKeyLayoutMap.cpp192 mMap(map), mTokenizer(tokenizer) { in Parser()
199 while (!mTokenizer->isEof()) { in parse()
201 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
202 mTokenizer->peekRemainderOfLine().string()); in parse()
205 mTokenizer->skipDelimiters(WHITESPACE); in parse()
207 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
208 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
210 mTokenizer->skipDelimiters(WHITESPACE); in parse()
214 mTokenizer->skipDelimiters(WHITESPACE); in parse()
218 mTokenizer->skipDelimiters(WHITESPACE); in parse()
[all …]
DVirtualKeyMap.cpp88 mMap(map), mTokenizer(tokenizer) { in Parser()
95 while (!mTokenizer->isEof()) { in parse()
97 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().string(), in parse()
98 mTokenizer->peekRemainderOfLine().string()); in parse()
101 mTokenizer->skipDelimiters(WHITESPACE); in parse()
103 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
106 String8 token = mTokenizer->nextToken(WHITESPACE_OR_FIELD_DELIMITER); in parse()
109 mTokenizer->getLocation().string()); in parse()
121 mTokenizer->getLocation().string()); in parse()
133 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/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/core/java/com/android/internal/alsa/
DAlsaCardsParser.java36 private static LineTokenizer mTokenizer = new LineTokenizer(" :[]"); field in AlsaCardsParser
58 tokenIndex = mTokenizer.nextToken(line, tokenIndex); in parse()
59 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse()
71 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse()
72 delimIndex = mTokenizer.nextDelimiter(line, tokenIndex); in parse()
76 tokenIndex = mTokenizer.nextToken(line, delimIndex); in parse()
81 tokenIndex = mTokenizer.nextToken(line, 0); in parse()
DAlsaDevicesParser.java43 private static LineTokenizer mTokenizer = new LineTokenizer(" :[]-"); field in AlsaDevicesParser
84 tokenOffset = mTokenizer.nextToken(line, delimOffset); in parse()
88 delimOffset = mTokenizer.nextDelimiter(line, tokenOffset); in parse()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java154 private final Tokenizer mTokenizer; field in Content.Parser
157 mTokenizer = new Tokenizer(args); in Parser()
162 String operation = mTokenizer.nextArg(); in parseCommand()
189 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
215 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
238 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseUpdateCommand()
268 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseCallCommand()
297 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseReadCommand()
319 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseQueryCommand()
342 String argument = mTokenizer.nextArg(); in parseBindValue()
[all …]
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java164 private Tokenizer mTokenizer; field in RecipientEditTextView
677 if (mTokenizer == null) { in shrink()
709 int start = mTokenizer.findTokenStart(editable, end); in shrink()
714 int whatEnd = mTokenizer.findTokenEnd(text, start); in shrink()
1407 mTokenizer = tokenizer; in setTokenizer()
1408 super.setTokenizer(mTokenizer); in setTokenizer()
1481 if (mTokenizer == null) { in commitDefault()
1486 int start = mTokenizer.findTokenStart(editable, end); in commitDefault()
1489 int whatEnd = mTokenizer.findTokenEnd(getText(), start); in commitDefault()
1504 if (mTokenizer == null) { in commitByCharacter()
[all …]
/frameworks/native/include/input/
DVirtualKeyMap.h62 Tokenizer* mTokenizer; variable
DKeyLayoutMap.h101 Tokenizer* mTokenizer; variable
DKeyCharacterMap.h204 Tokenizer* mTokenizer; variable
/frameworks/base/media/java/android/media/
DWebVttRenderer.java986 private final Tokenizer mTokenizer = new Tokenizer(mExtractor); field in WebVttTrack
1042 mTokenizer.reset(); in onCueParsed()
1044 mTokenizer.tokenize(s); in onCueParsed()