HomeSort by relevance Sort by last modified time
    Searched full:corpusresult (Results 1 - 18 of 18) sorted by null

  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
Suggestions.java 55 private final ArrayList<CorpusResult> mCorpusResults;
79 mCorpusResults = new ArrayList<CorpusResult>(mExpectedCorpusCount);
128 for (CorpusResult result : mCorpusResults) {
156 for (CorpusResult result : mCorpusResults) {
200 public void addCorpusResult(CorpusResult corpusResult) {
202 corpusResult.close();
205 if (!mQuery.equals(corpusResult.getUserQuery())) {
207 + mQuery + " != " + corpusResult.getUserQuery());
209 mCorpusResults.add(corpusResult);
    [all...]
RankAwarePromoter.java 41 public void pickPromoted(SuggestionCursor shortcuts, ArrayList<CorpusResult> suggestions,
47 LinkedList<CorpusResult> defaultResults = new LinkedList<CorpusResult>();
48 LinkedList<CorpusResult> otherResults = new LinkedList<CorpusResult>();
49 for (CorpusResult result : suggestions) {
102 private int roundRobin(LinkedList<CorpusResult> results, int maxPromoted, int stripeSize,
106 for (Iterator<CorpusResult> iter = results.iterator();
108 CorpusResult result = iter.next();
SingleSourceCorpusResult.java 21 * A CorpusResult backed by a single SourceResult.
23 public class SingleSourceCorpusResult extends SuggestionCursorWrapper implements CorpusResult {
CorpusResult.java 23 public interface CorpusResult extends SuggestionCursor {
Promoter.java 36 ArrayList<CorpusResult> suggestions, int maxPromoted,
MultiSourceCorpus.java 83 public CorpusResult getSuggestions(String query, int queryLimit) {
106 protected class Result extends ListSuggestionCursor implements CorpusResult {
Corpus.java 33 public interface Corpus extends SuggestionCursorProvider<CorpusResult> {
RoundRobinPromoter.java 39 ArrayList<CorpusResult> suggestions, int maxPromoted,
ShortcutPromoter.java 47 ArrayList<CorpusResult> suggestions, int maxPromoted,
SuggestionsProviderImpl.java 117 private void updateShouldQueryStrategy(CorpusResult cursor) {
172 private class SuggestionCursorReceiver implements Consumer<CorpusResult> {
185 public boolean consume(CorpusResult cursor) {
Logger.java 76 void logLatency(CorpusResult result);
SingleSourceCorpus.java 66 public CorpusResult getSuggestions(String query, int queryLimit) {
EventLogLogger.java 105 public void logLatency(CorpusResult result) {
  /packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
RankAwarePromoterTest.java 47 ArrayList<CorpusResult> suggestions = getSuggestions(TEST_QUERY);
71 private ArrayList<CorpusResult> getSuggestions(String query) {
72 ArrayList<CorpusResult> suggestions = new ArrayList<CorpusResult>();
ShortcutPromoterTest.java 37 private ArrayList<CorpusResult> mSuggestions;
46 mSuggestions = new ArrayList<CorpusResult>();
106 private static int countSuggestions(ArrayList<CorpusResult> suggestions) {
MockCorpus.java 90 public CorpusResult getSuggestions(String query, int queryLimit) {
108 private class Result extends SuggestionCursorWrapper implements CorpusResult {
ConcatPromoter.java 29 ArrayList<CorpusResult> suggestions, int maxPromoted,
MultiSourceCorpusTest.java 59 CorpusResult observed = mCorpus.getSuggestions("foo", 50);

Completed in 1263 milliseconds