Home
last modified time | relevance | path

Searched refs:oldTask (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTransitionTests.java73 final Task oldTask = createTask(mDisplayContent); in testCreateInfo_NewTask() local
74 final ActivityRecord closing = createActivityRecord(oldTask); in testCreateInfo_NewTask()
78 changes.put(oldTask, new Transition.ChangeInfo(true /* vis */, true /* exChg */)); in testCreateInfo_NewTask()
90 participants.add(oldTask); in testCreateInfo_NewTask()
104 assertNotNull(info.getChange(oldTask.mRemoteToken.toWindowContainerToken())); in testCreateInfo_NewTask()
112 assertNotNull(info.getChange(oldTask.mRemoteToken.toWindowContainerToken())); in testCreateInfo_NewTask()
115 participants.remove(oldTask); in testCreateInfo_NewTask()
120 assertNotNull(info.getChange(oldTask.mRemoteToken.toWindowContainerToken())); in testCreateInfo_NewTask()
132 final Task oldTask = createTask(mDisplayContent); in testCreateInfo_NestedTasks() local
133 final ActivityRecord closing = createActivityRecord(oldTask); in testCreateInfo_NestedTasks()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityRecord.java1302 final Task oldTask = oldParent != null ? (Task) oldParent : null; in onParentChanged() local
1309 if (oldTask != null) { in onParentChanged()
1310 mAtmService.notifyTaskPersisterLocked(oldTask, false); in onParentChanged()
1341 } else if (oldTask != null && oldTask.getRootTask() != null) { in onParentChanged()
1361 if (oldTask != null) { in onParentChanged()
1362 oldTask.cleanUpActivityReferences(this); in onParentChanged()