Home
last modified time | relevance | path

Searched refs:ActivityDisplay (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/wm/
DRootActivityContainer.java174 private final ArrayList<ActivityDisplay> mActivityDisplays = new ArrayList<>();
177 private ActivityDisplay mDefaultDisplay;
245 final ActivityDisplay activityDisplay = new ActivityDisplay(this, display); in setWindowManager()
249 addChild(activityDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager()
253 final ActivityDisplay defaultDisplay = getDefaultDisplay(); in setWindowManager()
256 positionChildAt(defaultDisplay, ActivityDisplay.POSITION_TOP); in setWindowManager()
260 ActivityDisplay getDefaultDisplay() { in getDefaultDisplay()
271 ActivityDisplay getActivityDisplay(String uniqueId) { in getActivityDisplay()
273 final ActivityDisplay display = mActivityDisplays.get(i); in getActivityDisplay()
284 ActivityDisplay getActivityDisplay(int displayId) { in getActivityDisplay()
[all …]
DRunningTasks.java42 @WindowingMode int ignoreWindowingMode, ArrayList<ActivityDisplay> activityDisplays, in getTasks()
53 final ActivityDisplay display = activityDisplays.get(displayNdx); in getTasks()
DTaskLaunchParamsModifier.java151 ActivityDisplay display = mSupervisor.mRootActivityContainer.getActivityDisplay(displayId); in calculate()
337 private boolean canApplyFreeformWindowPolicy(@NonNull ActivityDisplay display, int launchMode) { in canApplyFreeformWindowPolicy()
347 private void getLayoutBounds(@NonNull ActivityDisplay display, @NonNull ActivityRecord root, in getLayoutBounds()
476 private void cascadeBounds(@NonNull Rect srcBounds, @NonNull ActivityDisplay display, in cascadeBounds()
488 private void getTaskBounds(@NonNull ActivityRecord root, @NonNull ActivityDisplay display, in getTaskBounds()
555 private int resolveOrientation(@NonNull ActivityRecord root, @NonNull ActivityDisplay display, in resolveOrientation()
581 private void getDefaultFreeformSize(@NonNull ActivityDisplay display, in getDefaultFreeformSize()
620 private void centerBounds(@NonNull ActivityDisplay display, int width, int height, in centerBounds()
630 private void adjustBoundsToFitInDisplay(@NonNull ActivityDisplay display, in adjustBoundsToFitInDisplay()
685 private void adjustBoundsToAvoidConflictInDisplay(@NonNull ActivityDisplay display, in adjustBoundsToAvoidConflictInDisplay()
DRecentsAnimation.java52 ActivityDisplay.OnStackOrderChangedListener {
60 private final ActivityDisplay mDefaultDisplay;
114 final ActivityDisplay display = targetActivity.getDisplay(); in startRecentsActivity()
290 final ActivityDisplay display = targetActivity.getDisplay(); in finishAnimation()
DKeyguardController.java289 final ActivityDisplay display = mRootActivityContainer.getChildAt(displayNdx); in visibilitiesUpdated()
413 final ActivityDisplay display = mRootActivityContainer.getChildAt(displayNdx); in updateKeyguardSleepToken()
476 void visibilitiesUpdated(KeyguardController controller, ActivityDisplay display) { in visibilitiesUpdated()
522 private ActivityStack getStackForControllingOccluding(ActivityDisplay display) { in getStackForControllingOccluding()
DActivityStack.java56 import static com.android.server.wm.ActivityDisplay.POSITION_BOTTOM;
57 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
254 protected ActivityDisplay getParent() { in getParent()
258 void setParent(ActivityDisplay parent) { in setParent()
259 ActivityDisplay current = getParent(); in setParent()
268 ActivityDisplay display = getParent(); in onParentChanged()
506 ActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in ActivityStack()
584 final ActivityDisplay display = getDisplay(); in onConfigurationChanged()
711 final ActivityDisplay display = getDisplay(); in setWindowingModeInSurfaceTransaction()
880 void reparent(ActivityDisplay activityDisplay, boolean onTop, boolean displayRemoved) { in reparent()
[all …]
DWindowProcessController.java567 final ActivityDisplay display = activity.getDisplay(); in updateTopResumingActivityInProcessIfNeeded()
574 final ActivityDisplay topDisplay = in updateTopResumingActivityInProcessIfNeeded()
903 void registerDisplayConfigurationListenerLocked(ActivityDisplay activityDisplay) { in registerDisplayConfigurationListenerLocked()
919 final ActivityDisplay activityDisplay = in unregisterDisplayConfigurationListenerLocked()
DLaunchParamsPersister.java226 final ActivityDisplay display = in saveTaskToLaunchParam()
263 final ActivityDisplay display = mSupervisor.mRootActivityContainer.getActivityDisplay( in getLaunchParams()
DActivityStackSupervisor.java1077 final ActivityDisplay activityDisplay = in isCallerAllowedToLaunchOnDisplay()
1436 private void moveHomeStackToFrontIfNeeded(int flags, ActivityDisplay display, String reason) { in moveHomeStackToFrontIfNeeded()
1497 final ActivityDisplay toDisplay = in moveTasksToFullscreenStackInSurfaceTransaction()
1651 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in resizeDockedStackLocked()
2419 final ActivityDisplay preferredDisplay = in handleNonResizableTaskIfNeeded()
2804 final ActivityDisplay display = task.getStack().getDisplay(); in startActivityFromRecents()
DActivityDisplay.java79 class ActivityDisplay extends ConfigurationContainer<ActivityStack> class
161 ActivityDisplay(RootActivityContainer root, Display display) { in ActivityDisplay() method in ActivityDisplay
1130 final ActivityDisplay toDisplay = mRootActivityContainer.getDefaultDisplay(); in remove()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityDisplayTests.java69 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testLastFocusedStackIsUpdatedWhenMovingStack()
118 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testStackShouldNotBeFocusedAfterMovingToBackOrRemoving()
143 final ActivityDisplay display = spy(createNewActivityDisplay()); in testNotResumeHomeStackOnRemovingDisplay()
146 mRootActivityContainer.addChild(display, ActivityDisplay.POSITION_TOP); in testNotResumeHomeStackOnRemovingDisplay()
155 display.addChild(spiedHomeStack, ActivityDisplay.POSITION_TOP); in testNotResumeHomeStackOnRemovingDisplay()
169 private ActivityStack createFullscreenStackWithSimpleActivityAt(ActivityDisplay display) { in createFullscreenStackWithSimpleActivityAt()
183 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testTopRunningActivity()
223 private static void assertTopRunningActivity(ActivityRecord top, ActivityDisplay display) { in assertTopRunningActivity()
233 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testAlwaysOnTopStackLocation()
298 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in removeStackTests()
[all …]
DRunningTasksTest.java23 import static com.android.server.wm.ActivityDisplay.POSITION_BOTTOM;
58 final ArrayList<ActivityDisplay> displays = new ArrayList<>(); in testCollectTasksByLastActiveTime()
59 final ActivityDisplay display = TestActivityDisplay.create(mSupervisor, DEFAULT_DISPLAY); in testCollectTasksByLastActiveTime()
DRecentsAnimationTest.java85 ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testRecentsActivityVisiblility()
116 ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testRestartRecentsActivity()
148 ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testSetLaunchTaskBehindOfTargetActivity()
188 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testCancelAnimationOnVisibleStackOrderChange()
233 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testKeepAnimationOnHiddenStackOrderChange()
269 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testMultipleUserHomeActivity_findUserHomeTask()
DRootActivityContainerTests.java37 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
130 final ActivityDisplay display = mFullscreenStack.getDisplay(); in testReplacingTaskInPinnedStack()
164 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testApplySleepTokens()
197 private void verifySleepTokenBehavior(ActivityDisplay display, KeyguardController keyguard, in verifySleepTokenBehavior()
220 final ActivityDisplay defaultDisplay = mRootActivityContainer.getDefaultDisplay(); in testRemovingStackOnAppCrash()
330 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testFindTaskToMoveToFrontWhenRecentsOnTop()
353 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
360 ActivityDisplay.POSITION_TOP); in testFindTaskToMoveToFrontWhenRecentsOnOtherDisplay()
380 final ActivityDisplay display = mRootActivityContainer.getDefaultDisplay(); in testResumeActivityWhenNonTopmostStackIsTopFocused()
436 ActivityDisplay.POSITION_TOP); in testResumeFocusedStacksStartsHomeActivity_ActivityOnSecondaryScreen()
[all …]
DActivityStackSupervisorTests.java117 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testHandleNonResizableTaskOnSecondaryDisplay()
DActivityStackTests.java81 private ActivityDisplay mDefaultDisplay;
299 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testMoveStackToBackIncludingParent()
820 ActivityDisplay display, int windowingMode, int activityType, boolean onTop) { in createStackForShouldBeVisibleTest()
995 final ActivityDisplay display = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testFinishCurrentActivity()
1118 final ActivityDisplay display = mock(ActivityDisplay.class); in verifyShouldSleepActivities()
1130 implements ActivityDisplay.OnStackOrderChangedListener {
DActivityTestsBase.java437 ActivityDisplay mDefaultDisplay;
498 mRootActivityContainer.addChild(mDefaultDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
660 protected static class TestActivityDisplay extends ActivityDisplay {
752 TestActivityStack(ActivityDisplay display, int stackId, ActivityStackSupervisor supervisor, in TestActivityStack()
839 private ActivityDisplay mDisplay;
866 StackBuilder setDisplay(ActivityDisplay display) { in setDisplay()
DTaskRecordTests.java180 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testFitWithinBounds()
218 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testBoundsOnModeChangeFreeformToFullscreen()
266 ActivityDisplay display = addNewActivityDisplayAt(info, POSITION_TOP); in testFullscreenBoundsForcedOrientation()
333 ActivityDisplay display = addNewActivityDisplayAt(info, POSITION_TOP); in testIgnoresForcedOrientationWhenParentHandles()
449 ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testStackBoundsConfiguration()
DRecentTasksTest.java99 private ActivityDisplay mDisplay;
100 private ActivityDisplay mOtherDisplay;
101 private ActivityDisplay mSingleTaskDisplay;
1127 mRootActivityContainer.addChild(mOtherDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
1128 mRootActivityContainer.addChild(mDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
1129 mRootActivityContainer.addChild(mSingleTaskDisplay, ActivityDisplay.POSITION_TOP); in createDefaultDisplay()
1146 private ActivityDisplay mDisplay = null;
1148 MyTestActivityStack(ActivityDisplay display, ActivityStackSupervisor supervisor) { in MyTestActivityStack()
1155 ActivityDisplay getDisplay() { in getDisplay()
1303 int ignoreWindowingMode, ArrayList<ActivityDisplay> activityDisplays, in getTasks()
DWindowProcessControllerTests.java21 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
DWindowTestsBase.java416 return new DisplayContent(display, mWm, mock(ActivityDisplay.class)); in createNewDisplay()
437 final ActivityDisplay mockAd = mock(ActivityDisplay.class); in createNewDisplay()
DActivityStarterTests.java49 import static com.android.server.wm.ActivityDisplay.POSITION_BOTTOM;
50 import static com.android.server.wm.ActivityDisplay.POSITION_TOP;
484 final ActivityDisplay display = mService.mRootActivityContainer.getDefaultDisplay(); in testTaskModeViolation()
499 private void assertNoTasks(ActivityDisplay display) { in assertNoTasks()
DLaunchParamsPersisterTests.java82 private ActivityDisplay mTestDisplay;
109 mRootActivityContainer.addChild(mTestDisplay, ActivityDisplay.POSITION_TOP); in setUp()
DActivityRecordTests.java491 final ActivityDisplay newDisplay = addNewActivityDisplayAt(ActivityDisplay.POSITION_TOP); in testSizeCompatMode_FixedScreenConfigurationWhenMovingToDisplay()
553 final ActivityDisplay display = mStack.getDisplay(); in testSizeCompatMode_ResetNonVisibleActivity()
DSystemServicesTestRule.java180 mWindowManagerService.mRoot.createDisplayContent(display, mock(ActivityDisplay.class));

12