Home
last modified time | relevance | path

Searched refs:newTask (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java516 void setTask(TaskRecord newTask, TaskRecord taskToAffiliateWith) {
518 if (task != newTask) {
522 (newTask == null ? null : newTask.stack));
525 task = newTask;
DActivityStackSupervisor.java1528 ActivityStack adjustStackFocus(ActivityRecord r, boolean newTask) { in adjustStackFocus() argument
1556 if (mFocusedStack != mHomeStack && (!newTask || in adjustStackFocus()
2055 boolean newTask = false; in startActivityUncheckedLocked()
2068 newTask = true; in startActivityUncheckedLocked()
2069 targetStack = adjustStackFocus(r, newTask); in startActivityUncheckedLocked()
2192 targetStack = adjustStackFocus(r, newTask); in startActivityUncheckedLocked()
2208 if (newTask) { in startActivityUncheckedLocked()
2213 targetStack.startActivityLocked(r, newTask, doResume, keepCurTransition, options); in startActivityUncheckedLocked()
DActivityStack.java1931 final void startActivityLocked(ActivityRecord r, boolean newTask, in startActivityLocked() argument
1936 if (!r.mLaunchTaskBehind && (taskForIdLocked(taskId) == null || newTask)) { in startActivityLocked()
1944 if (!newTask) { in startActivityLocked()
2005 boolean showStartingIcon = newTask; in startActivityLocked()
2019 mWindowManager.prepareAppTransition(newTask in startActivityLocked()
2031 if (newTask) { in startActivityLocked()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerService.java3701 Task newTask = mTaskIdToTask.get(groupId); in setAppGroupId() local
3702 if (newTask == null) { in setAppGroupId()
3703 newTask = createTask(groupId, oldTask.mStack.mStackId, oldTask.mUserId, atoken); in setAppGroupId()
3705 newTask.mAppTokens.add(atoken); in setAppGroupId()