Searched refs:getTasks (Results 1 – 8 of 8) sorted by relevance
180 if (!getTasks().isEmpty()) { in run()234 getTasks().remove(task);283 getTasks().add(task);291 TaskQueue getTasks() {316 if (getTasks().isEmpty()) {320 NextTask nextTask = getTasks().getNextTask(READY_TOLERANCE_MILLISECONDS);356 return getTasks().toBundles();
92 public int getTasks(Consumer<ArrayList<Task>> callback) { in getTasks() method in RecentsModel93 return mTaskList.getTasks(false /* loadKeysOnly */, callback); in getTasks()119 mTaskList.getTasks(true /* loadKeysOnly */, (tasks) -> { in findTaskWithId()
83 public synchronized int getTasks(boolean loadKeysOnly, Consumer<ArrayList<Task>> callback) { in getTasks() method in RecentTasksList
83 mTaskListChangeId = mRecentsModel.getTasks(loadedTasks -> { in loadTaskList()
117 mRecentsModel.getTasks(null); in RecentsActivityCommand()
159 mRecentsModel.getTasks(null); in RecentsActivityCommand()
341 mRecentsModel.getTasks(null);
803 mTaskListChangeId = mModel.getTasks(this::applyLoadPlan); in reloadIfNeeded()874 mTaskListChangeId = mModel.getTasks(this::applyLoadPlan); in showCurrentTask()