Searched refs:defaultTaskDisplayArea (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RootWindowContainerTests.java | 584 TaskDisplayArea defaultTaskDisplayArea = display.getDefaultTaskDisplayArea(); in verifySleepTokenBehavior() local 585 doReturn(isFocusedTask ? task : null).when(defaultTaskDisplayArea).getFocusedRootTask(); in verifySleepTokenBehavior() 625 final TaskDisplayArea defaultTaskDisplayArea = mRootWindowContainer in testRemovingRootTaskOnAppCrash() local 627 final int originalRootTaskCount = defaultTaskDisplayArea.getRootTaskCount(); in testRemovingRootTaskOnAppCrash() 628 final Task rootTask = defaultTaskDisplayArea.createRootTask( in testRemovingRootTaskOnAppCrash() 632 assertEquals(originalRootTaskCount + 1, defaultTaskDisplayArea.getRootTaskCount()); in testRemovingRootTaskOnAppCrash() 640 assertEquals(originalRootTaskCount, defaultTaskDisplayArea.getRootTaskCount()); in testRemovingRootTaskOnAppCrash() 650 final TaskDisplayArea defaultTaskDisplayArea = mRootWindowContainer in testRemovingRootTaskOnAppCrash_multipleDisplayAreas() local 652 final int originalRootTaskCount = defaultTaskDisplayArea.getRootTaskCount(); in testRemovingRootTaskOnAppCrash_multipleDisplayAreas() 653 final Task rootTask = defaultTaskDisplayArea.createRootTask( in testRemovingRootTaskOnAppCrash_multipleDisplayAreas() [all …]
|
D | TaskDisplayAreaTests.java | 381 final TaskDisplayArea defaultTaskDisplayArea = in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() local 384 final Task rootHomeTask = defaultTaskDisplayArea.getRootHomeTask(); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() 388 .setTaskDisplayArea(defaultTaskDisplayArea) in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() 408 assertEquals(defaultTaskDisplayArea.getOrientation(), rootHomeTask.getOrientation()); in testGetOrientation_nonResizableHomeTaskWithHomeActivityPendingVisibilityChange() 558 final TaskDisplayArea defaultTaskDisplayArea = in testRemove_reparentToDefault() local 560 assertTrue(defaultTaskDisplayArea.mChildren.contains(task)); in testRemove_reparentToDefault() 574 final TaskDisplayArea defaultTaskDisplayArea = in testRemove_rootTaskCreatedByOrganizer() local 576 assertFalse(defaultTaskDisplayArea.mChildren.contains(task)); in testRemove_rootTaskCreatedByOrganizer() 590 TaskDisplayArea defaultTaskDisplayArea = mWm.mRoot.getDefaultTaskDisplayArea(); in testGetOrCreateRootHomeTask_defaultDisplay() local 593 Task homeTask = defaultTaskDisplayArea.getRootHomeTask(); in testGetOrCreateRootHomeTask_defaultDisplay() [all …]
|
D | RecentsAnimationTest.java | 129 TaskDisplayArea defaultTaskDisplayArea = mRootWindowContainer.getDefaultTaskDisplayArea(); in testPreloadRecentsActivity() local 131 defaultTaskDisplayArea.getRootTask(WINDOWING_MODE_FULLSCREEN, ACTIVITY_TYPE_HOME); in testPreloadRecentsActivity() 132 defaultTaskDisplayArea.positionChildAt(POSITION_TOP, homeStack, in testPreloadRecentsActivity() 161 Task recentsStack = defaultTaskDisplayArea.getRootTask(WINDOWING_MODE_FULLSCREEN, in testPreloadRecentsActivity() 186 TaskDisplayArea defaultTaskDisplayArea = mRootWindowContainer.getDefaultTaskDisplayArea(); in testRestartRecentsActivity() local 187 Task recentsStack = defaultTaskDisplayArea.createRootTask(WINDOWING_MODE_FULLSCREEN, in testRestartRecentsActivity()
|
D | WindowTestsBase.java | 734 final TaskDisplayArea defaultTaskDisplayArea = displayContent.getDefaultTaskDisplayArea(); in createTaskDisplayArea() local 737 defaultTaskDisplayArea.getParent().addChild(newTaskDisplayArea, in createTaskDisplayArea() 738 defaultTaskDisplayArea.getParent().mChildren.indexOf(defaultTaskDisplayArea) in createTaskDisplayArea()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayAreaPolicy.java | 109 final TaskDisplayArea defaultTaskDisplayArea = new TaskDisplayArea(content, wmService, in instantiate() local 112 tdaList.add(defaultTaskDisplayArea); in instantiate()
|
D | DisplayAreaPolicyBuilder.java | 424 DefaultSelectTaskDisplayAreaFunction(TaskDisplayArea defaultTaskDisplayArea) { in DefaultSelectTaskDisplayAreaFunction() argument 425 mDefaultTaskDisplayArea = defaultTaskDisplayArea; in DefaultSelectTaskDisplayAreaFunction() 426 mDisplayId = defaultTaskDisplayArea.getDisplayId(); in DefaultSelectTaskDisplayAreaFunction()
|
D | TaskLaunchParamsModifier.java | 578 final TaskDisplayArea defaultTaskDisplayArea = in getFallbackDisplayAreaForActivity() local 580 if (DEBUG) appendLog("display-area-from-default-fallback=" + defaultTaskDisplayArea); in getFallbackDisplayAreaForActivity() 581 return defaultTaskDisplayArea; in getFallbackDisplayAreaForActivity()
|
D | DisplayPolicy.java | 2497 final TaskDisplayArea defaultTaskDisplayArea = mDisplayContent.getDefaultTaskDisplayArea(); 2499 defaultTaskDisplayArea.getRootTask(task -> task.isVisible() 2503 defaultTaskDisplayArea.isRootTaskVisible(WINDOWING_MODE_FREEFORM);
|
D | RootWindowContainer.java | 1287 final TaskDisplayArea defaultTaskDisplayArea = getDefaultTaskDisplayArea(); in setWindowManager() local 1288 defaultTaskDisplayArea.getOrCreateRootHomeTask(ON_TOP); in setWindowManager() 1289 positionChildAt(POSITION_TOP, defaultTaskDisplayArea.mDisplayContent, in setWindowManager()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatableTest.java | 166 TaskDisplayArea defaultTaskDisplayArea = new TaskDisplayArea(dc, mWindowManagerService, in mockDisplay() local 171 when(dc.getDefaultTaskDisplayArea()).thenReturn(defaultTaskDisplayArea); in mockDisplay() 173 return defaultTaskDisplayArea; in mockDisplay()
|