Home
last modified time | relevance | path

Searched refs:getDisplayArea (Results 1 – 25 of 41) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowProcessControllerTests.java97 assertNull(mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
104 assertEquals(imeContainer1, mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
112 assertEquals(imeContainer2, mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
117 assertEquals(imeContainer2, mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
123 assertNull(mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
127 assertEquals(imeContainer1, mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
130 assertNull(mWpc.getDisplayArea()); in testDisplayAreaConfigurationListener()
200 assertNull(mWpc.getDisplayArea()); in testConfigurationForSecondaryScreenDisplayArea()
208 assertEquals(imeContainer, mWpc.getDisplayArea()); in testConfigurationForSecondaryScreenDisplayArea()
443 when(activityRecord.getDisplayArea()) in testTopActivityDisplayAreaMatchesTopMostActivity_singleActivity()
[all …]
DTaskDisplayAreaTests.java85 final TaskDisplayArea taskDisplayArea = rootTask.getDisplayArea(); in getLaunchRootTask_checksLaunchAdjacentFlagRoot()
132 final TaskDisplayArea taskDisplayArea = rootTask.getDisplayArea(); in getLaunchRootTask_fromLaunchAdjacentFlagRoot_checksAdjacentRoot()
148 final TaskDisplayArea taskDisplayArea = rootTask.getDisplayArea(); in getOrCreateLaunchRootRespectsResolvedWindowingMode()
169 final TaskDisplayArea taskDisplayArea = rootTask.getDisplayArea(); in getOrCreateLaunchRootUsesActivityOptionsWindowingMode()
192 final TaskDisplayArea taskDisplayArea = activity.getDisplayArea(); in testActivityWithZBoost_taskDisplayAreaDoesNotMoveUp()
549 final TaskDisplayArea displayArea = task.getDisplayArea(); in testRemove_reparentToDefault()
565 final TaskDisplayArea displayArea = task.getDisplayArea(); in testRemove_rootTaskCreatedByOrganizer()
578 final TaskDisplayArea taskDisplayArea = candidateTask.getDisplayArea(); in assertGetOrCreateRootTask()
716 rootTask1.getDisplayArea().removeRootTask(rootTask1); in testRootTaskShouldNotBeFocusedAfterMovingToBackOrRemoving()
754 assertEquals(taskDisplayArea, nonAlwaysOnTopRootTask.getDisplayArea()); in testAlwaysOnTopRootTaskLocation()
[all …]
DWindowContainerTests.java863 rootTask.getDisplayArea().removeRootTask(rootTask); in testOnDisplayChanged()
963 assertNull(windowContainer.getDisplayArea()); in testGetDisplayArea()
970 assertNull(windowContainer.getDisplayArea()); in testGetDisplayArea()
971 assertNull(task.getDisplayArea()); in testGetDisplayArea()
978 assertEquals(taskDisplayArea, windowContainer.getDisplayArea()); in testGetDisplayArea()
979 assertEquals(taskDisplayArea, task.getDisplayArea()); in testGetDisplayArea()
980 assertEquals(taskDisplayArea, taskDisplayArea.getDisplayArea()); in testGetDisplayArea()
985 assertEquals(displayArea, displayArea.getDisplayArea()); in testGetDisplayArea()
DDualDisplayAreaGroupPolicyTest.java527 DisplayArea da = getDisplayArea(rootFeatureId); in getGroupRoot()
533 DisplayArea da = getDisplayArea(tdaFeatureId); in getTaskDisplayArea()
538 DisplayArea getDisplayArea(int featureId) { in getDisplayArea() method in DualDisplayAreaGroupPolicyTest.DualDisplayContent
DActivityTaskManagerServiceTests.java439 final TaskDisplayArea tda = task.getDisplayArea(); in testSupportsMultiWindow_nonResizable()
484 final TaskDisplayArea tda = task.getDisplayArea(); in testSupportsMultiWindow_activityMinWidthHeight_largerThanSupport()
531 final TaskDisplayArea tda = task.getDisplayArea(); in testSupportsMultiWindow_landscape_checkActivityMinWidth()
564 final TaskDisplayArea tda = task.getDisplayArea(); in testSupportsMultiWindow_portrait_checkActivityMinHeight()
DWindowContextListenerControllerTests.java199 final DisplayArea<?> da = windowContextCreatedToken.getDisplayArea(); in testWindowContextCreatedWindowTokenRemoved_SwitchToListenToDA()
DRootWindowContainerTests.java261 final TaskDisplayArea taskDisplayArea = fullscreenTask.getDisplayArea(); in testReplacingTaskInPinnedRootTask()
371 final TaskDisplayArea taskDisplayArea = fullscreenTask.getDisplayArea(); in testMultipleActivitiesInTaskFragmentEnterPip()
401 final Task pinnedRootTask = task.getDisplayArea().getRootPinnedTask(); in testMovingEmbeddedActivityToPip()
DLaunchParamsControllerTests.java438 mTmpParams.mPreferredTaskDisplayArea = task.getDisplayArea(); in saveTask()
DActivityRecordTests.java820 stack.getDisplayArea().removeChild(stack); in testPushConfigurationWhenLaunchTaskBehind()
1073 assertEquals(topRootableTask, topActivityOnNonTopDisplay.getDisplayArea() in testFinishActivityIfPossible_PreferredTopStackChanged()
1082 secondaryDisplayActivity.getDisplayArea().mPreferredTopFocusableRootTask); in testFinishActivityIfPossible_PreferredTopStackChanged()
1091 assertEquals(task, activity.getDisplayArea().mPreferredTopFocusableRootTask); in testFinishActivityIfPossible_PreferredTopStackChanged()
1647 final Task homeStack = activity.getDisplayArea().getRootHomeTask(); in testDestroyIfPossible_lastActivityAboveEmptyHomeStack()
1674 final Task homeRootTask = activity.getDisplayArea().getRootHomeTask(); in testCompleteFinishing_lastActivityAboveEmptyHomeStack()
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DActivityRecordWrapper.java73 public TaskDisplayAreaWrapper getDisplayArea() { in getDisplayArea() method in ActivityRecordWrapper
74 return TaskDisplayAreaWrapper.create(mActivityRecord.getDisplayArea()); in getDisplayArea()
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/
DCarLaunchParamsModifierUpdatableTest.java527 when(mActivityRecordSource.getDisplayArea()).thenReturn(mDisplayArea0ForDriver); in testPreferSourceForDriver()
543 when(mActivityRecordSource.getDisplayArea()).thenReturn(mDisplayArea11ForPassenger); in testPreferSourceForPassenger()
555 when(mActivityRecordSource.getDisplayArea()).thenReturn(mDisplayArea0ForDriver); in testPreferSourceDoNotOverrideActivityOptions()
563 when(mActivityRecordSource.getDisplayArea()).thenReturn(mDisplayArea0ForDriver); in testPreferSourceForSpecifiedActivity()
573 when(mActivityRecordSource.getDisplayArea()).thenReturn(mDisplayArea0ForDriver); in testPreferSourceDoNotAssignDisplayForNonSpecifiedActivity()
/frameworks/base/services/core/java/com/android/server/wm/
DTask.java755 final TaskDisplayArea taskDisplayArea = getDisplayArea(); in removeIfPossible()
1132 final Task task = getDisplayArea() != null ? getDisplayArea().getRootHomeTask() : null; in returnsToHomeRootTask()
1307 final TaskDisplayArea taskDisplayArea = getDisplayArea(); in updateTaskMovement()
1448 getDisplayArea().addRootTaskReferenceIfNeeded((Task) child); in addChild()
1508 getDisplayArea().removeRootTaskReferenceIfNeeded((Task) r); in removeChild()
1750 return supportsFreeformInDisplayArea(getDisplayArea()); in supportsFreeform()
2015 final TaskDisplayArea taskDisplayArea = getDisplayArea(); in onConfigurationChanged()
2460 final TaskDisplayArea taskDisplayArea = getDisplayArea(); in adjustFocusToNextFocusableTask()
2488 focusableTask.getDisplayArea().moveHomeActivityToTop(myReason); in adjustFocusToNextFocusableTask()
2706 return canSpecifyOrientation() && getDisplayArea().canSpecifyOrientation(orientation); in handlesOrientationChangeFromDescendant()
[all …]
DTaskFragment.java575 TaskDisplayArea getDisplayArea() { in getDisplayArea() method in TaskFragment
576 return (TaskDisplayArea) super.getDisplayArea(); in getDisplayArea()
581 final TaskDisplayArea taskDisplayArea = getDisplayArea(); in isAttached()
1189 final TaskDisplayArea taskDisplayArea = getDisplayArea(); in resumeTopActivity()
1821 || (getDisplayArea() != null && getDisplayArea().hasPinnedTask())) { in completePause()
2032 return supportsMultiWindowInDisplayArea(getDisplayArea()); in supportsMultiWindow()
2167 final TaskDisplayArea displayArea = getDisplayArea(); in computeConfigResourceOverrides()
DResetTargetTaskHelper.java229 TaskDisplayArea taskDisplayArea = mTargetRootTask.getDisplayArea(); in processPendingReparentActivities()
DTaskLaunchParamsModifier.java384 && source.getDisplayArea() == taskDisplayArea) { in calculate()
442 final TaskDisplayArea sourceDisplayArea = source.getDisplayArea(); in getPreferredLaunchTaskDisplayArea()
451 taskDisplayArea = rootTask.getDisplayArea(); in getPreferredLaunchTaskDisplayArea()
DDisplayArea.java196 mDisplayContent.mFocusedApp.getDisplayArea()); in setIgnoreOrientationRequest()
622 DisplayArea getDisplayArea() { in getDisplayArea() method in DisplayArea
DWindowOrganizerController.java840 task.getDisplayArea().setLaunchRootTask(task, in applyHierarchyOp()
861 task.getDisplayArea().setLaunchAdjacentFlagRootTask(clearRoot ? null : task); in applyHierarchyOp()
1400 newParent.asTask().getDisplayArea())) { in sanitizeAndApplyHierarchyOp()
1418 as.getDisplayArea().positionChildAt( in sanitizeAndApplyHierarchyOp()
1486 ? newParent.asTask().getDisplayArea() in reparentChildrenTasksHierarchyOp()
DWindowProcessController.java485 DisplayArea getDisplayArea() { in getDisplayArea() method in WindowProcessController
715 TaskDisplayArea displayArea = topRecord.getDisplayArea(); in getTopActivityDisplayArea()
719 TaskDisplayArea nextDisplayArea = nextRecord.getDisplayArea(); in getTopActivityDisplayArea()
DActivityTaskSupervisor.java1455 moveHomeRootTaskToFrontIfNeeded(flags, targetRootTask.getDisplayArea(), reason); in findTaskToMoveToFront()
1474 moveHomeRootTaskToFrontIfNeeded(flags, currentRootTask.getDisplayArea(), reason); in findTaskToMoveToFront()
1801 && !task.supportsMultiWindowInDisplayArea(rootTask.getDisplayArea())) { in getReparentTargetRootTask()
1807 rootTask = rootTask.getDisplayArea().createRootTask( in getReparentTargetRootTask()
1897 if (rootTask.getDisplayArea().allResumedActivitiesComplete()) { in reportResumedActivityLocked()
DRecentsAnimation.java356 final TaskDisplayArea taskDisplayArea = targetActivity.getDisplayArea(); in finishAnimation()
DRootWindowContainer.java1436 taskDisplayArea = rootTask != null ? rootTask.getDisplayArea() in startHomeOnTaskDisplayArea()
1918 final TaskDisplayArea currentTaskDisplayArea = rootTask.getDisplayArea(); in moveRootTaskToTaskDisplayArea()
1967 final TaskDisplayArea taskDisplayArea = r.getDisplayArea(); in moveActivityToPinnedRootTask()
2286 && topRunningActivity == rootTask.getDisplayArea().topRunningActivity()) { in resumeFocusedTasksTopActivities()
2868 taskDisplayArea = rootTask.getDisplayArea(); in getOrCreateRootTask()
2951 TaskDisplayArea preferredDisplayArea = currentFocus.getDisplayArea(); in getNextFocusableRootTask()
DActivityStarter.java1340 final Task rootHomeTask = targetTask.getDisplayArea().getRootHomeTask(); in postStartActivityProcessing()
2009 && (!top.isActivityTypeHome() || top.getDisplayArea() == mPreferredTaskDisplayArea); in deliverToCurrentTopIfNeeded()
2540 && intentActivity.getDisplayArea() != mPreferredTaskDisplayArea) { in getReusableTask()
2585 if (mTargetRootTask.getDisplayArea() == mPreferredTaskDisplayArea) { in setTargetRootTaskIfNeeded()
DInputMonitor.java620 final DisplayArea targetDA = rootTask.getDisplayArea(); in accept()
/frameworks/opt/car/services/builtInServices/api/
Dmodule-lib-current.txt32 method public com.android.server.wm.TaskDisplayAreaWrapper getDisplayArea();
/frameworks/opt/car/services/updatableServices/src/com/android/server/wm/
DCarLaunchParamsModifierUpdatableImpl.java299 : source.getDisplayArea(); in calculate()

12