Home
last modified time | relevance | path

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

12

/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/
DSourceLatency.java142 cursor = getSuggestions(searchable, query); in checkSourceInternal()
160 public Cursor getSuggestions(SearchableInfo searchable, String query) { in getSuggestions() method in SourceLatency
161 return getSuggestions(searchable, query, -1); in getSuggestions()
164 public Cursor getSuggestions(SearchableInfo searchable, String query, int limit) { in getSuggestions() method in SourceLatency
237 cursor = getSuggestions(mSearchable, mQuery); in run()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DRichInputConnectionAndTextRangeTests.java324 assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
336 assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
337 assertEquals(suggestions[1].getSuggestions(), SUGGESTIONS2); in helpTestGetSuggestionSpansAtWord()
349 assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
361 assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
373 assertEquals(suggestions[0].getSuggestions(), SUGGESTIONS1); in helpTestGetSuggestionSpansAtWord()
DInputTestsBase.java117 public String[] getSuggestions() { in getSuggestions() method in InputTestsBase.SpanGetter
118 return getSpan().getSuggestions(); in getSuggestions()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DEventLogLogger.java70 String suggestions = getSuggestions(suggestionCursor); in logSuggestionClick()
88 String suggestions = getSuggestions(suggestionCursor); in logExit()
96 private String getSuggestions(SuggestionCursor cursor) { in getSuggestions() method in EventLogLogger
DSuggestionsProvider.java31 Suggestions getSuggestions(String query, Source source); in getSuggestions() method
DSuggestionCursorProvider.java38 C getSuggestions(String query, int queryLimit); in getSuggestions() method
DSearchActivity.java370 Suggestions suggestions = mSearchActivityView.getSuggestions(); in getCurrentSuggestions()
480 Suggestions suggestions = getSuggestionsProvider().getSuggestions( in updateSuggestions()
DSource.java127 SourceResult getSuggestions(String query, int queryLimit); in getSuggestions() method
DQueryTask.java66 final C cursor = mProvider.getSuggestions(mQuery, mQueryLimit); in run()
DSuggestionsProviderImpl.java61 public Suggestions getSuggestions(String query, Source sourceToQuery) { in getSuggestions() method in SuggestionsProviderImpl
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DDelayingSuggestionsAdapter.java98 if (mPendingSuggestions != getSuggestions()) { in setPendingSuggestions()
138 public Suggestions getSuggestions() { in getSuggestions() method in DelayingSuggestionsAdapter
139 return mDelayedAdapter.getSuggestions(); in getSuggestions()
DSearchActivityView.java193 public Suggestions getSuggestions() { in getSuggestions() method in SearchActivityView
194 return mSuggestionsAdapter.getSuggestions(); in getSuggestions()
198 return mSuggestionsAdapter.getSuggestions().getResult(); in getCurrentSuggestions()
342 Suggestions suggestions = mSuggestionsAdapter.getSuggestions(); in updateInputMethodSuggestions()
DSuggestionsAdapter.java57 Suggestions getSuggestions(); in getSuggestions() method
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DDictionaryCollection.java62 public ArrayList<SuggestedWordInfo> getSuggestions(final ComposedData composedData, in getSuggestions() method in DictionaryCollection
71 ArrayList<SuggestedWordInfo> suggestions = dictionaries.get(0).getSuggestions(composedData, in getSuggestions()
77 final ArrayList<SuggestedWordInfo> sugg = dictionaries.get(i).getSuggestions( in getSuggestions()
DReadOnlyBinaryDictionary.java53 public ArrayList<SuggestedWordInfo> getSuggestions(final ComposedData composedData, in getSuggestions() method in ReadOnlyBinaryDictionary
60 return mBinaryDictionary.getSuggestions(composedData, ngramContext, in getSuggestions()
DDictionary.java99 abstract public ArrayList<SuggestedWordInfo> getSuggestions(final ComposedData composedData, in getSuggestions() method in Dictionary
203 public ArrayList<SuggestedWordInfo> getSuggestions(final ComposedData composedData, in getSuggestions() method in Dictionary.PhonyDictionary
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/
DAndroidSpellCheckerServiceTest.java37 final String[] suggestions = span.getSuggestions(); in testSpellchecker()
71 final String[] suggestions = span.getSuggestions(); in testSpellcheckWithPeriods()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/
DSuggestionFeatureProvider.java47 public List<Suggestion> getSuggestions(Context context) { in getSuggestions() method in SuggestionFeatureProvider
49 final List<Suggestion> list = parser.getSuggestions(); in getSuggestions()
DSuggestionService.java36 .getSuggestions(this); in onGetSuggestions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardControllerTest.java88 when(mSuggestionController.getSuggestions()).thenReturn(null); in onServiceConnected_shouldLoadSuggestion()
94 verify(mSuggestionController).getSuggestions(); in onServiceConnected_shouldLoadSuggestion()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary.cpp47 void Dictionary::getSuggestions(ProximityInfo *proximityInfo, DicTraverseSession *traverseSession, in getSuggestions() function in latinime::Dictionary
55 suggest->getSuggestions(proximityInfo, traverseSession, xcoordinates, in getSuggestions()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/
Dsuggest_interface.h29 virtual void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs,
Dsuggest.h50 void getSuggestions(ProximityInfo *pInfo, void *traverseSession, int *inputXs, int *inputYs,
/packages/apps/Car/Settings/src/com/android/car/settings/suggestions/
DSettingsSuggestionsLoader.java50 final List<Suggestion> data = mSuggestionController.getSuggestions(); in loadInBackground()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSource.java102 public SourceResult getSuggestions(String query, int queryLimit) { in getSuggestions() method in AbstractGoogleSource

12