Searched refs:mQuery (Results 1 – 6 of 6) sorted by relevance
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | ShortcutLimitingPromoterTest.java | 31 private String mQuery; field in ShortcutLimitingPromoterTest 44 mQuery = "foo"; in setUp() 45 mS11 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_1"); in setUp() 46 mS12 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_2"); in setUp() 47 mS21 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_1"); in setUp() 48 mS22 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_2"); in setUp() 49 mWeb1 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_1"); in setUp() 50 mWeb2 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_2"); in setUp() 119 ListSuggestionCursor promoted = new ListSuggestionCursor(mQuery); in promote() 132 return new ListSuggestionCursor(mQuery, suggestions); in cursor()
|
D | SourceShortcutRefresherTest.java | 30 private final String mQuery = "foo"; field in SourceShortcutRefresherTest 73 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); in testRefreshNull() 84 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); in testRefreshEmpty() 95 ListSuggestionCursor shortcuts = new ListSuggestionCursor(mQuery, shortcut1); in testRefreshSuccess() 101 SuggestionCursorUtil.slice(mSource1.getSuggestions(mQuery, 1, true), 0, 1); in testRefreshSuccess() 124 return new ListSuggestionCursor(mQuery); in refreshShortcut() 126 SuggestionCursor suggestions = getSuggestions(mQuery, 1, true); in refreshShortcut()
|
D | ShortcutPromoterTest.java | 35 private String mQuery; field in ShortcutPromoterTest 45 mQuery = "foo"; in setUp() 47 mShortcuts = new MockShortcutRepository().getShortcutsForQuery(mQuery, null); in setUp() 50 mSuggestions.add(corpus.getSuggestions(mQuery, 10, false)); in setUp() 57 mQuery = null; in tearDown() 83 ListSuggestionCursor promoted = new ListSuggestionCursor(mQuery); in maxPromotedTestNoNext() 93 ListSuggestionCursor promoted = new ListSuggestionCursor(mQuery); in maxPromotedTestConcatNext()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | Suggestions.java | 43 private final String mQuery; field in Suggestions 83 mQuery = query; in Suggestions() 96 return mQuery; in getQuery() 185 Log.e(TAG, "LEAK! Finalized without being closed: Suggestions[" + mQuery + "]"); in finalize() 229 if (!mQuery.equals(corpusResult.getUserQuery())) { in addCorpusResults() 231 + mQuery + " != " + corpusResult.getUserQuery()); in addCorpusResults() 241 ListSuggestionCursor promoted = new ListSuggestionCursorNoDuplicates(mQuery); in updatePromoted() 255 mPromoted = new ListSuggestionCursor(mQuery); in updatePromoted()
|
D | QueryTask.java | 29 private final String mQuery; field in QueryTask 49 mQuery = query; in QueryTask() 62 final C cursor = mProvider.getSuggestions(mQuery, mQueryLimit, mTheOnlyOne); in run() 79 return mProvider + "[" + mQuery + "]"; in toString()
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
D | SourceLatency.java | 222 private String mQuery; field in SourceLatency.LiveSourceCheck 230 mQuery = query; in LiveSourceCheck() 237 cursor = getSuggestions(mSearchable, mQuery); in run() 242 + " for '" + mQuery + "'"); in run() 245 + " for '" + mQuery + "'"); in run()
|