Searched refs:focusedStack (Results 1 – 9 of 9) sorted by relevance
562 TaskStack focusedStack = plan.getTaskStack();565 if (focusedStack == null || focusedStack.getTaskCount() == 0) return;576 ArrayList<Task> tasks = focusedStack.getTasks();618 TaskStack focusedStack = plan.getTaskStack(); in showRelativeAffiliatedTask() local621 if (focusedStack == null || focusedStack.getTaskCount() == 0) return; in showRelativeAffiliatedTask()632 ArrayList<Task> tasks = focusedStack.getTasks(); in showRelativeAffiliatedTask()
349 final ActivityManager.StackInfo focusedStack = mInjector.getFocusedStack(); in handleBrightnessChanged() local350 if (focusedStack != null && focusedStack.topActivity != null) { in handleBrightnessChanged()351 builder.setUserId(focusedStack.userId); in handleBrightnessChanged()352 builder.setPackageName(focusedStack.topActivity.getPackageName()); in handleBrightnessChanged()
844 ActivityManager.StackInfo focusedStack = new ActivityManager.StackInfo(); in getFocusedStack() local845 focusedStack.userId = 0; in getFocusedStack()846 focusedStack.topActivity = new ComponentName("a.package", "a.class"); in getFocusedStack()847 return focusedStack; in getFocusedStack()
539 final StackInfo focusedStack = ActivityManager.getService().getFocusedStackInfo(); in updateForegroundInstantApps() local540 if (focusedStack != null) { in updateForegroundInstantApps()542 focusedStack.configuration.windowConfiguration.getWindowingMode(); in updateForegroundInstantApps()545 checkStack(focusedStack, notifs, noMan, pm); in updateForegroundInstantApps()
609 private void verifyShouldSleepActivities(boolean focusedStack, in verifyShouldSleepActivities() argument611 mSupervisor.mFocusedStack = focusedStack ? mStack : null; in verifyShouldSleepActivities()
2371 final ActivityStack focusedStack = mSupervisor.mFocusedStack; in canLaunchIntoFocusedStack() local2373 if (focusedStack.isActivityTypeAssistant()) { in canLaunchIntoFocusedStack()2376 switch (focusedStack.getWindowingMode()) { in canLaunchIntoFocusedStack()2395 canUseFocusedStack = !focusedStack.isOnHomeDisplay() in canLaunchIntoFocusedStack()2396 && r.canBeLaunchedOnDisplay(focusedStack.mDisplayId); in canLaunchIntoFocusedStack()2401 && (mPreferredDisplayId == focusedStack.mDisplayId); in canLaunchIntoFocusedStack()
1230 final ActivityStack focusedStack = mFocusedStack; in topRunningActivityLocked() local1231 ActivityRecord r = focusedStack.topRunningActivityLocked(); in topRunningActivityLocked()1254 if (topStack == null || !topStack.isFocusable() || topStack == focusedStack) { in topRunningActivityLocked()2254 ActivityStack focusedStack = getFocusedStack(); in finishTopCrashedActivitiesLocked() local2262 if (stack == focusedStack || finishedTask == null) { in finishTopCrashedActivitiesLocked()
4937 boolean focusedStack = mStackSupervisor.getFocusedStack() == this; in getRunningTasks()4959 if (focusedStack && topTask) { in getRunningTasks()
13972 final ActivityStack focusedStack = getFocusedStack(); in isAssistDataAllowedOnCurrentActivity() local13973 if (focusedStack == null || focusedStack.isActivityTypeAssistant()) { in isAssistDataAllowedOnCurrentActivity()13977 final ActivityRecord activity = focusedStack.getTopActivity(); in isAssistDataAllowedOnCurrentActivity()22305 ActivityStack focusedStack = getFocusedStack(); in getFocusedStackInfo() local22306 if (focusedStack != null) { in getFocusedStackInfo()22307 return mStackSupervisor.getStackInfo(focusedStack.mStackId); in getFocusedStackInfo()