Lines Matching defs:tasks
813 // It is possible for multiple tasks to have the same root affinity especially
873 // Move userId's tasks to the top.
1463 ArrayList<TaskRecord> tasks = stack.mTaskHistory;
1464 int taskNdx = tasks.indexOf(task);
1472 tasks = historyStack.mTaskHistory;
1473 final int numTasks = tasks.size();
1475 final TaskRecord currentTask = tasks.get(taskNdx);
1782 // The visibility of tasks and the activities they contain in freeform stack are
1803 // We don't want any other tasks in the home stack visible if the recents
2573 // Put non-current user tasks below current user tasks.
2622 // Put non-current user tasks below current user tasks.
2640 // mLaunchTaskBehind tasks get placed at the back of the task stack.
2732 // existing activities from other tasks in to it.
3092 * for remaining tasks. Used for later tasks to reparent to task. */
3872 final int releaseSomeActivitiesLocked(ProcessRecord app, ArraySet<TaskRecord> tasks,
3874 // Iterate over tasks starting at the back (oldest) first.
3876 int maxTasks = tasks.size() / 4;
3883 if (!tasks.contains(task)) {
4218 // Sign is used to keep tasks sorted when persisted. Tasks sent to the bottom most
4219 // recently will be most negative, tasks sent to the bottom before that will be less
4220 // negative. Similarly for recent tasks moved to the top which will be most positive.
4323 // for *other* available tasks, but if none are available, then try again allowing the
5082 // interaction, so it should not remain on the recent tasks list.
5262 + " stackId=" + mStackId + ", " + mTaskHistory.size() + " tasks}";