OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:promoter
(Results
1 - 7
of
7
) sorted by null
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
ResultPromoterTest.java
90
ShortcutPromoter
promoter
= createResultPromoter();
local
92
promoter
.promoteShortcuts(shortcuts, MAX_PROMOTED_SUGGESTIONS, promoted);
98
RankAwarePromoter
promoter
= new RankAwarePromoter(config(), results, null);
local
100
promoter
.promoteSuggestions(suggestions, MAX_PROMOTED_SUGGESTIONS, promoted);
WebPromoterTest.java
102
WebPromoter
promoter
= new WebPromoter(maxShortcuts);
local
104
promoter
.pickPromoted(suggestions, maxSuggestions, promoted);
BlendingPromoterTest.java
135
ShortcutPromoter
promoter
= new ShortcutPromoter(config,
local
138
promoter
.promoteShortcuts(shortcuts, maxPromoted, promoted);
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ui/
SuggestionsAdapter.java
18
import com.android.quicksearchbox.
Promoter
;
41
* Sets the suggestion
promoter
.
43
void setPromoter(
Promoter
promoter
);
DelayingSuggestionsAdapter.java
20
import com.android.quicksearchbox.
Promoter
;
178
public void setPromoter(
Promoter
promoter
) {
179
mDelayedAdapter.setPromoter(
promoter
);
SuggestionsAdapterBase.java
18
import com.android.quicksearchbox.
Promoter
;
42
private
Promoter
mPromoter;
89
public void setPromoter(
Promoter
promoter
) {
90
mPromoter =
promoter
;
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
Suggestions.java
302
public SuggestionCursor getPromoted(
Promoter
promoter
, int maxPromoted) {
303
SuggestionCursor promoted = buildPromoted(
promoter
, maxPromoted);
308
protected SuggestionCursor buildPromoted(
Promoter
promoter
, int maxPromoted) {
310
if (
promoter
== null) {
313
promoter
.pickPromoted(this, maxPromoted, promoted);
Completed in 1357 milliseconds