Home
last modified time | relevance | path

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

/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/ui/
DSuggestionsAdapterBase.kt87 @Override abstract override fun getSuggestion(suggestionId: Long): SuggestionPosition in getSuggestion()
121 suggestionId: Long, in getView()
128 (v as SuggestionView?)!!.bindAdapter(this, suggestionId) in getView()
130 val l = SuggestionViewClickListener(suggestionId) in getView()
173 override fun onSuggestionClicked(suggestionId: Long) { in onSuggestionClicked()
177 mSuggestionClickListener!!.onSuggestionClicked(this, suggestionId) in onSuggestionClicked()
182 override fun onSuggestionQueryRefineClicked(suggestionId: Long) { in onSuggestionQueryRefineClicked()
186 mSuggestionClickListener!!.onSuggestionQueryRefineClicked(this, suggestionId) in onSuggestionQueryRefineClicked()
DDelayingSuggestionsAdapter.kt117 override fun getSuggestion(suggestionId: Long): SuggestionPosition? { in getSuggestion()
118 return mDelayedAdapter.getSuggestion(suggestionId) in getSuggestion()
122 override fun onSuggestionClicked(suggestionId: Long) { in onSuggestionClicked()
123 mDelayedAdapter.onSuggestionClicked(suggestionId) in onSuggestionClicked()
127 override fun onSuggestionQueryRefineClicked(suggestionId: Long) { in onSuggestionQueryRefineClicked()
128 mDelayedAdapter.onSuggestionQueryRefineClicked(suggestionId) in onSuggestionQueryRefineClicked()
DSuggestionsAdapter.kt48 fun getSuggestion(suggestionId: Long): SuggestionPosition?
56 fun onSuggestionClicked(suggestionId: Long)
64 fun onSuggestionQueryRefineClicked(suggestionId: Long)
DSuggestionClickListener.kt28 fun onSuggestionClicked(adapter: SuggestionsAdapter<*>?, suggestionId: Long)
37 fun onSuggestionQueryRefineClicked(adapter: SuggestionsAdapter<*>?, suggestionId: Long)
DSuggestionsListAdapter.kt36 override fun getSuggestion(suggestionId: Long): SuggestionPosition { in getSuggestion()
37 return SuggestionPosition(currentSuggestions, suggestionId.toInt()) in getSuggestion()
DSearchActivityView.kt312 suggestionId: Long, in onSuggestionKeyDown()
323 adapter.onSuggestionClicked(suggestionId) in onSuggestionKeyDown()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DEventLogLogger.kt50 suggestionId: Long, in logSuggestionClick()
56 EventLogTags.writeQsbClick(suggestionId, suggestions, null, numChars, clickType) in logSuggestionClick()
DSearchActivity.kt448 override fun onSuggestionClicked(adapter: SuggestionsAdapter<*>?, suggestionId: Long) { in onSuggestionClicked()
449 launchSuggestion(adapter, suggestionId) in onSuggestionClicked()
455 suggestionId: Long in onSuggestionQueryRefineClicked()
457 refineSuggestion(adapter, suggestionId) in onSuggestionQueryRefineClicked()
DLogger.kt35 fun logSuggestionClick(suggestionId: Long, suggestionCursor: SuggestionCursor?, clickType: Int) in logStart()