Searched refs:mSources (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
D | LocalMergeAlbum.java | 39 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/ |
D | MockSources.java | 29 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/ |
D | SearchableSources.java | 48 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()
|
D | SearchableCorpora.java | 46 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()
|
D | MultiSourceCorpus.java | 36 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()
|
D | QsbApplication.java | 55 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/ |
D | Sources.java | 60 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/ |
D | SuggestionsAdapter.java | 69 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()
|