Searched refs:NamedTask (Results 1 – 9 of 9) sorted by relevance
37 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()
32 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()
22 public interface NamedTask extends Runnable { interface
29 void execute(NamedTask task); in execute()
51 public synchronized void execute(NamedTask task) { in execute()
21 import com.android.quicksearchbox.util.NamedTask;30 public class QueryTask<C extends SuggestionCursor> implements NamedTask {
20 import com.android.quicksearchbox.util.NamedTask;224 private class IconLaterTask extends CachedLater<Drawable> implements NamedTask {
31 public void execute(NamedTask task) { in execute()
24 public class MockTask implements NamedTask {