/frameworks/base/services/core/java/com/android/server/wm/ |
D | LaunchParamsController.java | 115 result.mPreferredTaskDisplayArea = mService.mRootWindowContainer in calculate() 120 result.mPreferredTaskDisplayArea = mService.mRootWindowContainer in calculate() 185 TaskDisplayArea mPreferredTaskDisplayArea; field in LaunchParamsController.LaunchParams 193 mPreferredTaskDisplayArea = null; in reset() 200 mPreferredTaskDisplayArea = params.mPreferredTaskDisplayArea; in set() 206 return mBounds.isEmpty() && mPreferredTaskDisplayArea == null in isEmpty() 215 return mPreferredTaskDisplayArea != null; in hasPreferredTaskDisplayArea() 225 if (mPreferredTaskDisplayArea != that.mPreferredTaskDisplayArea) return false; in equals() 233 result = 31 * result + (mPreferredTaskDisplayArea != null in hashCode() 234 ? mPreferredTaskDisplayArea.hashCode() : 0); in hashCode()
|
D | ActivityStarter.java | 216 private TaskDisplayArea mPreferredTaskDisplayArea; field in ActivityStarter 677 mPreferredTaskDisplayArea = starter.mPreferredTaskDisplayArea; in set() 1530 ? mLaunchParams.mPreferredTaskDisplayArea in startActivityUnchecked() 1725 final Task prevTopRootTask = mPreferredTaskDisplayArea.getFocusedRootTask(); in startActivityInner() 1814 final Task topRootTask = mPreferredTaskDisplayArea.getFocusedRootTask(); in startActivityInner() 1927 mPreferredWindowingMode, mPreferredTaskDisplayArea, mTargetRootTask); in startActivityInner() 2006 mPreferredTaskDisplayArea = mLaunchParams.hasPreferredTaskDisplayArea() in computeLaunchParams() 2007 ? mLaunchParams.mPreferredTaskDisplayArea in computeLaunchParams() 2017 ? mLaunchParams.mPreferredTaskDisplayArea in computeSuggestedLaunchDisplayArea() 2032 if (!mRootWindowContainer.canStartHomeOnDisplayArea(r.info, mPreferredTaskDisplayArea, in isAllowedToStart() [all …]
|
D | TaskLaunchParamsModifier.java | 135 outParams.mPreferredTaskDisplayArea = suggestedDisplayArea; in calculate() 249 && (currentParams.mPreferredTaskDisplayArea == null in calculate() 250 || currentParams.mPreferredTaskDisplayArea.getDisplayId() in calculate() 363 outParams.mPreferredTaskDisplayArea = taskDisplayArea; in calculate() 378 if (currentParams.mPreferredTaskDisplayArea != taskDisplayArea) { in calculate() 492 taskDisplayArea = currentParams.mPreferredTaskDisplayArea; in getPreferredLaunchTaskDisplayArea()
|
D | LaunchParamsPersister.java | 344 outParams.mPreferredTaskDisplayArea = display.getDefaultTaskDisplayArea(); in getLaunchParams()
|
D | RootWindowContainer.java | 3090 if (launchParams != null && launchParams.mPreferredTaskDisplayArea != null) { in getOrCreateRootTask() 3091 taskDisplayArea = launchParams.mPreferredTaskDisplayArea; in getOrCreateRootTask()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 110 mResult.mPreferredTaskDisplayArea); in testDefaultToPrimaryDisplayArea() 118 mCurrent.mPreferredTaskDisplayArea = display.getDefaultTaskDisplayArea(); in testUsesPreviousDisplayAreaIfSet() 122 assertEquals(display.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testUsesPreviousDisplayAreaIfSet() 132 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesSourcesDisplayAreaIfSet() 139 mResult.mPreferredTaskDisplayArea); in testUsesSourcesDisplayAreaIfSet() 149 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayIdIfSet() 159 mResult.mPreferredTaskDisplayArea); in testUsesOptionsDisplayIdIfSet() 169 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayAreaTokenIfSet() 180 mResult.mPreferredTaskDisplayArea); in testUsesOptionsDisplayAreaTokenIfSet() 190 mCurrent.mPreferredTaskDisplayArea = freeformDisplay.getDefaultTaskDisplayArea(); in testUsesOptionsDisplayAreaFeatureIdIfSet() [all …]
|
D | LaunchParamsPersisterTests.java | 180 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testSavesAndRestoresLaunchParamsInSameInstance() 194 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testFetchesSameResultWithActivity() 207 assertNull(mResult.mPreferredTaskDisplayArea); in testReturnsEmptyDisplayIfDisplayIsNotFound() 240 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testUsesRecordWithSameWindowLayoutAffinityInSameInstance_NoPreviousRecord() 258 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testUsesRecordWithSameWindowLayoutAffinityInSameInstance_HasOldPreviousRecord() 299 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testSavesAndRestoresLaunchParamsAcrossInstances() 318 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_NoPreviousRecord() 345 assertEquals(mTestDisplay.getDefaultTaskDisplayArea(), mResult.mPreferredTaskDisplayArea); in testUsesRecordWithSameWindowLayoutAffinityAcrossInstances_HasOldPreviousRecord()
|
D | LaunchParamsControllerTests.java | 114 expected.mPreferredTaskDisplayArea = mock(TaskDisplayArea.class); in testStoredParamsRecovery() 188 params.mPreferredTaskDisplayArea = mock(TaskDisplayArea.class); in testPassThrough() 244 result.mPreferredTaskDisplayArea); in testVrPreferredDisplay() 250 assertEquals(vrDisplay.getDefaultTaskDisplayArea(), result.mPreferredTaskDisplayArea); in testVrPreferredDisplay() 253 assertEquals(vrDisplay.getDefaultTaskDisplayArea(), result.mPreferredTaskDisplayArea); in testVrPreferredDisplay() 438 mTmpParams.mPreferredTaskDisplayArea = task.getDisplayArea(); in saveTask()
|
D | DesktopModeLaunchParamsModifierTests.java | 417 mCurrent.mPreferredTaskDisplayArea = mockTaskDisplayArea; in testUsesDisplayAreaAndWindowingModeFromSource() 421 assertEquals(mockTaskDisplayArea, mResult.mPreferredTaskDisplayArea); in testUsesDisplayAreaAndWindowingModeFromSource()
|
D | RootWindowContainerTests.java | 1178 launchParams.mPreferredTaskDisplayArea = taskDisplayArea; in testGetLaunchRootTaskOnSecondaryTaskDisplayArea()
|
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/ |
D | LaunchParamsWrapper.java | 60 return TaskDisplayAreaWrapper.create(mLaunchParams.mPreferredTaskDisplayArea); in getPreferredTaskDisplayArea() 67 mLaunchParams.mPreferredTaskDisplayArea = tda.getTaskDisplayArea(); in setPreferredTaskDisplayArea() 101 "mPreferredTaskDisplayArea=" + mLaunchParams.mPreferredTaskDisplayArea + in toString()
|
/frameworks/opt/car/services/updatableServices/tests/src/com/android/server/wm/ |
D | CarLaunchParamsModifierUpdatableTest.java | 264 mCurrentParams.mPreferredTaskDisplayArea = mBuiltin.getDefaultTaskDisplayAreaOnDisplay( in assertDisplayIsAllowed() 280 mCurrentParams.mPreferredTaskDisplayArea = requestedTaskDisplayArea; in assertDisplayIsReassigned() 285 assertThat(mOutParams.mPreferredTaskDisplayArea).isEqualTo(assignedTaskDisplayArea); in assertDisplayIsReassigned() 293 mCurrentParams.mPreferredTaskDisplayArea = null; in assertDisplayIsAssigned() 298 assertThat(mOutParams.mPreferredTaskDisplayArea).isEqualTo(expectedDisplayArea); in assertDisplayIsAssigned() 303 mCurrentParams.mPreferredTaskDisplayArea = null; in assertNoDisplayIsAssigned() 308 assertThat(mOutParams.mPreferredTaskDisplayArea).isNull(); in assertNoDisplayIsAssigned() 592 mCurrentParams.mPreferredTaskDisplayArea = null; in testSourceDisplayFromProcessDisplayIfAvailable() 598 assertThat(mOutParams.mPreferredTaskDisplayArea) in testSourceDisplayFromProcessDisplayIfAvailable() 620 mCurrentParams.mPreferredTaskDisplayArea = null; in testSourceDisplayFromLaunchingDisplayIfAvailable() [all …]
|