Home
last modified time | relevance | path

Searched refs:getTopActivity (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DRecentsAnimation.java174 mTargetActivityType).getTopActivity(); in startRecentsActivity()
247 ? targetStack.getTopActivity() in finishAnimation()
369 return task.getTopActivity(); in getTargetActivity()
372 return targetStack.getTopActivity(); in getTargetActivity()
DActivityStarter.java1371 final ActivityRecord topFocused = topStack.getTopActivity(); in startActivityUnchecked()
1591 final ActivityRecord top = task != null ? task.getTopActivity() : null; in setInitialState()
1788 intentActivity = task != null ? task.getTopActivity() : null; in getReusableIntentActivity()
1868 if (mSourceRecord == null || (mSourceStack.getTopActivity() != null && in setTargetStackAndMoveToFrontIfNeeded()
1869 mSourceStack.getTopActivity().getTask() == mSourceRecord.getTask())) { in setTargetStackAndMoveToFrontIfNeeded()
2198 ActivityRecord top = mInTask.getTopActivity(); in setTaskFromInTask()
2265 final ActivityRecord prev = mTargetStack.getTopActivity(); in setTaskToCurrentTopOrCreateNewTask()
DActivityStack.java568 final ActivityRecord topActivity = getTopActivity(); in setWindowingMode()
905 ActivityRecord getTopActivity() { in getTopActivity() method in ActivityStack
907 final ActivityRecord r = mTaskHistory.get(taskNdx).getTopActivity(); in getTopActivity()
1121 final ActivityRecord r = task.getTopActivity(false /* includeOverlays */); in findTaskLocked()
1722 final ActivityRecord topActivity = getTopActivity(); in isTopActivityVisible()
2876 if (task.getTopActivity() == null) { in startActivityLocked()
3320 taskTop = mTaskHistory.get(taskNdx--).getTopActivity(); in resetTaskIfNeededLocked()
4564 final ActivityRecord topActivity = topStack != null ? topStack.getTopActivity() : null; in moveTaskToFrontLocked()
4595 final ActivityRecord top = tr.getTopActivity(); in moveTaskToFrontLocked()
4941 if (task.getTopActivity() == null) { in getRunningTasks()
DRecentTasks.java589 if (task.autoRemoveRecents && task.getTopActivity() == null) { in cleanupLocked()
781 if (tr.autoRemoveRecents && tr.getTopActivity() == null) { in getRecentTasks()
1526 rti.id = tr.getTopActivity() == null ? INVALID_TASK_ID : tr.taskId; in createRecentTaskInfo()
DActivityStackSupervisor.java879 final ActivityRecord activityRecord = task.getTopActivity(); in taskTopActivityIsUser()
2328 final ActivityRecord r = task.getTopActivity(); in findTaskToMoveToFront()
3676 final ActivityRecord top = stack.getTopActivity(); in handleLaunchTaskBehindCompleteLocked()
4433 : task.getTopActivity() != null ? task.getTopActivity().packageName in getStackInfo()
4526 final ActivityRecord topActivity = task.getTopActivity(); in handleNonResizableTaskIfNeeded()
4821 final ActivityRecord targetActivity = task.getTopActivity(); in startActivityFromRecents()
4834 task.getTopActivity(), ActivityManager.START_TASK_TO_FRONT, in startActivityFromRecents()
4888 final ActivityRecord top = stack.getTopActivity(); in getTopVisibleActivities()
DTaskRecord.java632 final ActivityRecord topActivity = getTopActivity(); in reparent()
1047 ActivityRecord getTopActivity() { in getTopActivity() method in TaskRecord
1048 return getTopActivity(true /* includeOverlays */); in getTopActivity()
1051 ActivityRecord getTopActivity(boolean includeOverlays) { in getTopActivity() method in TaskRecord
DLockTaskController.java229 && activity == task.getTopActivity() in activityBlockedFromFinish()
DActivityManagerService.java5373 ActivityRecord activity = getFocusedStack().getTopActivity(); in startLocalVoiceInteraction()
11127 final ActivityRecord topActivity = task.getTopActivity();
13977 final ActivityRecord activity = focusedStack.getTopActivity(); in isAssistDataAllowedOnCurrentActivity()
13992 ActivityRecord top = getFocusedStack().getTopActivity(); in showAssistFromActivity()
14035 ActivityRecord activity = getFocusedStack().getTopActivity(); in enqueueAssistContext()
14576 return r.getTask().getTopActivity() == r; in isTopOfTask()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackTests.java192 assertEquals(task.getTopActivity(false /* includeOverlays */), r); in testFindTaskWithOverlay()
193 assertEquals(task.getTopActivity(true /* includeOverlays */), taskOverlay); in testFindTaskWithOverlay()