Searched refs:NamedTaskExecutor (Results 1 – 16 of 16) sorted by relevance
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
D | PerNameExecutor.java | 25 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()
|
D | SingleThreadNamedTaskExecutor.java | 27 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()
|
D | BatchingNamedTaskExecutor.java | 29 public class BatchingNamedTaskExecutor implements NamedTaskExecutor { 34 private final NamedTaskExecutor mExecutor; 44 public BatchingNamedTaskExecutor(NamedTaskExecutor executor) { in BatchingNamedTaskExecutor()
|
D | NamedTaskExecutor.java | 22 public interface NamedTaskExecutor { interface
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
D | QsbApplication.java | 36 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() {
|
D | SuggestionsProviderImpl.java | 24 import com.android.quicksearchbox.util.NamedTaskExecutor; 40 private final NamedTaskExecutor mQueryExecutor; 47 NamedTaskExecutor queryExecutor, in SuggestionsProviderImpl()
|
D | AbstractSource.java | 19 import com.android.quicksearchbox.util.NamedTaskExecutor; 44 private final NamedTaskExecutor mIconLoaderExecutor; 46 public AbstractSource(Context context, Handler uiThread, NamedTaskExecutor iconLoader) { in AbstractSource()
|
D | PackageIconLoader.java | 21 import com.android.quicksearchbox.util.NamedTaskExecutor; 60 private final NamedTaskExecutor mIconLoaderExecutor; 71 NamedTaskExecutor iconLoaderExecutor) { in PackageIconLoader()
|
D | AbstractInternalSource.java | 18 import com.android.quicksearchbox.util.NamedTaskExecutor; 30 public AbstractInternalSource(Context context, Handler uiThread, NamedTaskExecutor iconLoader) { in AbstractInternalSource()
|
D | QueryTask.java | 22 import com.android.quicksearchbox.util.NamedTaskExecutor; 79 NamedTaskExecutor executor, Handler handler, in startQuery()
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/ |
D | MockNamedTaskExecutorFactory.java | 24 public class MockNamedTaskExecutorFactory implements Factory<NamedTaskExecutor> { 38 public NamedTaskExecutor create() { in create()
|
D | MockNamedTaskExecutor.java | 27 public class MockNamedTaskExecutor implements NamedTaskExecutor {
|
D | PerNameExecutorTest.java | 33 private NamedTaskExecutor mExecutor;
|
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/ |
D | PackageIconLoaderTest.java | 20 import com.android.quicksearchbox.util.NamedTaskExecutor; 54 NamedTaskExecutor executor = new SingleThreadNamedTaskExecutor( in create()
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/google/ |
D | AbstractGoogleSource.java | 29 import com.android.quicksearchbox.util.NamedTaskExecutor; 44 public AbstractGoogleSource(Context context, Handler uiThread, NamedTaskExecutor iconLoader) { in AbstractGoogleSource()
|
D | GoogleSuggestClient.java | 34 import com.android.quicksearchbox.util.NamedTaskExecutor; 66 NamedTaskExecutor iconLoader, Config config) { in GoogleSuggestClient()
|