Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DRecentsImpl.java562 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() local
621 if (focusedStack == null || focusedStack.getTaskCount() == 0) return; in showRelativeAffiliatedTask()
632 ArrayList<Task> tasks = focusedStack.getTasks(); in showRelativeAffiliatedTask()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java349 final ActivityManager.StackInfo focusedStack = mInjector.getFocusedStack(); in handleBrightnessChanged() local
350 if (focusedStack != null && focusedStack.topActivity != null) { in handleBrightnessChanged()
351 builder.setUserId(focusedStack.userId); in handleBrightnessChanged()
352 builder.setPackageName(focusedStack.topActivity.getPackageName()); in handleBrightnessChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java844 ActivityManager.StackInfo focusedStack = new ActivityManager.StackInfo(); in getFocusedStack() local
845 focusedStack.userId = 0; in getFocusedStack()
846 focusedStack.topActivity = new ComponentName("a.package", "a.class"); in getFocusedStack()
847 return focusedStack; in getFocusedStack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java539 final StackInfo focusedStack = ActivityManager.getService().getFocusedStackInfo(); in updateForegroundInstantApps() local
540 if (focusedStack != null) { in updateForegroundInstantApps()
542 focusedStack.configuration.windowConfiguration.getWindowingMode(); in updateForegroundInstantApps()
545 checkStack(focusedStack, notifs, noMan, pm); in updateForegroundInstantApps()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackTests.java609 private void verifyShouldSleepActivities(boolean focusedStack, in verifyShouldSleepActivities() argument
611 mSupervisor.mFocusedStack = focusedStack ? mStack : null; in verifyShouldSleepActivities()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStarter.java2371 final ActivityStack focusedStack = mSupervisor.mFocusedStack; in canLaunchIntoFocusedStack() local
2373 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()
DActivityStackSupervisor.java1230 final ActivityStack focusedStack = mFocusedStack; in topRunningActivityLocked() local
1231 ActivityRecord r = focusedStack.topRunningActivityLocked(); in topRunningActivityLocked()
1254 if (topStack == null || !topStack.isFocusable() || topStack == focusedStack) { in topRunningActivityLocked()
2254 ActivityStack focusedStack = getFocusedStack(); in finishTopCrashedActivitiesLocked() local
2262 if (stack == focusedStack || finishedTask == null) { in finishTopCrashedActivitiesLocked()
DActivityStack.java4937 boolean focusedStack = mStackSupervisor.getFocusedStack() == this; in getRunningTasks()
4959 if (focusedStack && topTask) { in getRunningTasks()
DActivityManagerService.java13972 final ActivityStack focusedStack = getFocusedStack(); in isAssistDataAllowedOnCurrentActivity() local
13973 if (focusedStack == null || focusedStack.isActivityTypeAssistant()) { in isAssistDataAllowedOnCurrentActivity()
13977 final ActivityRecord activity = focusedStack.getTopActivity(); in isAssistDataAllowedOnCurrentActivity()
22305 ActivityStack focusedStack = getFocusedStack(); in getFocusedStackInfo() local
22306 if (focusedStack != null) { in getFocusedStackInfo()
22307 return mStackSupervisor.getStackInfo(focusedStack.mStackId); in getFocusedStackInfo()