Home
last modified time | relevance | path

Searched refs:NamedTaskExecutor (Results 1 – 16 of 16) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DPerNameExecutor.java25 public class PerNameExecutor implements NamedTaskExecutor {
27 private final Factory<NamedTaskExecutor> mExecutorFactory;
28 private HashMap<String, NamedTaskExecutor> mExecutors;
33 public PerNameExecutor(Factory<NamedTaskExecutor> executorFactory) { in PerNameExecutor()
39 for (NamedTaskExecutor executor : mExecutors.values()) { in cancelPendingTasks()
46 for (NamedTaskExecutor executor : mExecutors.values()) { in close()
53 mExecutors = new HashMap<String, NamedTaskExecutor>(); in execute()
56 NamedTaskExecutor executor = mExecutors.get(name); in execute()
DSingleThreadNamedTaskExecutor.java27 public class SingleThreadNamedTaskExecutor implements NamedTaskExecutor {
94 public static Factory<NamedTaskExecutor> factory(final ThreadFactory threadFactory) { in factory()
95 return new Factory<NamedTaskExecutor>() { in factory()
96 public NamedTaskExecutor create() { in factory()
DBatchingNamedTaskExecutor.java29 public class BatchingNamedTaskExecutor implements NamedTaskExecutor {
34 private final NamedTaskExecutor mExecutor;
44 public BatchingNamedTaskExecutor(NamedTaskExecutor executor) { in BatchingNamedTaskExecutor()
DNamedTaskExecutor.java22 public interface NamedTaskExecutor { interface
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQsbApplication.java36 import com.android.quicksearchbox.util.NamedTaskExecutor;
53 private NamedTaskExecutor mSourceTaskExecutor;
62 private NamedTaskExecutor mIconLoaderExecutor;
132 public synchronized NamedTaskExecutor getIconLoaderExecutor() { in getIconLoaderExecutor()
139 protected NamedTaskExecutor createIconLoaderExecutor() { in createIconLoaderExecutor()
193 public NamedTaskExecutor getSourceTaskExecutor() {
201 protected NamedTaskExecutor createSourceTaskExecutor() {
DSuggestionsProviderImpl.java24 import com.android.quicksearchbox.util.NamedTaskExecutor;
40 private final NamedTaskExecutor mQueryExecutor;
47 NamedTaskExecutor queryExecutor, in SuggestionsProviderImpl()
DAbstractSource.java19 import com.android.quicksearchbox.util.NamedTaskExecutor;
44 private final NamedTaskExecutor mIconLoaderExecutor;
46 public AbstractSource(Context context, Handler uiThread, NamedTaskExecutor iconLoader) { in AbstractSource()
DPackageIconLoader.java21 import com.android.quicksearchbox.util.NamedTaskExecutor;
60 private final NamedTaskExecutor mIconLoaderExecutor;
71 NamedTaskExecutor iconLoaderExecutor) { in PackageIconLoader()
DAbstractInternalSource.java18 import com.android.quicksearchbox.util.NamedTaskExecutor;
30 public AbstractInternalSource(Context context, Handler uiThread, NamedTaskExecutor iconLoader) { in AbstractInternalSource()
DQueryTask.java22 import com.android.quicksearchbox.util.NamedTaskExecutor;
79 NamedTaskExecutor executor, Handler handler, in startQuery()
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockNamedTaskExecutorFactory.java24 public class MockNamedTaskExecutorFactory implements Factory<NamedTaskExecutor> {
38 public NamedTaskExecutor create() { in create()
DMockNamedTaskExecutor.java27 public class MockNamedTaskExecutor implements NamedTaskExecutor {
DPerNameExecutorTest.java33 private NamedTaskExecutor mExecutor;
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/
DPackageIconLoaderTest.java20 import com.android.quicksearchbox.util.NamedTaskExecutor;
54 NamedTaskExecutor executor = new SingleThreadNamedTaskExecutor( in create()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/
DAbstractGoogleSource.java29 import com.android.quicksearchbox.util.NamedTaskExecutor;
44 public AbstractGoogleSource(Context context, Handler uiThread, NamedTaskExecutor iconLoader) { in AbstractGoogleSource()
DGoogleSuggestClient.java34 import com.android.quicksearchbox.util.NamedTaskExecutor;
66 NamedTaskExecutor iconLoader, Config config) { in GoogleSuggestClient()