Searched refs:getTasks (Results 1 – 10 of 10) 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();
109 final List<UiObject2> taskViews = getTasks(); in getCurrentTask()123 private List<UiObject2> getTasks() { in getTasks() method in BaseOverview136 return getTasks().size() > 0; in hasTasks()
98 public int getTasks(Consumer<ArrayList<Task>> callback) { in getTasks() method in RecentsModel99 return mTaskList.getTasks(false /* loadKeysOnly */, callback); in getTasks()123 mTaskList.getTasks(true /* loadKeysOnly */, (tasks) -> { in isTaskRemoved()
96 public synchronized int getTasks(boolean loadKeysOnly, Consumer<ArrayList<Task>> callback) { in getTasks() method in RecentTasksList
1777 RecentsModel.INSTANCE.get(mContext).getTasks(null);
47 List<RunningTaskInfo> getTasks(int maxNum) throws RemoteException; in getTasks() method55 public List<RunningTaskInfo> getTasks(int num) throws RemoteException { in getTasks() method in ActivityTaskManager.ActivityTaskManagerStub
40 public List<RunningTaskInfo> getTasks(int maxNum) throws RemoteException { in getTasks() method in ActivityTaskManagerImpl41 return mActivityTaskManager.getTasks(maxNum); in getTasks()
192 ActivityTaskManager.getService().getTasks(1); in showCurrentTask()
282 mActivityTaskManager.getTasks(1); in getButtonClickListener()
1677 mTaskListChangeId = mModel.getTasks(this::applyLoadPlan); in reloadIfNeeded()1850 mTaskListChangeId = mModel.getTasks(this::applyLoadPlan); in showCurrentTask()