Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DWindowConfiguration.java101 private @WindowingMode int mWindowingMode; field in WindowConfiguration
229 dest.writeInt(mWindowingMode); in writeToParcel()
241 mWindowingMode = source.readInt(); in readFromParcel()
397 mWindowingMode = windowingMode; in setWindowingMode()
402 return mWindowingMode; in getWindowingMode()
432 setWindowingMode(other.mWindowingMode); in setTo()
505 if (delta.mWindowingMode != WINDOWING_MODE_UNDEFINED in updateFrom()
506 && mWindowingMode != delta.mWindowingMode) { in updateFrom()
508 setWindowingMode(delta.mWindowingMode); in updateFrom()
547 setWindowingMode(delta.mWindowingMode); in setTo()
[all …]
/frameworks/base/core/java/android/window/
DTaskFragmentCreationParams.java67 private final int mWindowingMode; field in TaskFragmentCreationParams
129 mWindowingMode = windowingMode; in TaskFragmentCreationParams()
158 return mWindowingMode; in getWindowingMode()
194 mWindowingMode = in.readInt(); in TaskFragmentCreationParams()
208 dest.writeInt(mWindowingMode); in writeToParcel()
236 + " windowingMode=" + mWindowingMode in toString()
266 private int mWindowingMode = WINDOWING_MODE_UNDEFINED; field in TaskFragmentCreationParams.Builder
298 mWindowingMode = windowingMode; in setWindowingMode()
376 mInitialRelativeBounds, mWindowingMode, mPairedPrimaryFragmentToken, in build()
DTaskSnapshot.java70 private final int mWindowingMode; field in TaskSnapshot
113 mWindowingMode = windowingMode; in TaskSnapshot()
135 mWindowingMode = source.readInt();
264 return mWindowingMode;
294 dest.writeInt(mWindowingMode);
317 + " mWindowingMode=" + mWindowingMode
367 private int mWindowingMode;
433 mWindowingMode = windowingMode;
481 mWindowingMode,
DWindowContainerTransaction.java247 chg.mWindowingMode = windowingMode; in setWindowingMode()
1104 private int mWindowingMode = -1; field in WindowContainerTransaction.Change
1136 mWindowingMode = in.readInt(); in Change()
1175 if (other.mWindowingMode >= 0) { in merge()
1176 mWindowingMode = other.mWindowingMode; in merge()
1192 return mWindowingMode; in getWindowingMode()
1368 dest.writeInt(mWindowingMode); in writeToParcel()
/frameworks/base/services/core/java/com/android/server/wm/
DLaunchParamsController.java188 int mWindowingMode; field in LaunchParamsController.LaunchParams
194 mWindowingMode = WINDOWING_MODE_UNDEFINED; in reset()
201 mWindowingMode = params.mWindowingMode; in set()
207 && mWindowingMode == WINDOWING_MODE_UNDEFINED; in isEmpty()
211 return mWindowingMode != WINDOWING_MODE_UNDEFINED; in hasWindowingMode()
226 if (mWindowingMode != that.mWindowingMode) return false; in equals()
235 result = 31 * result + mWindowingMode; in hashCode()
DDisplayWindowSettings.java132 int windowingMode = settings.mWindowingMode; in getWindowingModeLocked()
161 overrideSettings.mWindowingMode = mode; in setWindowingModeLocked()
432 int mWindowingMode = WindowConfiguration.WINDOWING_MODE_UNDEFINED; field in DisplayWindowSettings.SettingsProvider.SettingsEntry
481 if (other.mWindowingMode != mWindowingMode) { in setTo()
482 mWindowingMode = other.mWindowingMode; in setTo()
561 if (delta.mWindowingMode != WindowConfiguration.WINDOWING_MODE_UNDEFINED in updateFrom()
562 && delta.mWindowingMode != mWindowingMode) { in updateFrom()
563 mWindowingMode = delta.mWindowingMode; in updateFrom()
643 return mWindowingMode == WindowConfiguration.WINDOWING_MODE_UNDEFINED in isEmpty()
664 return mWindowingMode == that.mWindowingMode in equals()
[all …]
DLaunchParamsPersister.java266 changed |= params.mWindowingMode != task.getWindowingMode(); in saveTaskToLaunchParam()
267 params.mWindowingMode = task.getWindowingMode(); in saveTaskToLaunchParam()
346 outParams.mWindowingMode = persistableParams.mWindowingMode; in getLaunchParams()
499 int mWindowingMode; field in LaunchParamsPersister.PersistableLaunchParams
515 serializer.attributeInt(null, ATTR_WINDOWING_MODE, mWindowingMode); in saveToXml()
530 mWindowingMode = Integer.parseInt(attrValue); in restore()
554 builder.append(" windowingMode=" + mWindowingMode); in toString()
DDesktopModeLaunchParamsModifier.java113 outParams.mWindowingMode = sourceTask.getWindowingMode(); in calculate()
114 appendLog("inherit-from-source=" + outParams.mWindowingMode); in calculate()
DDisplayWindowSettingsProvider.java437 settingsEntry.mWindowingMode = getIntAttribute(parser, "windowingMode", in readDisplay()
519 if (settingsEntry.mWindowingMode != WindowConfiguration.WINDOWING_MODE_UNDEFINED) { in writeSettings()
520 out.attributeInt(null, "windowingMode", settingsEntry.mWindowingMode); in writeSettings()
DSnapshotController.java88 if (info.mWindowingMode == WINDOWING_MODE_PINNED) continue; in onTransactionReady()
DTaskLaunchParamsModifier.java256 launchMode = currentParams.mWindowingMode; in calculate()
307 outParams.mWindowingMode = launchMode == suggestedDisplayArea.getWindowingMode() in calculate()
340 outParams.mWindowingMode = (launchMode == mTmpDisplayArea.getWindowingMode()) in calculate()
DTask.java6438 private int mWindowingMode = WINDOWING_MODE_UNDEFINED;
6531 mWindowingMode = windowingMode;
6536 return mWindowingMode;
6709 if (!TaskDisplayArea.isWindowingModeSupported(mWindowingMode,
6714 + "windowingMode=" + mWindowingMode);
6717 if (mWindowingMode == WINDOWING_MODE_PINNED
6724 if (mWindowingMode == WINDOWING_MODE_PINNED && tda.getRootPinnedTask() != null) {
6735 ? null : tda.getLaunchRootTask(mWindowingMode, mActivityType, mActivityOptions,
6740 mWindowingMode = WINDOWING_MODE_UNDEFINED;
6789 if (mWindowingMode != WINDOWING_MODE_UNDEFINED) {
[all …]
/frameworks/opt/car/services/builtInServices/src/com/android/server/wm/
DLaunchParamsWrapper.java74 return mLaunchParams.mWindowingMode; in getWindowingMode()
81 mLaunchParams.mWindowingMode = windowingMode; in setWindowingMode()
102 ", mWindowingMode=" + mLaunchParams.mWindowingMode + in toString()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLaunchParamsPersisterTests.java156 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsByDefault()
181 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testSavesAndRestoresLaunchParamsInSameInstance()
195 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testFetchesSameResultWithActivity()
208 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testReturnsEmptyDisplayIfDisplayIsNotFound()
216 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsUserIdMismatch()
226 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsComponentMismatch()
241 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testUsesRecordWithSameWindowLayoutAffinityInSameInstance_NoPreviousRecord()
259 assertEquals(TEST_WINDOWING_MODE, mResult.mWindowingMode); in testUsesRecordWithSameWindowLayoutAffinityInSameInstance_HasOldPreviousRecord()
269 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsUidInLaunchAffinityMismatch()
281 mResult.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReturnsEmptyLaunchParamsWindowLayoutAffinityMismatch()
[all …]
DTaskLaunchParamsModifierTests.java608 assertEquivalentWindowingMode(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode, in testBoundsInOptionsInfersFreeformOnFreeformDisplay()
630 assertEquals(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode); in testLaunchWindowingModeUpdatesExistingTask()
643 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testBoundsInOptionsInfersFreeformWithResizeableActivity()
665 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testBoundsInOptionsInfersFullscreenWithBoundsOnFreeformSupportFullscreenDisplay()
680 assertEquivalentWindowingMode(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode, in testInheritsFreeformModeFromSourceOnFullscreenDisplay()
695 assertEquivalentWindowingMode(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode, in testInheritsSourceTaskWindowingModeWhenActivityIsInDifferentWindowingMode()
713 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testDoesNotInheritsSourceTaskWindowingModeWhenActivityIsInFreeformWindowingMode()
731 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeInOptions()
749 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
763 assertEquivalentWindowingMode(WINDOWING_MODE_FULLSCREEN, mResult.mWindowingMode, in testKeepsFullscreenLaunchModeInOptionsOnNonFreeformDisplay()
[all …]
DDisplayWindowSettingsProviderTests.java106 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage()
116 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage_LegacyDisplayId()
153 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage_UsePortAsId()
185 expectedSettings.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
190 expectedSettings.mWindowingMode = WINDOWING_MODE_UNDEFINED; in testReadingDisplaySettingsFromStorage_secondayVendorDisplaySettingsLocation()
208 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage_overrideSettingsTakePrecedenceOverVendor()
DTaskSnapshotPersisterTestBase.java159 private int mWindowingMode = WINDOWING_MODE_FULLSCREEN; field in TaskSnapshotPersisterTestBase.TaskSnapshotBuilder
190 mWindowingMode = windowingMode; in setWindowingMode()
229 mIsRealSnapshot, mWindowingMode, mSystemUiVisibility, mIsTranslucent, in build()
DTestDisplayContent.java94 private int mWindowingMode = WINDOWING_MODE_FULLSCREEN; field in TestDisplayContent.Builder
176 mWindowingMode = windowingMode; in setWindowingMode()
227 c.windowConfiguration.setWindowingMode(mWindowingMode); in build()
DLaunchParamsControllerTests.java115 expected.mWindowingMode = WINDOWING_MODE_PINNED; in testStoredParamsRecovery()
186 params.mWindowingMode = WINDOWING_MODE_FREEFORM; in testPassThrough()
286 params.mWindowingMode = windowingMode; in testLayoutNonRootTaskWindowingModeChange()
359 params.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in testLayoutTaskBoundsChangeFixedWindow()
439 mTmpParams.mWindowingMode = task.getWindowingMode(); in saveTask()
DDesktopModeLaunchParamsModifierTests.java418 mCurrent.mWindowingMode = WINDOWING_MODE_FREEFORM; in testUsesDisplayAreaAndWindowingModeFromSource()
422 assertEquals(WINDOWING_MODE_FREEFORM, mResult.mWindowingMode); in testUsesDisplayAreaAndWindowingModeFromSource()
DWindowTestsBase.java1607 private int mWindowingMode = WINDOWING_MODE_UNDEFINED; field in WindowTestsBase.TaskBuilder
1666 mWindowingMode = windowingMode; in setWindowingMode()
1745 .setWindowingMode(mWindowingMode) in build()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestRunningTaskInfoBuilder.java45 private @WindowConfiguration.WindowingMode int mWindowingMode = WINDOWING_MODE_UNDEFINED; field in TestRunningTaskInfoBuilder
91 mWindowingMode = windowingMode; in setWindowingMode()
129 info.configuration.windowConfiguration.setWindowingMode(mWindowingMode); in build()
/frameworks/opt/car/services/builtInServices/tests/src/com/android/server/wm/
DCalculateParamsTest.java59 mCurrentParams.mWindowingMode = WINDOWING_MODE_FULLSCREEN; in createReturnsCalculateParams()
60 mOutParms.mWindowingMode = WINDOWING_MODE_MULTI_WINDOW; in createReturnsCalculateParams()
/frameworks/base/core/tests/coretests/src/android/view/
DWindowLayoutTests.java78 private int mWindowingMode; field in WindowLayoutTests
95 mWindowingMode = WindowConfiguration.WINDOWING_MODE_FULLSCREEN; in setUp()
105 mWindowingMode, mRequestedWidth, mRequestedHeight, mRequestedVisibleTypes, in computeFrames()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java210 private int mWindowingMode; field in ActivityManagerShellCommand
534 mWindowingMode = WINDOWING_MODE_UNDEFINED; in makeIntent()
599 mWindowingMode = Integer.parseInt(getNextArgRequired()); in makeIntent()
754 if (mWindowingMode != WINDOWING_MODE_UNDEFINED) {
758 options.setLaunchWindowingMode(mWindowingMode);

12