Home
last modified time | relevance | path

Searched refs:getSuggestions (Results 1 – 16 of 16) sorted by relevance

/packages/apps/GlobalSearch/src/com/android/globalsearch/
DAbstractSuggestionSource.java53 protected abstract SuggestionResult getSuggestions(String query, int maxResults, in getSuggestions() method in AbstractSuggestionSource
75 return getSuggestions(query, maxResults, queryLimit); in getSuggestionTask()
DSourceSuggestionBacker.java226 && !suggestionResult.getSuggestions().isEmpty()) { in snapshotSuggestionsInternal()
227 reportedResults.add(suggestionResult.getSuggestions().iterator()); in snapshotSuggestionsInternal()
315 if (numDisplayed < sourceResult.getSuggestions().size()) { in snapshotSuggestionsInternal()
456 final List<SuggestionData> suggestions = suggestionResult.getSuggestions(); in addSourceResults()
487 return pastDeadline || !suggestionResult.getSuggestions().isEmpty(); in addSourceResults()
DSuggestionFilter.java44 final List<SuggestionData> old = result.getSuggestions(); in filter()
DSuggestionResult.java105 public List<SuggestionData> getSuggestions() { in getSuggestions() method in SuggestionResult
DSearchableSuggestionSource.java164 public SuggestionResult getSuggestions(String query, int maxResults, int queryLimit) { in getSuggestions() method in SearchableSuggestionSource
213 return getSuggestions(getContext(), mSearchable, query, queryLimit); in getCursor()
220 private static Cursor getSuggestions(Context context, SearchableInfo searchable, String query, in getSuggestions() method in SearchableSuggestionSource
DTestSuggestionSource.java70 protected SuggestionResult getSuggestions(String query, int maxResults, int queryLimit) { in getSuggestions() method in TestSuggestionSource
DQueryMultiplexer.java223 + suggestionResult.getSuggestions().size() + " items"); in done()
DSuggestionSession.java642 && sourceResult.getSuggestions().isEmpty()) { in reportSourceResult()
/packages/inputmethods/LatinIME/dictionary/src/
Ddictionary.h34 int getSuggestions(int *codes, int codesSize, unsigned short *outWords, int *frequencies,
Ddictionary.cpp51 int Dictionary::getSuggestions(int *codes, int codesSize, unsigned short *outWords, int *frequencie… in getSuggestions() function in latinime::Dictionary
/packages/apps/GlobalSearch/benchmarks/src/com/android/globalsearch/benchmarks/
DSourceLatency.java157 cursor = mSearchManager.getSuggestions(searchable, query); in checkSourceInternal()
202 cursor = mSearchManager.getSuggestions(mSearchable, mQuery); in run()
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationsProvider.java323 return getSuggestions(query, projectionIn); in query()
335 private Cursor getSuggestions(String query, String[] projectionIn) { in getSuggestions() method in ApplicationsProvider
/packages/inputmethods/LatinIME/dictionary/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp100 …int count = dictionary->getSuggestions(inputCodes, arraySize, (unsigned short*) outputChars, frequ… in latinime_BinaryDictionary_getSuggestions()
/packages/inputmethods/LatinIME/src/com/android/inputmethod/latin/
DSuggest.java153 public List<CharSequence> getSuggestions(View view, WordComposer wordComposer, in getSuggestions() method in Suggest
DLatinIME.java807 List<CharSequence> stringList = mSuggest.getSuggestions(mInputView, mWord, false); in updateSuggestions()
/packages/apps/Browser/src/com/android/browser/
DBrowserProvider.java759 Cursor sc = mSearchManager.getSuggestions(mSearchableInfo, selectionArgs[0]); in query()