Home
last modified time | relevance | path

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

/aosp12/packages/apps/Launcher3/src/com/android/launcher3/search/
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/logging/
H A 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()
/aosp12/packages/apps/Dialer/java/com/android/dialer/smartdial/util/
H A 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()
/aosp12/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DQueryParameterUtils.java41 int queryLength = query.length(); in getQueryParameter() local
54 if (queryLength == index) { in getQueryParameter()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A 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()
H A Ddictionary.h104 void getProperty(const char *const query, const int queryLength, char *const outResult,
/aosp12/frameworks/base/apex/appsearch/service/java/com/android/server/appsearch/external/localstorage/stats/
H A DSearchStats.java355 public Builder setQueryLength(int queryLength) { in setQueryLength() argument
356 mNativeQueryLength = queryLength; in setQueryLength()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/interface/
H A Ddictionary_structure_with_buffer_policy.h104 virtual void getProperty(const char *const query, const int queryLength, char *const outResult,
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_policy.h109 void getProperty(const char *const query, const int queryLength, char *const outResult,
H A 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()
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
H A Dpatricia_trie_policy.h136 void getProperty(const char *const query, const int queryLength, char *const outResult, in getProperty() argument
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_policy.h130 void getProperty(const char *const query, const int queryLength, char *const outResult,
H A 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()
/aosp12/packages/apps/Contacts/src/com/android/contacts/list/
H A DMultiSelectContactsListFragment.java227 searchState.queryLength = adapter.getQueryString() == null in createSearchState()
/aosp12/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java9552 int queryLength = query.length(); in getQueryParameter() local
9576 if (queryLength == index) { in getQueryParameter()