/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/ |
D | TaskInfoCompat.java | 41 public static ComponentName getTopActivity(TaskInfo info) { in getTopActivity() method in TaskInfoCompat
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 277 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()
|
D | ActivityStackSupervisorTests.java | 120 final ActivityRecord unresizableActivity = stack.getTopActivity(); in testHandleNonResizableTaskOnSecondaryDisplay()
|
D | ActivityDisplayTests.java | 186 final ActivityRecord activity = stack.getTopActivity(); in testTopRunningActivity() 242 assertTrue(alwaysOnTopStack.getTopActivity().isAlwaysOnTop()); in testAlwaysOnTopStackLocation()
|
D | RecentsAnimationTest.java | 146 ActivityRecord recentsActivity = recentsStack.getTopActivity(); in testPreloadRecentsActivity() 206 ActivityRecord targetActivity = homeStack.getTopActivity(); in testSetLaunchTaskBehindOfTargetActivity()
|
D | ActivityStackTests.java | 263 assertEquals(r, task.getTopActivity(false /* includeOverlays */)); in testFindTaskWithOverlay() 264 assertEquals(taskOverlay, task.getTopActivity(true /* includeOverlays */)); in testFindTaskWithOverlay() 1003 stack2.getTopActivity().visible = true; in testFinishCurrentActivity()
|
D | ActivityRecordTests.java | 101 mActivity = mTask.getTopActivity(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentsAnimation.java | 430 || controller.isTargetApp(stack.getTopActivity().mAppWindowToken)) in onStackOrderChanged() 496 return task.getTopActivity(); in getTargetActivity()
|
D | ActivityStarter.java | 1621 ? 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()
|
D | ActivityStackSupervisor.java | 1428 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()
|
D | TaskRecord.java | 708 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()
|
D | ActivityStack.java | 771 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()
|
D | RootActivityContainer.java | 679 final ActivityRecord top = stack.getTopActivity(); in getTopVisibleActivities() 1302 : task.getTopActivity() != null ? task.getTopActivity().packageName in getStackInfo() 2164 final ActivityRecord activityRecord = task.getTopActivity(); in taskTopActivityIsUser()
|
D | LockTaskController.java | 242 && activity == task.getTopActivity() in activityBlockedFromFinish()
|
D | RecentTasks.java | 711 if (task.autoRemoveRecents && task.getTopActivity() == null) { in cleanupLocked() 925 if (tr.autoRemoveRecents && tr.getTopActivity() == null) { in getRecentTasksImpl()
|
D | WindowProcessController.java | 554 ActivityRecord topActivity = task.getTopActivity(); in hasActivityInVisibleTask()
|
D | ActivityTaskManagerService.java | 2415 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()
|
D | ActivityRecord.java | 1979 final boolean isTop = this == stack.getTopActivity(); in shouldBeVisible()
|
/frameworks/base/services/ |
D | art-profile | 14917 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;
|