Home
last modified time | relevance | path

Searched refs:mPreferredDisplayId (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DLaunchParamsController.java127 && mTmpParams.mPreferredDisplayId != task.getStack().getDisplay().mDisplayId) { in layoutTask()
128 mService.moveStackToDisplay(task.getStackId(), mTmpParams.mPreferredDisplayId); in layoutTask()
167 int mPreferredDisplayId; field in LaunchParamsController.LaunchParams
175 mPreferredDisplayId = INVALID_DISPLAY; in reset()
182 mPreferredDisplayId = params.mPreferredDisplayId; in set()
188 return mBounds.isEmpty() && mPreferredDisplayId == INVALID_DISPLAY in isEmpty()
197 return mPreferredDisplayId != INVALID_DISPLAY; in hasPreferredDisplay()
207 if (mPreferredDisplayId != that.mPreferredDisplayId) return false; in equals()
215 result = 31 * result + mPreferredDisplayId; in hashCode()
DActivityStarter.java158 private int mPreferredDisplayId; field in ActivityStarter
443 mPreferredDisplayId = starter.mPreferredDisplayId; in set()
1247 preferredLaunchDisplayId = mLaunchParams.mPreferredDisplayId; in startActivityUnchecked()
1500 mPreferredDisplayId = INVALID_DISPLAY; in reset()
1539 mPreferredDisplayId = getPreferedDisplayId(mSourceRecord, mStartActivity, options); in setInitialState()
1802 intentActivity = mSupervisor.findTaskLocked(mStartActivity, mPreferredDisplayId); in getReusableIntentActivity()
2338 if (mPreferredDisplayId != DEFAULT_DISPLAY) { in computeStackFocus()
2340 stack = mSupervisor.getValidLaunchStackOnDisplay(mPreferredDisplayId, r); in computeStackFocus()
2345 + mPreferredDisplayId + ", looking on all displays."); in computeStackFocus()
2346 stack = mSupervisor.getNextValidLaunchStackLocked(r, mPreferredDisplayId); in computeStackFocus()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DLaunchParamsControllerTests.java149 params.mPreferredDisplayId = 3; in testPassThrough()
197 params.mPreferredDisplayId = 2; in testLayoutTaskPreferredDisplayChange()
206 eq(params.mPreferredDisplayId)); in testLayoutTaskPreferredDisplayChange()