Lines Matching defs:task

674      * waiting to receive all of the thumbnails for a task.
2235 r.task.stack.notifyActivityDrawnLocked(r);
2253 msg.obj = r.task.askedCompatMode ? null : r;
3184 final void addRecentTaskLocked(TaskRecord task) {
3186 // Quick case: check if the top-most recent task is the same.
3187 if (N > 0 && mRecentTasks.get(0) == task) {
3190 // Remove any existing entries that are the same kind of task.
3193 if (task.userId == tr.userId
3194 && ((task.affinity != null && task.affinity.equals(tr.affinity))
3195 || (task.intent != null && task.intent.filterEquals(tr.intent)))) {
3200 if (task.intent == null) {
3201 // If the new recent task we are adding is not fully
3202 // specified, then replace it with the existing recent task.
3203 task = tr;
3210 mRecentTasks.add(0, task);
3279 ActivityRecord next = r.task.stack.topRunningActivityLocked(token, 0);
3296 boolean res = r.task.stack.requestFinishActivityLocked(token, resultCode,
3325 r.task.stack.finishActivityLocked(r, Activity.RESULT_CANCELED,
3400 r.task.stack.finishSubActivityLocked(r, resultWho, requestCode);
3413 res = r.task.stack.finishActivityAffinityLocked(r);
5110 r.task.stack.activityStoppedLocked(r, icicle, thumbnail, description);
6793 Slog.w(TAG, "Now component for base intent of task: " + tr);
6827 killUnneededProcessLocked(pr, "remove task");
6829 pr.waitingToKill = "remove task";
6850 // Caller is just removing a recent task that is
6855 Slog.w(TAG, "removeTask: task " + taskId
6871 public void moveTaskToFront(int task, int flags, Bundle options) {
6875 if (DEBUG_STACK) Slog.d(TAG, "moveTaskToFront: moving task=" + task);
6884 mStackSupervisor.findTaskToMoveToFrontLocked(task, flags, options);
6900 if (DEBUG_STACK) Slog.d(TAG, "moveTaskToBack: moving task=" + tr);
6902 if (stack.mResumedActivity != null && stack.mResumedActivity.task == tr) {
6919 * Moves an activity, and all of the other activities within the same task, to the bottom
6920 * of the history stack. The activity's order within the task is unchanged.
6924 * of a task; if true it will work for any activity in a task.
6942 public void moveTaskBackwards(int task) {
6952 moveTaskBackwardsLocked(task);
6957 private final void moveTaskBackwardsLocked(int task) {
6987 Slog.e(TAG, "moveTaskToStack: Attempt to move task " + taskId + " to home stack",
6993 if (DEBUG_STACK) Slog.d(TAG, "moveTaskToStack: moving task=" + taskId + " to stackId="
7028 final TaskRecord task = tasks.get(i);
7029 taskIds[i] = task.taskId;
7030 taskNames[i] = task.origActivity != null ? task.origActivity.flattenToString()
7031 : task.realActivity != null ? task.realActivity.flattenToString()
7032 : task.getTopActivity() != null ? task.getTopActivity().packageName
7122 TaskRecord task;
7144 task = r.task;
7173 task != null ? task.taskId : -1, thumbnail, description);
8585 r.task.stack.convertToTranslucent(r);
11043 if (lastTask != r.task) {
11044 lastTask = r.task;
13940 return srec != null && srec.task.affinity != null &&
13941 srec.task.affinity.equals(destAffinity);