Lines Matching refs:source
208 final SuggestionSource source = enabledSources.get(i); in orderSources() local
209 linkMap.put(source.getComponentName(), source); in orderSources() local
230 final SuggestionSource source = linkMap.remove(ranked); in orderSources() local
231 if (DBG) Log.d(TAG, "Adding promoted ranked source: (" + ranked + ") " + source); in orderSources()
232 sources.add(source, true); in orderSources()
238 SuggestionSource source = sourceIterator.next(); in orderSources() local
239 if (!allRanked.contains(source.getComponentName())) { in orderSources()
240 if (DBG) Log.d(TAG, "Adding unranked source: " + source); in orderSources()
244 sources.add(source, sourceLookup.isTrustedSource(source)); in orderSources()
252 final SuggestionSource source = linkMap.get(ranked); in orderSources() local
253 if (source != null) { in orderSources()
254 if (DBG) Log.d(TAG, "Adding ranked source: (" + ranked + ") " + source); in orderSources()
255 sources.add(source, sourceLookup.isTrustedSource(source)); in orderSources()
272 public void add(SuggestionSource source, boolean forcePromotable) { in add() argument
273 if (source == null) return; in add()
275 if (DBG) Log.d(TAG, " Promotable: " + source); in add()
276 mPromotableSources.add(source); in add()
278 if (DBG) Log.d(TAG, " Unpromotable: " + source); in add()
279 mUnpromotableSources.add(source); in add()