Home
last modified time | relevance | path

Searched refs:mWindowingMode (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/java/android/app/
DWindowConfiguration.java78 private @WindowingMode int mWindowingMode; field in WindowConfiguration
221 dest.writeInt(mWindowingMode); in writeToParcel()
231 mWindowingMode = source.readInt(); in readFromParcel()
330 mWindowingMode = windowingMode; in setWindowingMode()
335 return mWindowingMode; in getWindowingMode()
369 setWindowingMode(other.mWindowingMode); in setTo()
412 if (delta.mWindowingMode != WINDOWING_MODE_UNDEFINED in updateFrom()
413 && mWindowingMode != delta.mWindowingMode) { in updateFrom()
415 setWindowingMode(delta.mWindowingMode); in updateFrom()
464 if ((compareUndefined || other.mWindowingMode != WINDOWING_MODE_UNDEFINED) in diff()
[all …]
DActivityManager.java1844 private final int mWindowingMode; field in ActivityManager.TaskSnapshot
1864 mWindowingMode = windowingMode; in TaskSnapshot()
1881 mWindowingMode = source.readInt();
1954 return mWindowingMode;
1988 dest.writeInt(mWindowingMode);
2004 + " mIsRealSnapshot=" + mIsRealSnapshot + " mWindowingMode=" + mWindowingMode
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java145 && mTmpParams.mWindowingMode != task.getStack().getWindowingMode()) { in layoutTask()
146 task.getStack().setWindowingMode(mTmpParams.mWindowingMode); in layoutTask()
191 int mWindowingMode; field in LaunchParamsController.LaunchParams
197 mWindowingMode = WINDOWING_MODE_UNDEFINED; in reset()
204 mWindowingMode = params.mWindowingMode; in set()
210 && mWindowingMode == WINDOWING_MODE_UNDEFINED; in isEmpty()
214 return mWindowingMode != WINDOWING_MODE_UNDEFINED; in hasWindowingMode()
229 if (mWindowingMode != that.mWindowingMode) return false; in equals()
237 result = 31 * result + mWindowingMode; in hashCode()
DLaunchParamsPersister.java234 changed |= params.mWindowingMode != stack.getWindowingMode(); in saveTaskToLaunchParam()
235 params.mWindowingMode = stack.getWindowingMode(); in saveTaskToLaunchParam()
268 outParams.mWindowingMode = persistableParams.mWindowingMode; in getLaunchParams()
419 int mWindowingMode; field in LaunchParamsPersister.PersistableLaunchParams
424 Integer.toString(mWindowingMode)); in saveToXml()
436 mWindowingMode = Integer.parseInt(attrValue); in restoreFromXml()
452 builder.append("windowingMode=" + mWindowingMode); in toString()
DDisplayWindowSettings.java107 private int mWindowingMode = WindowConfiguration.WINDOWING_MODE_UNDEFINED; field in DisplayWindowSettings.Entry
131 mWindowingMode = copyFrom.mWindowingMode; in Entry()
149 && mWindowingMode == WindowConfiguration.WINDOWING_MODE_UNDEFINED in isEmpty()
273 int windowingMode = entry != null ? entry.mWindowingMode in getWindowingModeLocked()
302 entry.mWindowingMode = mode; in setWindowingModeLocked()
543 entry.mWindowingMode = getIntAttribute(parser, "windowingMode", in readDisplay()
617 if (entry.mWindowingMode != WindowConfiguration.WINDOWING_MODE_UNDEFINED) { in writeSettings()
618 out.attribute(null, "windowingMode", Integer.toString(entry.mWindowingMode)); in writeSettings()
DTaskLaunchParamsModifier.java215 launchMode = currentParams.mWindowingMode; in calculate()
254 outParams.mWindowingMode = launchMode == display.getWindowingMode() in calculate()
DRootActivityContainer.java1757 int windowingMode = launchParams != null ? launchParams.mWindowingMode in getLaunchStack()
1827 windowingMode = launchParams.mWindowingMode; in getValidLaunchStackOnDisplay()
DActivityStarter.java1481 final int preferredWindowingMode = mLaunchParams.mWindowingMode; in startActivityUnchecked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskLaunchParamsModifierTests.java233 assertEquivalentWindowingMode(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode, in testBoundsInOptionsInfersFreeformOnFreeformDisplay()
247 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testBoundsInOptionsInfersFreeformWithResizeableActivity()
264 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeInOptions()
282 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
296 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testKeepsFullscreenLaunchModeInOptionsOnNonFreeformDisplay()
313 assertEquivalentWindowingMode(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode, in testNonEmptyLayoutInfersFreeformOnFreeformDisplay()
330 assertEquivalentWindowingMode(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode, in testNonEmptyLayoutInfersFreeformWithEmptySize()
344 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testNonEmptyLayoutUsesFullscreenWithResizeableActivity()
354 mCurrent.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testRespectsFullyResolvedCurrentParam_Fullscreen()
359 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testRespectsFullyResolvedCurrentParam_Fullscreen()
[all …]
DTaskSnapshotPersisterTestBase.java117 private int mWindowingMode = WINDOWING_MODE_FULLSCREEN; field in TaskSnapshotPersisterTestBase.TaskSnapshotBuilder
141 mWindowingMode = windowingMode; in setWindowingMode()
159 mWindowingMode, mSystemUiVisibility, mIsTranslucent); in build()
DLaunchParamsPersisterTests.java148 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsByDefault()
162 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testSavesAndRestoresLaunchParamsInSameInstance()
176 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testFetchesSameResultWithActivity()
189 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testReturnsEmptyDisplayIfDisplayIsNotFound()
197 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsUserIdMismatch()
207 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsComponentMismatch()
226 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testSavesAndRestoresLaunchParamsAcrossInstances()
DLaunchParamsControllerTests.java112 expected.mWindowingMode = WINDOWING_MODE_PINNED; in testStoredParamsRecovery()
180 params.mWindowingMode = WINDOWING_MODE_FREEFORM; in testPassThrough()
299 params.mWindowingMode = windowingMode; in testLayoutTaskWindowingModeChange()
323 params.mWindowingMode = WINDOWING_MODE_FREEFORM; in testLayoutTaskBoundsChangeFreeformWindow()
346 params.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testLayoutTaskBoundsChangeFixedWindow()
426 mTmpParams.mWindowingMode = task.getWindowingMode(); in saveTask()
DActivityTestsBase.java872 private int mWindowingMode = WINDOWING_MODE_FULLSCREEN; field in ActivityTestsBase.StackBuilder
883 mWindowingMode = windowingMode; in setWindowingMode()
915 if (mWindowingMode == WINDOWING_MODE_PINNED) { in build()
917 mWindowingMode, ACTIVITY_TYPE_STANDARD, mOnTop) { in build()
930 mRootActivityContainer.mStackSupervisor, mWindowingMode, in build()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java151 private int mWindowingMode; field in ActivityManagerShellCommand
318 mWindowingMode = WINDOWING_MODE_UNDEFINED; in makeIntent()
372 mWindowingMode = Integer.parseInt(getNextArgRequired()); in makeIntent()
491 if (mWindowingMode != WINDOWING_MODE_UNDEFINED) {
495 options.setLaunchWindowingMode(mWindowingMode);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt1491 Landroid/app/ActivityManager$TaskSnapshot;->mWindowingMode:I
9709 Landroid/app/WindowConfiguration;->mWindowingMode:I