Home
last modified time | relevance | path

Searched refs:mSources (Results 1 – 8 of 8) sorted by relevance

/packages/apps/GlobalSearch/tests/src/com/android/globalsearch/
DSuggestionSourcesTest.java30 protected SuggestionSources mSources; field in SuggestionSourcesTest
36 mSources = new SuggestionSources(mContext); in setUp()
37 mSources.load(); in setUp()
41 assertNotEmpty(mSources.getSuggestionSources()); in testHasSuggestionSources()
45 assertNotEmpty(mSources.getEnabledSuggestionSources()); in testEnabledSuggestionSources()
49 assertNotNull(mSources.getSelectedWebSearchSource()); in testHasSelectedWebSearchSource()
DSimpleSourceLookup.java27 private final ArrayList<SuggestionSource> mSources; field in SimpleSourceLookup
31 mSources = sources; in SimpleSourceLookup()
36 for (SuggestionSource source : mSources) { in getSourceByComponentName()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSearchSettings.java66 private SuggestionSources mSources; field in SearchSettings
83 mSources = new SuggestionSources(this); in onCreate()
84 mSources.load(); in onCreate()
106 mSources.close(); in onDestroy()
205 for (SuggestionSource source : mSources.getSuggestionSources()) { in populateSourcePreference()
219 sourcePref.setKey(mSources.getSourceEnabledPreference(source)); in createSourcePreference()
220 sourcePref.setDefaultValue(mSources.isSourceDefaultEnabled(source)); in createSourcePreference()
DSessionManager.java75 mSources = sources; in SessionManager()
82 private final SuggestionSources mSources; field in SessionManager
112 final SuggestionSource webSearchSource = mSources.getSelectedWebSearchSource(); in createSession()
122 mSources.getEnabledSuggestionSources(), in createSession()
123 mSources, in createSession()
139 mSources, sources.mPromotableSources, sources.mUnpromotableSources, in createSession()
DSuggestionSources.java334 private ArrayList<SuggestionSource> mSources; field in SuggestionSources.SourceList
338 mSources = new ArrayList<SuggestionSource>(); in SourceList()
360 mSources.remove(old); in put()
362 mSources.add(source); in put()
370 return mSources; in values()
377 return mSources.isEmpty(); in isEmpty()
DSuggestionProvider.java71 private SuggestionSources mSources; field in SuggestionProvider
114 mSources = new SuggestionSources(getContext()); in onCreate()
115 mSources.load(); in onCreate()
133 mSources, ShortcutRepositoryImplLog.create(getContext()), in onCreate()
DQueryMultiplexer.java43 private final List<SuggestionSource> mSources; field in QueryMultiplexer
67 mSources = sources; in QueryMultiplexer()
72 mSentRequests = new ArrayList<SuggestionRequest>(mSources.size()); in QueryMultiplexer()
86 for (SuggestionSource source : mSources) { in sendQuery()
DSourceSuggestionBacker.java81 private final List<SuggestionSource> mSources; field in SourceSuggestionBacker
155 mSources = sources; in SourceSuggestionBacker()
252 mShowingMore = (pastDeadline || allPromotedResponded) && !mSources.isEmpty(); in snapshotSuggestionsInternal()
292 for (SuggestionSource source : mSources) { in snapshotSuggestionsInternal()