HomeSort by relevance Sort by last modified time
    Searched defs:shouldQueryCorpus (Results 1 - 3 of 3) sorted by null

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
ShouldQueryStrategy.java 51 public boolean shouldQueryCorpus(Corpus corpus, String query) {
SuggestionsProviderImpl.java 128 if (shouldQueryCorpus(corpus, query)) {
139 protected boolean shouldQueryCorpus(Corpus corpus, String query) {
144 return mShouldQueryStrategy.shouldQueryCorpus(corpus, query);
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
ShouldQueryStrategyTest.java 51 assertFalse(mShouldQuery.shouldQueryCorpus(CORPUS_1, "aa"));
52 assertTrue(mShouldQuery.shouldQueryCorpus(CORPUS_1, "aaa"));
53 assertTrue(mShouldQuery.shouldQueryCorpus(CORPUS_2, ""));
57 assertTrue(mShouldQuery.shouldQueryCorpus(CORPUS_2, "query"));
59 assertTrue(mShouldQuery.shouldQueryCorpus(CORPUS_2, "query"));
60 assertTrue(mShouldQuery.shouldQueryCorpus(CORPUS_2, "query123"));
64 assertTrue(mShouldQuery.shouldQueryCorpus(CORPUS_1, "query"));
67 assertFalse(mShouldQuery.shouldQueryCorpus(CORPUS_1, "queryx"));
68 assertFalse(mShouldQuery.shouldQueryCorpus(CORPUS_1, "queryxy"));
72 assertTrue(mShouldQuery.shouldQueryCorpus(CORPUS_1, "query"))
    [all...]

Completed in 338 milliseconds