OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mCorpora
(Results
1 - 8
of
8
) sorted by null
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
SearchableCorporaTest.java
31
protected SearchableCorpora
mCorpora
;
40
mCorpora
= new SearchableCorpora(mContext, sources, new MockCorpusFactory());
41
mCorpora
.update();
45
assertNotEmpty(
mCorpora
.getAllCorpora());
49
assertNotNull(
mCorpora
.getEnabledCorpora());
53
assertNotNull(
mCorpora
.getCorpusForSource(MockSource.SOURCE_1));
54
assertNotNull(
mCorpora
.getCorpusForSource(MockSource.SOURCE_2));
55
assertNull(
mCorpora
.getCorpusForSource(MockSource.SOURCE_3));
SuggestionsProviderImplTest.java
31
private MockCorpora
mCorpora
;
41
mCorpora
= new MockCorpora();
42
mCorpora
.addCorpus(MockCorpus.CORPUS_1);
43
mCorpora
.addCorpus(MockCorpus.CORPUS_2);
44
CorpusRanker corpusRanker = new LexicographicalCorpusRanker(
mCorpora
);
50
mCorpora
,
79
assertEquals(
mCorpora
.getEnabledCorpora().size(), suggestions.getExpectedResultCount());
ShortcutRepositoryTest.java
75
protected MockCorpora
mCorpora
;
94
return new ShortcutRepositoryImplLog(getContext(), mConfig,
mCorpora
,
104
mCorpora
= new MockCorpora();
105
mCorpora
.addCorpus(APP_CORPUS);
106
mCorpora
.addCorpus(CONTACTS_CORPUS);
111
mAllowedCorpora = new ArrayList<Corpus>(
mCorpora
.getAllCorpora());
637
mCorpora
.addCorpus(upgradedCorpus);
639
List<Corpus> newAllowedCorpora = new ArrayList<Corpus>(
mCorpora
.getAllCorpora());
668
mCorpora
.addCorpus(upgradedCorpus);
671
List<Corpus> newAllowedCorpora = new ArrayList<Corpus>(
mCorpora
.getAllCorpora())
[
all
...]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
AbstractCorpusRanker.java
32
private final Corpora
mCorpora
;
34
// Cached list of ranked corpora. Set to null when
mCorpora
changes.
38
mCorpora
= corpora;
39
mCorpora
.registerDataSetObserver(new CorporaObserver());
49
mRankedCorpora = Collections.unmodifiableList(rankCorpora(
mCorpora
));
QsbApplication.java
53
private Corpora
mCorpora
;
164
if (
mCorpora
== null) {
165
mCorpora
= createCorpora();
167
return
mCorpora
;
183
if (
mCorpora
!= null) {
184
mCorpora
.update();
RankAwarePromoter.java
34
private final Corpora
mCorpora
;
38
mCorpora
= corpora;
SuggestionsProviderImpl.java
56
private final Corpora
mCorpora
;
75
mCorpora
= corpora;
112
allowedCorpora =
mCorpora
.getEnabledCorpora();
ShortcutRepositoryImplLog.java
70
private final Corpora
mCorpora
;
99
mCorpora
= corpora;
521
Corpus corpus =
mCorpora
.getCorpusForSource(suggestion.getSuggestionSource());
[
all
...]
Completed in 197 milliseconds