Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java2289 final TaskRecord prevTask = prev != null ? prev.getTask() : null; in resumeTopActivityInnerLocked() local
2290 if (prevTask != null && prevTask.getStack() == this && in resumeTopActivityInnerLocked()
2291 prevTask.isOverHomeStack() && prev.finishing && prev.frontOfTask) { in resumeTopActivityInnerLocked()
2293 if (prevTask == nextTask) { in resumeTopActivityInnerLocked()
2294 prevTask.setFrontOfTask(); in resumeTopActivityInnerLocked()
2295 } else if (prevTask != topTask()) { in resumeTopActivityInnerLocked()
2298 final int taskNdx = mTaskHistory.indexOf(prevTask) + 1; in resumeTopActivityInnerLocked()
2920 TaskRecord prevTask = r.getTask(); in startActivityLocked() local
2921 ActivityRecord prev = prevTask.topRunningActivityWithStartingWindowLocked(); in startActivityLocked()
2925 if (prev.getTask() != prevTask) { in startActivityLocked()
[all …]
DActivityRecord.java961 final TaskRecord prevTask = task;
962 if (prevTask == newTask) {
970 if (prevTask != null && newTask != null && prevTask.getStack() != newTask.getStack()) {
973 + " r=" + this + " (" + prevTask.getStackId() + ")");
980 prevTask.removeActivity(this, true /*reparenting*/);