/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityDisplay.java | 528 final ActivityStack focusedStack = getFocusedStack(); in getResumedActivity() local 529 if (focusedStack == null) { in getResumedActivity() 534 ActivityRecord resumedActivity = focusedStack.getResumedActivity(); in getResumedActivity() 538 resumedActivity = focusedStack.mPausingActivity; in getResumedActivity() 542 resumedActivity = focusedStack.topRunningActivityLocked(true /* focusableOnly */); in getResumedActivity() 967 final ActivityStack focusedStack = getFocusedStack(); in topRunningActivity() local 968 if (focusedStack != null) { in topRunningActivity() 969 topRunning = focusedStack.topRunningActivityLocked(); in topRunningActivity() 977 if (stack == focusedStack || !stack.isFocusable()) { in topRunningActivity() 1489 final ActivityStack focusedStack = getFocusedStack(); in writeToProto() local [all …]
|
D | ActivityStarter.java | 876 final ActivityStack focusedStack = in startActivity() local 880 + (focusedStack == null ? DEFAULT_DISPLAY : focusedStack.mDisplayId)); in startActivity() 2598 final ActivityStack focusedStack = mRootActivityContainer.getTopDisplayFocusedStack(); in computeStackFocus() local 2600 if (focusedStack != currentStack) { in computeStackFocus() 2606 "computeStackFocus: Focused stack already=" + focusedStack); in computeStackFocus() 2613 "computeStackFocus: Have a focused stack=" + focusedStack); in computeStackFocus() 2614 return focusedStack; in computeStackFocus() 2640 final ActivityStack focusedStack = mRootActivityContainer.getTopDisplayFocusedStack(); in canLaunchIntoFocusedStack() local 2642 if (focusedStack.isActivityTypeAssistant()) { in canLaunchIntoFocusedStack() 2645 switch (focusedStack.getWindowingMode()) { in canLaunchIntoFocusedStack() [all …]
|
D | RootActivityContainer.java | 694 final ActivityStack focusedStack = mActivityDisplays.get(i).getFocusedStack(); in getTopDisplayFocusedStack() local 695 if (focusedStack != null) { in getTopDisplayFocusedStack() 696 return focusedStack; in getTopDisplayFocusedStack() 703 final ActivityStack focusedStack = getTopDisplayFocusedStack(); in getTopResumedActivity() local 704 if (focusedStack == null) { in getTopResumedActivity() 707 final ActivityRecord resumedActivity = focusedStack.getResumedActivity(); in getTopResumedActivity() 1128 ActivityStack focusedStack = getTopDisplayFocusedStack(); in finishTopCrashedActivities() local 1136 if (stack == focusedStack || finishedTask == null) { in finishTopCrashedActivities() 1190 final ActivityStack focusedStack = display.getFocusedStack(); in resumeFocusedStacksTopActivities() local 1191 if (focusedStack != null) { in resumeFocusedStacksTopActivities() [all …]
|
D | RecentTasks.java | 312 final ActivityStack focusedStack = mService.getTopDisplayFocusedStack(); in resetFreezeTaskListReorderingOnTimeout() local 313 final TaskRecord topTask = focusedStack != null in resetFreezeTaskListReorderingOnTimeout() 314 ? focusedStack.topTask() in resetFreezeTaskListReorderingOnTimeout()
|
D | ActivityTaskManagerService.java | 2028 ActivityStack focusedStack = getTopDisplayFocusedStack(); in getFocusedStackInfo() local 2029 if (focusedStack != null) { in getFocusedStackInfo() 2030 return mRootActivityContainer.getStackInfo(focusedStack.mStackId); in getFocusedStackInfo() 3362 final ActivityStack focusedStack = getTopDisplayFocusedStack(); in startInPlaceAnimationOnFrontMostApplication() local 3363 if (focusedStack != null) { in startInPlaceAnimationOnFrontMostApplication() 3364 final DisplayContent dc = focusedStack.getDisplay().mDisplayContent; in startInPlaceAnimationOnFrontMostApplication() 3714 final ActivityStack focusedStack = getTopDisplayFocusedStack(); in isAssistDataAllowedOnCurrentActivity() local 3715 if (focusedStack == null || focusedStack.isActivityTypeAssistant()) { in isAssistDataAllowedOnCurrentActivity() 3719 final ActivityRecord activity = focusedStack.getTopActivity(); in isAssistDataAllowedOnCurrentActivity()
|
D | ActivityStackSupervisor.java | 1437 final ActivityStack focusedStack = display.getFocusedStack(); in moveHomeStackToFrontIfNeeded() local 1441 || (focusedStack != null && focusedStack.isActivityTypeRecents())) { in moveHomeStackToFrontIfNeeded()
|
D | ActivityStack.java | 5220 boolean focusedStack = mRootActivityContainer.getTopDisplayFocusedStack() == this; in getRunningTasks() 5242 if (focusedStack && topTask) { in getRunningTasks()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | InstantAppNotifier.java | 158 final ActivityManager.StackInfo focusedStack = in updateForegroundInstantApps() local 160 if (focusedStack != null) { in updateForegroundInstantApps() 162 focusedStack.configuration.windowConfiguration in updateForegroundInstantApps() 166 checkAndPostForStack(focusedStack, notifs, noMan, pm); in updateForegroundInstantApps()
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/ |
D | RecentsImpl.java | 561 TaskStack focusedStack = plan.getTaskStack(); 564 if (focusedStack == null || focusedStack.getTaskCount() == 0) return; 575 ArrayList<Task> tasks = focusedStack.getTasks(); 617 TaskStack focusedStack = plan.getTaskStack(); in showRelativeAffiliatedTask() local 620 if (focusedStack == null || focusedStack.getTaskCount() == 0) return; in showRelativeAffiliatedTask() 631 ArrayList<Task> tasks = focusedStack.getTasks(); in showRelativeAffiliatedTask()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 369 final ActivityManager.StackInfo focusedStack = mInjector.getFocusedStack(); in handleBrightnessChanged() local 370 if (focusedStack != null && focusedStack.topActivity != null) { in handleBrightnessChanged() 371 builder.setUserId(focusedStack.userId); in handleBrightnessChanged() 372 builder.setPackageName(focusedStack.topActivity.getPackageName()); in handleBrightnessChanged()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/display/ |
D | BrightnessTrackerTest.java | 942 ActivityManager.StackInfo focusedStack = new ActivityManager.StackInfo(); in getFocusedStack() local 943 focusedStack.userId = 0; in getFocusedStack() 944 focusedStack.topActivity = new ComponentName("a.package", "a.class"); in getFocusedStack() 945 return focusedStack; in getFocusedStack()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStackTests.java | 1116 private void verifyShouldSleepActivities(boolean focusedStack, in verifyShouldSleepActivities() argument 1124 doReturn(focusedStack).when(mStack).isFocusedStackOnDisplay(); in verifyShouldSleepActivities()
|