/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | ResultPromoterTest.java | 36 private String mQuery; field in ResultPromoterTest 54 mQuery = "foo"; in setUp() 55 mS11 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_1"); in setUp() 56 mS12 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_2"); in setUp() 57 mS21 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_1"); in setUp() 58 mS22 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_2"); in setUp() 59 mWeb1 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_1"); in setUp() 60 mWeb2 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_2"); in setUp() 62 mCorpusResult1 = MockCorpus.CORPUS_1.getSuggestions(mQuery, 10, false); in setUp() 63 mCorpusResult2 = MockCorpus.CORPUS_2.getSuggestions(mQuery, 10, false); in setUp() [all …]
|
D | WebPromoterTest.java | 36 private String mQuery; field in WebPromoterTest 55 mQuery = "foo"; in setUp() 56 mS11 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_1"); in setUp() 57 mS12 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_2"); in setUp() 58 mS21 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_1"); in setUp() 59 mS22 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_2"); in setUp() 60 mWeb1 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_1"); in setUp() 61 mWeb2 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_2"); in setUp() 63 mCorpusResult1 = MockCorpus.CORPUS_1.getSuggestions(mQuery, 10, false); in setUp() 64 mCorpusResult2 = MockCorpus.CORPUS_2.getSuggestions(mQuery, 10, false); in setUp() [all …]
|
D | BlendingPromoterTest.java | 30 private String mQuery; field in BlendingPromoterTest 41 mQuery = "foo"; in setUp() 42 mS11 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_1"); in setUp() 43 mS12 = MockSource.SOURCE_1.createSuggestion(mQuery + "_1_2"); in setUp() 44 mS21 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_1"); in setUp() 45 mS22 = MockSource.SOURCE_2.createSuggestion(mQuery + "_1_2"); in setUp() 46 mWeb1 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_1"); in setUp() 47 mWeb2 = MockSource.WEB_SOURCE.createSuggestion(mQuery + "_web_2"); in setUp() 137 ListSuggestionCursorNoDuplicates promoted = new ListSuggestionCursorNoDuplicates(mQuery); in promote() 161 return new ListSuggestionCursor(mQuery, suggestions);
|
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()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | Suggestions.java | 41 protected final String mQuery; field in Suggestions 72 mQuery = query; in Suggestions() 149 if (!mQuery.equals(shortcuts.getUserQuery())) { in setShortcuts() 151 + mQuery + " != " + shortcuts.getUserQuery()); in setShortcuts() 204 if (!mQuery.equals(corpusResult.getUserQuery())) { in addCorpusResults() 206 + mQuery + " != " + corpusResult.getUserQuery()); in addCorpusResults() 299 return mQuery; in getQuery() 309 ListSuggestionCursor promoted = new ListSuggestionCursorNoDuplicates(mQuery); in buildPromoted()
|
D | QueryTask.java | 34 private final String mQuery; field in QueryTask 54 mQuery = query; in QueryTask() 67 final C cursor = mProvider.getSuggestions(mQuery, mQueryLimit, mTheOnlyOne); in run() 74 return mProvider + "[" + mQuery + "]"; in toString()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | SearchActivity.java | 73 private String mQuery; field in SearchActivity 228 mQuery = searchQuery; in search() 230 mSearchView.setQuery(mQuery, false); in search() 269 mSearchView.setQuery(mQuery, false); in onCreateOptionsMenu() 320 outState.putString(BUNDLE_KEY_RESTORE_SEARCH_QUERY, mQuery); in onSaveInstanceState() 372 mQuery = query; in onQueryTextSubmit()
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaFragment.java | 66 private String mQuery; field in AgendaFragment 225 mAgendaListView.goTo(mLastHandledEventTime, mLastHandledEventId, mQuery, true, false); in onResume() 229 mAgendaListView.goTo(mTime, -1, mQuery, true, false); in onResume() 328 mAgendaListView.goTo(mTime, event.id, mQuery, false, in goTo() 339 mQuery = query; in search() 347 mAgendaListView.goTo(time, -1, mQuery, true, false); in search()
|
/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()
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialNameMatcher.java | 37 private final String mQuery; field in SmartDialNameMatcher 421 mQuery = query; in SmartDialNameMatcher() 711 return matchesCombination(displayName, mQuery, mMatchPositions); in matches() 721 return mQuery; in getQuery()
|
D | SmartDialLoaderTask.java | 59 private final String mQuery; field in SmartDialLoaderTask 73 this.mQuery = query; in SmartDialLoaderTask() 84 mCallback.setSmartDialAdapterEntries(result, mQuery); in onPostExecute()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | MessagesAdapter.java | 81 private String mQuery; field in MessagesAdapter 167 mQuery = query; in setQuery() 221 if (mQuery != null && itemView.mSnippet != null) { in bindView() 223 TextUtilities.highlightTermsInText(cursor.getString(COLUMN_SNIPPET), mQuery); in bindView()
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
D | Search.java | 152 private final String mQuery; field in Search.SearchParser 159 mQuery = query; in SearchParser() 249 msg.mHtml = TextUtilities.highlightTermsInHtml(msg.mHtml, mQuery); in parseResult()
|
/packages/apps/Mms/src/com/android/mms/ |
D | SuggestionsProvider.java | 94 String mQuery; field in SuggestionsProvider.SuggestionsCursor 98 mQuery = query; in SuggestionsCursor()
|