/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/ |
D | SuggestionsAdapterBase.java | 116 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()
|
D | DelayingSuggestionsAdapter.java | 143 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()
|
D | SuggestionsAdapter.java | 63 SuggestionPosition getSuggestion(long suggestionId); in getSuggestion() argument 71 void onSuggestionClicked(long suggestionId); in onSuggestionClicked() argument 79 void onSuggestionQueryRefineClicked(long suggestionId); in onSuggestionQueryRefineClicked() argument
|
D | SuggestionClickListener.java | 31 void onSuggestionClicked(SuggestionsAdapter<?> adapter, long suggestionId); in onSuggestionClicked() argument 40 void onSuggestionQueryRefineClicked(SuggestionsAdapter<?> adapter, long suggestionId); in onSuggestionQueryRefineClicked() argument
|
D | SuggestionsListAdapter.java | 46 public SuggestionPosition getSuggestion(long suggestionId) { in getSuggestion() argument 47 return new SuggestionPosition(getCurrentSuggestions(), (int) suggestionId); in getSuggestion()
|
D | BaseSuggestionView.java | 69 public void bindAdapter(SuggestionsAdapter<?> adapter, long suggestionId) { in bindAdapter() argument 71 mSuggestionId = suggestionId; in bindAdapter()
|
D | SearchActivityView.java | 367 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/ |
D | SuggestionEventStore.java | 68 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/ |
D | Logger.java | 48 void logSuggestionClick(long suggestionId, SuggestionCursor suggestionCursor, int clickType); in logSuggestionClick() argument
|