Home
last modified time | relevance | path

Searched refs:queryLength (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/search/
DStringMatcherUtility.java31 int queryLength = query.length(); in matches() local
35 if (targetLength < queryLength || queryLength <= 0) { in matches()
47 int end = targetLength - queryLength; in matches()
54 && matcher.matches(query, target.substring(i, i + queryLength))) { in matches()
/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
DSmartDialNameMatcher.java237 final int queryLength = query.length(); in matchesCombination() local
239 if (nameLength < queryLength) { in matchesCombination()
243 if (queryLength == 0) { in matchesCombination()
265 while (nameStart < nameLength && queryStart < queryLength) { in matchesCombination()
311 if (queryStart == queryLength - 1) { in matchesCombination()
316 new SmartDialMatchPosition(tokenStart, queryLength + tokenStart + seperatorCount)); in matchesCombination()
/packages/apps/Contacts/src/com/android/contacts/logging/
DSearchState.java29 public int queryLength; field in SearchState
74 .add("queryLength", queryLength) in toString()
91 dest.writeInt(queryLength); in writeToParcel()
101 queryLength = source.readInt(); in readFromParcel()
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DQueryParameterUtils.java41 int queryLength = query.length(); in getQueryParameter() local
54 if (queryLength == index) { in getQueryParameter()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp180 void Dictionary::getProperty(const char *const query, const int queryLength, char *const outResult, in getProperty() argument
183 return mDictionaryStructureWithBufferPolicy->getProperty(query, queryLength, outResult, in getProperty()
Ddictionary.h104 void getProperty(const char *const query, const int queryLength, char *const outResult,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
Ddictionary_structure_with_buffer_policy.h104 virtual void getProperty(const char *const query, const int queryLength, char *const outResult,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.h109 void getProperty(const char *const query, const int queryLength, char *const outResult,
Dver4_patricia_trie_policy.cpp479 void Ver4PatriciaTriePolicy::getProperty(const char *const query, const int queryLength, in getProperty() argument
481 const int compareLength = queryLength + 1 /* terminator */; in getProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.h136 void getProperty(const char *const query, const int queryLength, char *const outResult, in getProperty() argument
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_policy.h130 void getProperty(const char *const query, const int queryLength, char *const outResult,
Dver4_patricia_trie_policy.cpp524 void Ver4PatriciaTriePolicy::getProperty(const char *const query, const int queryLength, in getProperty() argument
526 const int compareLength = queryLength + 1 /* terminator */; in getProperty()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java227 searchState.queryLength = adapter.getQueryString() == null in createSearchState()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java9586 int queryLength = query.length(); in getQueryParameter() local
9610 if (queryLength == index) { in getQueryParameter()