Home
last modified time | relevance | path

Searched refs:mTmpParams (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java49 private final LaunchParams mTmpParams = new LaunchParams(); field in LaunchParamsController
129 calculate(task, layout, activity, source, options, PHASE_BOUNDS, mTmpParams); in layoutTask()
132 if (mTmpParams.isEmpty()) { in layoutTask()
139 if (mTmpParams.hasPreferredDisplay() in layoutTask()
140 && mTmpParams.mPreferredDisplayId != task.getStack().getDisplay().mDisplayId) { in layoutTask()
141 mService.moveStackToDisplay(task.getStackId(), mTmpParams.mPreferredDisplayId); in layoutTask()
144 if (mTmpParams.hasWindowingMode() in layoutTask()
145 && mTmpParams.mWindowingMode != task.getStack().getWindowingMode()) { in layoutTask()
146 task.getStack().setWindowingMode(mTmpParams.mWindowingMode); in layoutTask()
149 if (mTmpParams.mBounds.isEmpty()) { in layoutTask()
[all …]
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsControllerTests.java392 private final LaunchParams mTmpParams = new LaunchParams(); field in LaunchParamsControllerTests.TestLaunchParamsPersister
425 mTmpParams.mPreferredDisplayId = task.getStack().mDisplayId; in saveTask()
426 mTmpParams.mWindowingMode = task.getWindowingMode(); in saveTask()
428 mTmpParams.mBounds.set(task.mLastNonFullscreenBounds); in saveTask()
430 mTmpParams.mBounds.setEmpty(); in saveTask()
432 putLaunchParams(userId, realActivity, mTmpParams); in saveTask()