Home
last modified time | relevance | path

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

/frameworks/native/libs/input/
DVirtualKeyMap.cpp73 mMap(map), mTokenizer(tokenizer) { in Parser()
80 while (!mTokenizer->isEof()) { in parse()
82 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().c_str(), in parse()
83 mTokenizer->peekRemainderOfLine().c_str()); 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().c_str()); in parse()
106 mTokenizer->getLocation().c_str()); in parse()
118 if (!mTokenizer->isEol()) { in parse()
[all …]
DKeyLayoutMap.cpp302 mMap(map), mTokenizer(tokenizer) { in Parser()
309 while (!mTokenizer->isEof()) { in parse()
310 ALOGD_IF(DEBUG_PARSER, "Parsing %s: '%s'.", mTokenizer->getLocation().c_str(), in parse()
311 mTokenizer->peekRemainderOfLine().c_str()); in parse()
313 mTokenizer->skipDelimiters(WHITESPACE); in parse()
315 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
316 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
318 mTokenizer->skipDelimiters(WHITESPACE); in parse()
322 mTokenizer->skipDelimiters(WHITESPACE); in parse()
326 mTokenizer->skipDelimiters(WHITESPACE); in parse()
[all …]
DPropertyMap.cpp159 : mMap(map), mTokenizer(tokenizer) {} in Parser()
164 while (!mTokenizer->isEof()) { in parse()
166 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().c_str(), in parse()
167 mTokenizer->peekRemainderOfLine().c_str()); 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 ALOGE("%s: Expected non-empty property key.", mTokenizer->getLocation().c_str()); in parse()
179 mTokenizer->skipDelimiters(WHITESPACE); in parse()
181 if (mTokenizer->nextChar() != '=') { in parse()
[all …]
DKeyCharacterMap.cpp749 mMap(map), mTokenizer(tokenizer), mFormat(format), mState(STATE_TOP) { in Parser()
753 while (!mTokenizer->isEof()) { in parse()
755 ALOGD("Parsing %s: '%s'.", mTokenizer->getLocation().c_str(), in parse()
756 mTokenizer->peekRemainderOfLine().c_str()); in parse()
759 mTokenizer->skipDelimiters(WHITESPACE); in parse()
761 if (!mTokenizer->isEol() && mTokenizer->peekChar() != '#') { in parse()
764 String8 keywordToken = mTokenizer->nextToken(WHITESPACE); in parse()
766 mTokenizer->skipDelimiters(WHITESPACE); in parse()
770 mTokenizer->skipDelimiters(WHITESPACE); in parse()
774 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.java46 private Rfc822Tokenizer mTokenizer; field in ChipsTest
54 mTokenizer = new Rfc822Tokenizer(); in BaseMockRecipientEditTextView()
55 setTokenizer(mTokenizer); in BaseMockRecipientEditTextView()
83 mTokenizer = new Rfc822Tokenizer(); in MockRecipientEditTextView()
84 setTokenizer(mTokenizer); in MockRecipientEditTextView()
185 String first = (String) mTokenizer.terminateToken("FIRST"); in testSanitizeBetween()
186 String second = (String) mTokenizer.terminateToken("SECOND"); in testSanitizeBetween()
222 String first = (String) mTokenizer.terminateToken("FIRST"); in testSanitizeEnd()
223 String second = (String) mTokenizer.terminateToken("SECOND"); in testSanitizeEnd()
249 String first = (String) mTokenizer.terminateToken("FIRST"); in testMoreChipPlainText()
[all …]
/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.java166 private final Tokenizer mTokenizer; field in Content.Parser
169 mTokenizer = new Tokenizer(args); in Parser()
174 String operation = mTokenizer.nextArg(); in parseCommand()
206 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseInsertCommand()
234 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseDeleteCommand()
260 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseUpdateCommand()
293 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseCallCommand()
322 for (String argument; (argument = mTokenizer.nextArg()) != null;) { in parseGetTypeCommand()
341 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseReadCommand()
360 for (String argument; (argument = mTokenizer.nextArg())!= null;) { in parseWriteCommand()
[all …]
/frameworks/native/include/input/
DVirtualKeyMap.h61 Tokenizer* mTokenizer; variable
DPropertyMap.h89 Tokenizer* mTokenizer; variable
DKeyLayoutMap.h117 Tokenizer* mTokenizer; variable
DKeyCharacterMap.h207 Tokenizer* mTokenizer; variable
/frameworks/opt/chips/src/com/android/ex/chips/
DRecipientEditTextView.java171 private Tokenizer mTokenizer; field in RecipientEditTextView
729 if (mTokenizer == null) { in shrink()
761 int start = mTokenizer.findTokenStart(editable, end); in shrink()
766 int whatEnd = mTokenizer.findTokenEnd(text, start); in shrink()
1561 mTokenizer = tokenizer; in setTokenizer()
1562 super.setTokenizer(mTokenizer); in setTokenizer()
1635 if (mTokenizer == null) { in commitDefault()
1640 int start = mTokenizer.findTokenStart(editable, end); in commitDefault()
1643 int whatEnd = mTokenizer.findTokenEnd(getText(), start); in commitDefault()
1658 if (mTokenizer == null) { in commitByCharacter()
[all …]
/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/boot/hiddenapi/
Dhiddenapi-max-target-o.txt67702 Landroid/widget/MultiAutoCompleteTextView;->mTokenizer:Landroid/widget/MultiAutoCompleteTextView$To…