Searched refs:mPreferredDisplayId (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LaunchParamsController.java | 111 result.mPreferredDisplayId = DEFAULT_DISPLAY; in calculate() 115 result.mPreferredDisplayId = mService.mVr2dDisplayId; in calculate() 140 && mTmpParams.mPreferredDisplayId != task.getStack().getDisplay().mDisplayId) { in layoutTask() 141 mService.moveStackToDisplay(task.getStackId(), mTmpParams.mPreferredDisplayId); in layoutTask() 188 int mPreferredDisplayId; field in LaunchParamsController.LaunchParams 196 mPreferredDisplayId = INVALID_DISPLAY; in reset() 203 mPreferredDisplayId = params.mPreferredDisplayId; in set() 209 return mBounds.isEmpty() && mPreferredDisplayId == INVALID_DISPLAY in isEmpty() 218 return mPreferredDisplayId != INVALID_DISPLAY; in hasPreferredDisplay() 228 if (mPreferredDisplayId != that.mPreferredDisplayId) return false; in equals() [all …]
|
D | ActivityStarter.java | 176 private int mPreferredDisplayId; field in ActivityStarter 472 mPreferredDisplayId = starter.mPreferredDisplayId; in set() 1494 mPreferredDisplayId = in startActivityUnchecked() 1495 mLaunchParams.hasPreferredDisplay() ? mLaunchParams.mPreferredDisplayId in startActivityUnchecked() 1510 mPreferredDisplayId, true /* allowInstrumenting */)) { in startActivityUnchecked() 1511 Slog.w(TAG, "Cannot launch home on display " + mPreferredDisplayId); in startActivityUnchecked() 1655 && (!top.isActivityTypeHome() || top.getDisplayId() == mPreferredDisplayId); in startActivityUnchecked() 1674 mPreferredDisplayId, topStack); in startActivityUnchecked() local 1755 preferredWindowingMode, mPreferredDisplayId, mTargetStack); in startActivityUnchecked() local 1781 mPreferredDisplayId = INVALID_DISPLAY; in reset() [all …]
|
D | TaskLaunchParamsModifier.java | 150 outParams.mPreferredDisplayId = displayId; in calculate() 153 appendLog("display-id=" + outParams.mPreferredDisplayId + " display-windowing-mode=" in calculate() 213 || displayId == currentParams.mPreferredDisplayId)) { in calculate() 272 if (currentParams.mPreferredDisplayId != displayId) { in calculate() 328 displayId = currentParams.mPreferredDisplayId; in getPreferredLaunchDisplay() 330 displayId = (displayId == INVALID_DISPLAY) ? currentParams.mPreferredDisplayId : displayId; in getPreferredLaunchDisplay()
|
D | LaunchParamsPersister.java | 266 outParams.mPreferredDisplayId = display.mDisplayId; in getLaunchParams()
|
D | RootActivityContainer.java | 1717 if (launchParams != null && launchParams.mPreferredDisplayId != INVALID_DISPLAY) { in getLaunchStack() 1718 displayId = launchParams.mPreferredDisplayId; in getLaunchStack()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskLaunchParamsModifierTests.java | 107 assertEquals(DEFAULT_DISPLAY, mResult.mPreferredDisplayId); in testDefaultToPrimaryDisplay() 112 mCurrent.mPreferredDisplayId = 19; in testUsesDefaultDisplayIfPreviousDisplayNotExists() 117 assertEquals(DEFAULT_DISPLAY, mResult.mPreferredDisplayId); in testUsesDefaultDisplayIfPreviousDisplayNotExists() 125 mCurrent.mPreferredDisplayId = display.mDisplayId; in testUsesPreviousDisplayIdIfSet() 130 assertEquals(display.mDisplayId, mResult.mPreferredDisplayId); in testUsesPreviousDisplayIdIfSet() 140 mCurrent.mPreferredDisplayId = freeformDisplay.mDisplayId; in testUsesSourcesDisplayIdIfSet() 147 assertEquals(fullscreenDisplay.mDisplayId, mResult.mPreferredDisplayId); in testUsesSourcesDisplayIdIfSet() 157 mCurrent.mPreferredDisplayId = freeformDisplay.mDisplayId; in testUsesOptionsDisplayIdIfSet() 166 assertEquals(fullscreenDisplay.mDisplayId, mResult.mPreferredDisplayId); in testUsesOptionsDisplayIdIfSet() 176 mCurrent.mPreferredDisplayId = freeformDisplay.mDisplayId; in testUsesTasksDisplayIdPriorToSourceIfSet() [all …]
|
D | LaunchParamsControllerTests.java | 111 expected.mPreferredDisplayId = 3; in testStoredParamsRecovery() 182 params.mPreferredDisplayId = 3; in testPassThrough() 237 assertEquals(DEFAULT_DISPLAY, result.mPreferredDisplayId); in testVrPreferredDisplay() 243 assertEquals(vr2dDisplayId, result.mPreferredDisplayId); in testVrPreferredDisplay() 246 assertEquals(vr2dDisplayId, result.mPreferredDisplayId); in testVrPreferredDisplay() 279 params.mPreferredDisplayId = 2; in testLayoutTaskPreferredDisplayChange() 288 eq(params.mPreferredDisplayId)); in testLayoutTaskPreferredDisplayChange() 425 mTmpParams.mPreferredDisplayId = task.getStack().mDisplayId; in saveTask()
|
D | LaunchParamsPersisterTests.java | 161 assertEquals(mTestDisplay.mDisplayId, mResult.mPreferredDisplayId); in testSavesAndRestoresLaunchParamsInSameInstance() 175 assertEquals(mTestDisplay.mDisplayId, mResult.mPreferredDisplayId); in testFetchesSameResultWithActivity() 188 assertEquals(INVALID_DISPLAY, mResult.mPreferredDisplayId); in testReturnsEmptyDisplayIfDisplayIsNotFound() 225 assertEquals(mTestDisplay.mDisplayId, mResult.mPreferredDisplayId); in testSavesAndRestoresLaunchParamsAcrossInstances()
|