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();
97 public int getTasks(Consumer<ArrayList<Task>> callback) { in getTasks() method in RecentsModel98 return mTaskList.getTasks(false /* loadKeysOnly */, callback); in getTasks()124 mTaskList.getTasks(true /* loadKeysOnly */, (tasks) -> { in findTaskWithId()
86 public synchronized int getTasks(boolean loadKeysOnly, Consumer<ArrayList<Task>> callback) { in getTasks() method in RecentTasksList
83 mTaskListChangeId = mRecentsModel.getTasks(loadedTasks -> { in loadTaskList()
114 mRecentsModel.getTasks(null); in RecentsActivityCommand()
159 mRecentsModel.getTasks(null); in RecentsActivityCommand()
338 mRecentsModel.getTasks(null); in initWhenReady()
827 mTaskListChangeId = mModel.getTasks(this::applyLoadPlan); in reloadIfNeeded()900 mTaskListChangeId = mModel.getTasks(this::applyLoadPlan); in showCurrentTask()