Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DLocalMergeAlbum.java39 private final MediaSet[] mSources; field in LocalMergeAlbum
53 mSources = sources; in LocalMergeAlbum()
56 for (MediaSet set : mSources) { in LocalMergeAlbum()
63 int supported = mSources.length == 0 ? 0 : MediaItem.SUPPORT_ALL; in updateData()
64 mFetcher = new FetchCache[mSources.length]; in updateData()
65 for (int i = 0, n = mSources.length; i < n; ++i) { in updateData()
66 mFetcher[i] = new FetchCache(mSources[i]); in updateData()
67 supported &= mSources[i].getSupportedOperations(); in updateData()
71 mIndex.put(0, new int[mSources.length]); in updateData()
72 mName = mSources.length == 0 ? "" : mSources[0].getName(); in updateData()
[all …]
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DMockSources.java29 private final HashMap<String, Source> mSources = new HashMap<String, Source>(); field in MockSources
32 mSources.put(source.getName(), source); in addSource()
36 return mSources.get(name); in getSource()
40 return mSources.values(); in getSources()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DSearchableSources.java48 private HashMap<String, Source> mSources; field in SearchableSources
89 return mSources.values(); in getSources()
93 return mSources.get(name); in getSource()
105 mSources = new HashMap<String,Source>(); in update()
136 mSources.put(source.getName(), source); in addSource()
DSearchableCorpora.java46 private Sources mSources; field in SearchableCorpora
65 mSources = sources; in SearchableCorpora()
107 return mSources.getSource(name); in getSource()
111 mSources.update(); in update()
113 Collection<Corpus> corpora = mCorpusFactory.createCorpora(mSources); in update()
DMultiSourceCorpus.java36 private final ArrayList<Source> mSources; field in MultiSourceCorpus
50 mSources = new ArrayList<Source>(); in MultiSourceCorpus()
59 mSources.add(source); in addSource()
66 return mSources; in getSources()
DQsbApplication.java55 private Sources mSources; field in QsbApplication
226 if (mSources == null) { in getSources()
227 mSources = createSources(); in getSources()
229 return mSources; in getSources()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DSources.java60 private HashMap<String, ContactsSource> mSources = Maps.newHashMap(); field in Sources
119 mSources.put(source.accountType, source); in addSource()
160 for (ContactsSource source : mSources.values()) { in invalidateCache()
170 for (ContactsSource source : mSources.values()) { in invalidateAllCache()
186 mSources.clear(); in queryAccounts()
279 final ContactsSource source = mSources.get(accountType); in getKindOrFallback()
303 ContactsSource source = mSources.get(accountType); in getInflatedSource()
/packages/apps/Browser/src/com/android/browser/
DSuggestionsAdapter.java69 List<CursorSource> mSources; field in SuggestionsAdapter
105 if (mSources == null) { in addSource()
106 mSources = new ArrayList<CursorSource>(5); in addSource()
108 mSources.add(c); in addSource()
284 for (CursorSource sc : mSources) { in performFiltering()
300 for (int i = 0; i < mSources.size(); i++) { in mixResults()
301 CursorSource s = mSources.get(i); in mixResults()