Home
last modified time | relevance | path

Searched refs:tokenCount (Results 1 – 5 of 5) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DNameLookupBuilder.java100 int tokenCount = mSplitter.tokenize(mNames, name); in insertNameLookup() local
101 if (tokenCount == 0) { in insertNameLookup()
105 for (int i = 0; i < tokenCount; i++) { in insertNameLookup()
109 boolean tooManyTokens = tokenCount > MAX_NAME_TOKENS; in insertNameLookup()
111 insertNameVariant(rawContactId, dataId, tokenCount, NameLookupType.NAME_EXACT, true); in insertNameLookup()
114 Arrays.sort(mNames, 0, tokenCount, new Comparator<String>() { in insertNameLookup()
124 for (int i = MAX_NAME_TOKENS; i < tokenCount; i++) { in insertNameLookup()
130 tokenCount = MAX_NAME_TOKENS; in insertNameLookup()
134 for (int i = 0; i < tokenCount; i++) { in insertNameLookup()
138 insertNameVariants(rawContactId, dataId, 0, tokenCount, !tooManyTokens, true); in insertNameLookup()
[all …]
DContactLocaleUtils.java473 final int tokenCount = tokens.size(); in getPinyinNameLookupKeys() local
480 for (int i = tokenCount - 1; i >= 0; i--) { in getPinyinNameLookupKeys()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLevenshteinSuggestionFormatter.java105 int tokenCount = 0; in tokenize() local
116 tokens[tokenCount++] = new Token(chars, start, end); in tokenize()
120 Token[] ret = new Token[tokenCount]; in tokenize()
121 System.arraycopy(tokens, 0, ret, 0, tokenCount); in tokenize()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/
Dpointer.h155 …* tokens, size_t tokenCount) : allocator_(), ownAllocator_(), nameBuffer_(), tokens_(const_cast<To… in GenericPointer() argument
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...