OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mShortcuts
(Results
1 - 4
of
4
) sorted by null
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
ShortcutPromoterTest.java
35
private SuggestionCursor
mShortcuts
;
45
mShortcuts
= new MockShortcutRepository().getShortcutsForQuery(mQuery, corpora, 8);
56
mShortcuts
.close();
80
int expectedCount = Math.min(maxPromoted,
mShortcuts
.getCount());
82
promoter.pickPromoted(
mShortcuts
, mSuggestions, maxPromoted, promoted);
84
for (int i = 0; i < Math.min(maxPromoted,
mShortcuts
.getCount()); i++) {
86
new SuggestionPosition(
mShortcuts
, i));
92
int expectedCount = Math.min(maxPromoted,
mShortcuts
.getCount() + mSuggestionCount);
94
promoter.pickPromoted(
mShortcuts
, mSuggestions, maxPromoted, promoted);
96
for (int i = 0; i < Math.min(maxPromoted,
mShortcuts
.getCount()); i++)
[
all
...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
Suggestions.java
57
private SuggestionCursor
mShortcuts
;
152
if (
mShortcuts
!= null) {
153
mShortcuts
.close();
154
mShortcuts
= null;
190
mShortcuts
= shortcuts;
192
mShortcuts
.registerDataSetObserver(mShortcutsObserver);
219
mPromoter.pickPromoted(
mShortcuts
, mCorpusResults, mMaxPromoted, mPromoted);
ShortcutCursor.java
32
//
mShortcuts
is used to close the underlying cursor when we're closed.
33
private final CursorBackedSuggestionCursor
mShortcuts
;
42
mShortcuts
= shortcuts;
94
mShortcuts
.close();
DefaultCorpusRanker.java
33
private final ShortcutRepository
mShortcuts
;
37
mShortcuts
= shortcuts;
84
Map<String,Integer> clickScores =
mShortcuts
.getCorpusScores();
Completed in 477 milliseconds