Home
last modified time | relevance | path

Searched refs:mSuggestions (Results 1 – 8 of 8) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DListSuggestionCursor.java37 private final ArrayList<Entry> mSuggestions; field in ListSuggestionCursor
57 mSuggestions = new ArrayList<Entry>(capacity); in ListSuggestionCursor()
66 mSuggestions.add(new Entry(suggestion)); in add()
71 mSuggestions.clear(); in close()
83 int size = mSuggestions.size(); in moveToNext()
93 mSuggestions.remove(mPos); in removeRow()
97 mSuggestions.set(mPos, new Entry(suggestion)); in replaceRow()
101 return mSuggestions.size(); in getCount()
106 return mSuggestions.get(mPos).get(); in current()
111 return getClass().getSimpleName() + "{[" + getUserQuery() + "] " + mSuggestions + "}"; in toString()
[all …]
DSuggestionsProviderImpl.java93 private final Suggestions mSuggestions; field in SuggestionsProviderImpl.SuggestionCursorReceiver
96 mSuggestions = suggestions; in SuggestionCursorReceiver()
107 mSuggestions.addResults(cursor); in consume()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsAdapterBase.java45 private Suggestions mSuggestions; field in SuggestionsAdapterBase
86 if (mSuggestions == suggestions) { in setSuggestions()
99 if (mSuggestions != null) { in setSuggestions()
100 mSuggestions.unregisterDataSetObserver(mDataSetObserver); in setSuggestions()
101 mSuggestions.release(); in setSuggestions()
103 mSuggestions = suggestions; in setSuggestions()
104 if (mSuggestions != null) { in setSuggestions()
105 mSuggestions.registerDataSetObserver(mDataSetObserver); in setSuggestions()
112 return mSuggestions; in getSuggestions()
169 if (DBG) Log.d(TAG, "onSuggestionsChanged(" + mSuggestions + ")"); in onSuggestionsChanged()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
DAndroidWordLevelSpellCheckerSession.java65 public final String[] mSuggestions; field in AndroidWordLevelSpellCheckerSession.SuggestionsParams
68 mSuggestions = suggestions; in SuggestionsParams()
294 if (result.mSuggestions != null && result.mSuggestions.length > 0) { in onGetSuggestionsInternal()
296 for (String suggestion : result.mSuggestions) { in onGetSuggestionsInternal()
318 final SuggestionsInfo retval = new SuggestionsInfo(flags, result.mSuggestions); in onGetSuggestionsInternal()
319 mSuggestionsCache.putSuggestionsToCache(text, result.mSuggestions, flags); in onGetSuggestionsInternal()
330 public final String[] mSuggestions; field in AndroidWordLevelSpellCheckerSession.Result
333 mSuggestions = gatheredSuggestions; in Result()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DMaterialSearchSuggestionsList.java49 private List<SuggestionItem> mSuggestions = Lists.newArrayList(); field in MaterialSearchSuggestionsList
105 mController.onSearchPerformed(mSuggestions.get(position).suggestion); in onItemClick()
152 mSuggestions.clear(); in onPostExecute()
153 mSuggestions.addAll(strings); in onPostExecute()
190 return mSuggestions.size(); in getCount()
195 return mSuggestions.get(i); in getItem()
209 final SuggestionItem item = mSuggestions.get(position); in getView()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/model/
DSuggestionListBuilder.java30 private Map<SuggestionCategory, List<Suggestion>> mSuggestions; field in SuggestionListBuilder
34 mSuggestions = new HashMap<>(); in SuggestionListBuilder()
41 mSuggestions.put(category, suggestions); in addSuggestions()
55 for (List<Suggestion> suggestionsInCategory : mSuggestions.values()) { in dedupeSuggestions()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DGoogleSuggestClient.java164 private final JSONArray mSuggestions; field in GoogleSuggestClient.GoogleSuggestCursor
174 mSuggestions = suggestions; in GoogleSuggestCursor()
180 return mSuggestions.length(); in getCount()
186 return mSuggestions.getString(getPosition()); in getSuggestionQuery()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java280 private final List<AggregationSuggestionEngine.Suggestion> mSuggestions; field in ContactEditorFragment.AggregationSuggestionAdapter
286 mSuggestions = suggestions; in AggregationSuggestionAdapter()
307 return mSuggestions.get(position); in getItem()
312 return mSuggestions.size(); in getCount()