Home
last modified time | relevance | path

Searched refs:NamedTask (Results 1 – 9 of 9) sorted by relevance

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DBatchingNamedTaskExecutor.java37 private final ArrayList<NamedTask> mQueuedTasks = new ArrayList<NamedTask>();
48 public void execute(NamedTask task) { in execute()
55 private void dispatch(NamedTask task) { in dispatch()
65 NamedTask[] batch = new NamedTask[0]; in executeNextBatch()
68 List<NamedTask> nextTasks = mQueuedTasks.subList(0, count); in executeNextBatch()
74 for (NamedTask task : batch) { in executeNextBatch()
DSingleThreadNamedTaskExecutor.java32 private final LinkedBlockingQueue<NamedTask> mQueue;
37 mQueue = new LinkedBlockingQueue<NamedTask>(); in SingleThreadNamedTaskExecutor()
56 public void execute(NamedTask task) { in execute()
76 NamedTask task; in loop()
DNamedTask.java22 public interface NamedTask extends Runnable { interface
DNamedTaskExecutor.java29 void execute(NamedTask task); in execute()
DPerNameExecutor.java51 public synchronized void execute(NamedTask task) { in execute()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DQueryTask.java21 import com.android.quicksearchbox.util.NamedTask;
30 public class QueryTask<C extends SuggestionCursor> implements NamedTask {
DPackageIconLoader.java20 import com.android.quicksearchbox.util.NamedTask;
224 private class IconLaterTask extends CachedLater<Drawable> implements NamedTask {
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
DMockNamedTaskExecutor.java31 public void execute(NamedTask task) { in execute()
DMockTask.java24 public class MockTask implements NamedTask {