OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MAX_PROMOTED_SUGGESTIONS
(Results
1 - 2
of
2
) sorted by null
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
RankAwarePromoterTest.java
32
public static final int
MAX_PROMOTED_SUGGESTIONS
= 8;
53
mPromoter.promoteSuggestions(suggestions,
MAX_PROMOTED_SUGGESTIONS
, promoted);
77
mPromoter.promoteSuggestions(suggestions,
MAX_PROMOTED_SUGGESTIONS
, promoted);
98
assertEquals(
MAX_PROMOTED_SUGGESTIONS
, promoted.getCount());
115
getSuggestions(TEST_QUERY,
MAX_PROMOTED_SUGGESTIONS
/ 2, true);
119
mPromoter.promoteSuggestions(suggestions,
MAX_PROMOTED_SUGGESTIONS
, promoted);
120
assertEquals(
MAX_PROMOTED_SUGGESTIONS
, promoted.getCount());
ResultPromoterTest.java
34
private static final int
MAX_PROMOTED_SUGGESTIONS
= 10;
92
promoter.promoteShortcuts(shortcuts,
MAX_PROMOTED_SUGGESTIONS
, promoted);
100
promoter.promoteSuggestions(suggestions,
MAX_PROMOTED_SUGGESTIONS
, promoted);
Completed in 47 milliseconds