Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskInfoCompat.java41 public static ComponentName getTopActivity(TaskInfo info) { in getTopActivity() method in TaskInfoCompat
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskRecordTests.java277 ActivityRecord root = task.getTopActivity(); in testFullscreenBoundsForcedOrientation()
278 assertEquals(root, task.getTopActivity()); in testFullscreenBoundsForcedOrientation()
291 assertEquals(top, task.getTopActivity()); in testFullscreenBoundsForcedOrientation()
342 ActivityRecord root = task.getTopActivity(); in testIgnoresForcedOrientationWhenParentHandles()
DActivityStackSupervisorTests.java120 final ActivityRecord unresizableActivity = stack.getTopActivity(); in testHandleNonResizableTaskOnSecondaryDisplay()
DActivityDisplayTests.java186 final ActivityRecord activity = stack.getTopActivity(); in testTopRunningActivity()
242 assertTrue(alwaysOnTopStack.getTopActivity().isAlwaysOnTop()); in testAlwaysOnTopStackLocation()
DRecentsAnimationTest.java146 ActivityRecord recentsActivity = recentsStack.getTopActivity(); in testPreloadRecentsActivity()
206 ActivityRecord targetActivity = homeStack.getTopActivity(); in testSetLaunchTaskBehindOfTargetActivity()
DActivityStackTests.java263 assertEquals(r, task.getTopActivity(false /* includeOverlays */)); in testFindTaskWithOverlay()
264 assertEquals(taskOverlay, task.getTopActivity(true /* includeOverlays */)); in testFindTaskWithOverlay()
1003 stack2.getTopActivity().visible = true; in testFinishCurrentActivity()
DActivityRecordTests.java101 mActivity = mTask.getTopActivity(); in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentsAnimation.java430 || controller.isTargetApp(stack.getTopActivity().mAppWindowToken)) in onStackOrderChanged()
496 return task.getTopActivity(); in getTargetActivity()
DActivityStarter.java1621 ? reusedActivity.getTaskRecord().getTopActivity() : reusedActivity; in startActivityUnchecked()
1644 final ActivityRecord topFocused = topStack.getTopActivity(); in startActivityUnchecked()
1878 final ActivityRecord top = task != null ? task.getTopActivity() : null; in setInitialState()
2080 intentActivity = task != null ? task.getTopActivity() : null; in getReusableIntentActivity()
2137 if (mSourceRecord == null || (mSourceStack.getTopActivity() != null && in setTargetStackAndMoveToFrontIfNeeded()
2138 mSourceStack.getTopActivity().getTaskRecord() in setTargetStackAndMoveToFrontIfNeeded()
2482 ActivityRecord top = mInTask.getTopActivity(); in setTaskFromInTask()
2551 final ActivityRecord prev = mTargetStack.getTopActivity(); in setTaskToCurrentTopOrCreateNewTask()
DActivityStackSupervisor.java1428 final ActivityRecord r = task.getTopActivity(); in findTaskToMoveToFront()
2095 final ActivityRecord top = stack.getTopActivity(); in handleLaunchTaskBehindCompleteLocked()
2475 final ActivityRecord topActivity = task.getTopActivity(); in handleForcedResizableTaskIfNeeded()
2771 final ActivityRecord targetActivity = task.getTopActivity(); in startActivityFromRecents()
2788 task.getTopActivity(), ActivityManager.START_TASK_TO_FRONT, in startActivityFromRecents()
DTaskRecord.java708 final ActivityRecord topActivity = getTopActivity(); in reparent()
1128 ActivityRecord getTopActivity() { in getTopActivity() method in TaskRecord
1129 return getTopActivity(true /* includeOverlays */); in getTopActivity()
1132 ActivityRecord getTopActivity(boolean includeOverlays) { in getTopActivity() method in TaskRecord
2273 refActivity = getTopActivity(false /* includeOverlays */); in computeFullscreenBounds()
2394 info.isRunning = getTopActivity() != null; in fillTaskInfo()
DActivityStack.java771 final ActivityRecord topActivity = getTopActivity(); in setWindowingModeInSurfaceTransaction()
1141 ActivityRecord getTopActivity() { in getTopActivity() method in ActivityStack
1143 final ActivityRecord r = mTaskHistory.get(taskNdx).getTopActivity(); in getTopActivity()
1366 final ActivityRecord r = task.getTopActivity(false /* includeOverlays */); in findTaskLocked()
1965 final ActivityRecord topActivity = getTopActivity(); in isTopActivityVisible()
3165 if (task.getTopActivity() == null) { in startActivityLocked()
3613 taskTop = mTaskHistory.get(taskNdx--).getTopActivity(); in resetTaskIfNeededLocked()
4893 final ActivityRecord topActivity = topStack != null ? topStack.getTopActivity() : null; in moveTaskToFrontLocked()
4924 final ActivityRecord top = tr.getTopActivity(); in moveTaskToFrontLocked()
5253 if (task.getTopActivity() == null) { in getRunningTasks()
DRootActivityContainer.java679 final ActivityRecord top = stack.getTopActivity(); in getTopVisibleActivities()
1302 : task.getTopActivity() != null ? task.getTopActivity().packageName in getStackInfo()
2164 final ActivityRecord activityRecord = task.getTopActivity(); in taskTopActivityIsUser()
DLockTaskController.java242 && activity == task.getTopActivity() in activityBlockedFromFinish()
DRecentTasks.java711 if (task.autoRemoveRecents && task.getTopActivity() == null) { in cleanupLocked()
925 if (tr.autoRemoveRecents && tr.getTopActivity() == null) { in getRecentTasksImpl()
DWindowProcessController.java554 ActivityRecord topActivity = task.getTopActivity(); in hasActivityInVisibleTask()
DActivityTaskManagerService.java2415 final ActivityRecord topActivity = task.getTopActivity(); in moveTaskToFrontLocked()
3017 return r != null && r.getTaskRecord().getTopActivity() == r; in isTopOfTask()
3613 ActivityRecord activity = getTopDisplayFocusedStack().getTopActivity(); in enqueueAssistContext()
3746 final ActivityRecord activity = focusedStack.getTopActivity(); in isAssistDataAllowedOnCurrentActivity()
3761 ActivityRecord top = getTopDisplayFocusedStack().getTopActivity(); in showAssistFromActivity()
4381 ActivityRecord activity = getTopDisplayFocusedStack().getTopActivity(); in startLocalVoiceInteraction()
6682 final ActivityRecord activity = taskRecord.getTopActivity(); in getTopActivityForTask()
DActivityRecord.java1979 final boolean isTop = this == stack.getTopActivity(); in shouldBeVisible()
/frameworks/base/services/
Dart-profile14917 HSPLcom/android/server/wm/ActivityStack;->getTopActivity()Lcom/android/server/wm/ActivityRecord;
16938 HSPLcom/android/server/wm/TaskRecord;->getTopActivity()Lcom/android/server/wm/ActivityRecord;
16939 HSPLcom/android/server/wm/TaskRecord;->getTopActivity(Z)Lcom/android/server/wm/ActivityRecord;