Home
last modified time | relevance | path

Searched refs:topTask (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DAlternateRecentsComponent.java276 ActivityManager.RunningTaskInfo topTask = mSystemServicesProxy.getTopMostTask(); in hideRecents() local
277 if (topTask != null && mSystemServicesProxy.isRecentsTopMost(topTask, null)) { in hideRecents()
495 ActivityManager.RunningTaskInfo topTask = mSystemServicesProxy.getTopMostTask(); in toggleRecentsActivity() local
497 if (topTask != null && mSystemServicesProxy.isRecentsTopMost(topTask, isTopTaskHome)) { in toggleRecentsActivity()
505 startRecentsActivity(topTask, isTopTaskHome.get()); in toggleRecentsActivity()
512 ActivityManager.RunningTaskInfo topTask = mSystemServicesProxy.getTopMostTask(); in startRecentsActivity() local
514 if (topTask == null || !mSystemServicesProxy.isRecentsTopMost(topTask, isTopTaskHome)) { in startRecentsActivity()
515 startRecentsActivity(topTask, isTopTaskHome.get()); in startRecentsActivity()
550 ActivityOptions getThumbnailTransitionActivityOptions(ActivityManager.RunningTaskInfo topTask, in getThumbnailTransitionActivityOptions() argument
555 topTask.id, toTask); in getThumbnailTransitionActivityOptions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DSystemServicesProxy.java232 public boolean isRecentsTopMost(ActivityManager.RunningTaskInfo topTask, in isRecentsTopMost() argument
234 if (topTask != null) { in isRecentsTopMost()
235 ComponentName topActivity = topTask.topActivity; in isRecentsTopMost()
247 isHomeTopMost.set(isInHomeStack(topTask.id)); in isRecentsTopMost()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java430 final TaskRecord topTask() { in topTask() method in ActivityStack
483 final TaskRecord task = topTask(); in moveToFront()
1523 } else if (prevTask != topTask()) { in resumeTopActivityInnerLocked()
1904 if (!isHomeStack() && (fromHome || topTask() != task)) { in insertTaskAtTop()
1906 ? lastStack.topTask() == null in insertTaskAtTop()
1908 : lastStack.topTask().taskType in insertTaskAtTop()
2473 if (r.frontOfTask && task == topTask() && task.isOverHomeStack()) { in adjustFocusedActivityLocked()
3034 if (mStackSupervisor.isFrontStack(this) && task == topTask() && in removeActivityFromHistoryLocked()
DActivityStackSupervisor.java1862 curTop.task != lastStack.topTask())) { in startActivityUncheckedLocked()
2101 final TaskRecord topTask = targetStack.topTask(); in startActivityUncheckedLocked() local
2102 if (topTask != sourceTask) { in startActivityUncheckedLocked()
3037 TaskRecord task = stack.topTask(); in switchUserLocked()
3051 TaskRecord task = stack.topTask(); in switchUserLocked()
DActivityManagerService.java8793 || (task != mStackSupervisor.getFocusedStack().topTask()))) {