Home
last modified time | relevance | path

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

/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/apps/Launcher3/src/com/android/launcher3/search/
DStringMatcherUtility.java40 int queryLength = query.length(); in matches() local
44 if (targetLength < queryLength || queryLength <= 0) { in matches()
56 int end = targetLength - queryLength; in matches()
63 && 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/providers/CalendarProvider/src/com/android/providers/calendar/
DQueryParameterUtils.java41 int queryLength = query.length(); in getQueryParameter() local
54 if (queryLength == index) { in getQueryParameter()
/packages/providers/MediaProvider/pdf/framework/java/android/graphics/pdf/logging/
DPdfEventLogger.java59 int queryLength, in logSearchReportedEvent() argument
65 queryLength, queryPageNumber, apiResponse, mDocId, numPages, matchCount); in logSearchReportedEvent()
/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/modules/AppSearch/service/java/com/android/server/appsearch/external/localstorage/stats/
DSearchStats.java500 public Builder setQueryLength(int queryLength) { in setQueryLength() argument
501 mNativeQueryLength = queryLength; in setQueryLength()
/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/apps/Launcher3/quickstep/src/com/android/quickstep/logging/
DStatsLogCompatManager.java584 public StatsLatencyLogger withQueryLength(int queryLength) {
585 this.mQueryLength = queryLength;
652 public StatsImpressionLogger withQueryLength(int queryLength) {
653 this.mQueryLength = queryLength;
/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/Launcher3/src/com/android/launcher3/logging/
DStatsLogManager.java1050 default StatsLatencyLogger withQueryLength(int queryLength) { in withQueryLength() argument
1118 default StatsImpressionLogger withQueryLength(int queryLength) { in withQueryLength() argument
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java231 searchState.queryLength = adapter.getQueryString() == null in createSearchState()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactsProvider2.java10062 int queryLength = query.length(); in getQueryParameter() local
10086 if (queryLength == index) { in getQueryParameter()