Home
last modified time | relevance | path

Searched refs:suggestionId (Results 1 – 9 of 9) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
DSuggestionsAdapterBase.java116 public abstract SuggestionPosition getSuggestion(long suggestionId); in getSuggestion() argument
151 protected View getView(SuggestionCursor suggestions, int position, long suggestionId, in getView() argument
156 ((SuggestionView) v).bindAdapter(this, suggestionId); in getView()
158 SuggestionViewClickListener l = new SuggestionViewClickListener(suggestionId); in getView()
208 public void onSuggestionClicked(long suggestionId) { in onSuggestionClicked() argument
212 mSuggestionClickListener.onSuggestionClicked(this, suggestionId); in onSuggestionClicked()
217 public void onSuggestionQueryRefineClicked(long suggestionId) { in onSuggestionQueryRefineClicked() argument
221 mSuggestionClickListener.onSuggestionQueryRefineClicked(this, suggestionId); in onSuggestionQueryRefineClicked()
241 public SuggestionViewClickListener(long suggestionId) { in SuggestionViewClickListener() argument
242 mSuggestionId = suggestionId; in SuggestionViewClickListener()
DDelayingSuggestionsAdapter.java143 public SuggestionPosition getSuggestion(long suggestionId) { in getSuggestion() argument
144 return mDelayedAdapter.getSuggestion(suggestionId); in getSuggestion()
148 public void onSuggestionClicked(long suggestionId) { in onSuggestionClicked() argument
149 mDelayedAdapter.onSuggestionClicked(suggestionId); in onSuggestionClicked()
153 public void onSuggestionQueryRefineClicked(long suggestionId) { in onSuggestionQueryRefineClicked() argument
154 mDelayedAdapter.onSuggestionQueryRefineClicked(suggestionId); in onSuggestionQueryRefineClicked()
DSuggestionsAdapter.java63 SuggestionPosition getSuggestion(long suggestionId); in getSuggestion() argument
71 void onSuggestionClicked(long suggestionId); in onSuggestionClicked() argument
79 void onSuggestionQueryRefineClicked(long suggestionId); in onSuggestionQueryRefineClicked() argument
DSuggestionClickListener.java31 void onSuggestionClicked(SuggestionsAdapter<?> adapter, long suggestionId); in onSuggestionClicked() argument
40 void onSuggestionQueryRefineClicked(SuggestionsAdapter<?> adapter, long suggestionId); in onSuggestionQueryRefineClicked() argument
DSuggestionsListAdapter.java46 public SuggestionPosition getSuggestion(long suggestionId) { in getSuggestion() argument
47 return new SuggestionPosition(getCurrentSuggestions(), (int) suggestionId); in getSuggestion()
DBaseSuggestionView.java69 public void bindAdapter(SuggestionsAdapter<?> adapter, long suggestionId) { in bindAdapter() argument
71 mSuggestionId = suggestionId; in bindAdapter()
DSearchActivityView.java367 long suggestionId, int keyCode, KeyEvent event) { in onSuggestionKeyDown() argument
373 adapter.onSuggestionClicked(suggestionId); in onSuggestionKeyDown()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/suggestions/ranking/
DSuggestionEventStore.java68 public void writeEvent(String suggestionId, String eventType) { in writeEvent() argument
73 final String lastTimePrefKey = getPrefKey(suggestionId, eventType, METRIC_LAST_EVENT_TIME); in writeEvent()
74 final String countPrefKey = getPrefKey(suggestionId, eventType, METRIC_COUNT); in writeEvent()
87 public long readMetric(String suggestionId, String eventType, String metricType) { in readMetric() argument
95 return readPref(getPrefKey(suggestionId, eventType, metricType), (long) 0); in readMetric()
111 private String getPrefKey(String suggestionId, String eventType, String statType) { in getPrefKey() argument
114 .append(suggestionId) in getPrefKey()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DLogger.java48 void logSuggestionClick(long suggestionId, SuggestionCursor suggestionCursor, int clickType); in logSuggestionClick() argument