Home
last modified time | relevance | path

Searched refs:WINDOWING_MODE_PINNED (Results 1 – 25 of 54) sorted by relevance

123

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayWindowPolicyControllerTests.java21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
131 assertTrue(mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_PINNED)); in testIsWindowingModeSupported_noController_returnTrueForAnyWindowingMode()
138 assertFalse(mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_PINNED)); in testIsWindowingModeSupported_withoutSettingSupportedMode_returnFalse()
150 supportedWindowingMode.add(WINDOWING_MODE_PINNED); in testIsWindowingModeSupported_setPinnedMode_returnTrue()
154 assertTrue(mSecondaryDisplay.mDwpcHelper.isWindowingModeSupported(WINDOWING_MODE_PINNED)); in testIsWindowingModeSupported_setPinnedMode_returnTrue()
DDisplayWindowSettingsProviderTests.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
104 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage()
114 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage_LegacyDisplayId()
151 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage_UsePortAsId()
206 expectedSettings.mWindowingMode = WINDOWING_MODE_PINNED; in testReadingDisplaySettingsFromStorage_overrideSettingsTakePrecedenceOverVendor()
280 + " windowingMode=\"" + WINDOWING_MODE_PINNED + "\"/>\n"; in prepareOverrideDisplaySettings()
DTaskDisplayAreaTests.java27 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
207 mDisplayContent, WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD); in testRootTaskPositionChildAt()
240 mDisplayContent, WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD); in testRootTaskPositionBelowPinnedRootTask()
361 assertGetOrCreateRootTask(WINDOWING_MODE_PINNED, type, candidateTask, in testReuseTaskAsRootTask()
672 .createRootTask(WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, ON_TOP); in testFullscreenRootTaskCanBeFocusedWhenFocusablePinnedRootTaskExists()
737 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testAlwaysOnTopRootTaskLocation()
831 mDisplayContent, WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD); in getLaunchRootTaskInSplit()
DTaskSnapshotPersisterLoaderTest.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
331 .setWindowingMode(WINDOWING_MODE_PINNED) in testWindowingModePersistAndLoadSnapshot()
334 assertEquals(WINDOWING_MODE_PINNED, b.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
345 assertEquals(WINDOWING_MODE_PINNED, snapshotB.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
DDisplayRotationImmersiveAppCompatPolicyTests.java22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
188 when(mMockTask.getWindowingMode()).thenReturn(WINDOWING_MODE_PINNED); in testIsRotationLockEnforced_notFullscreen_lockNotEnforced()
DLaunchParamsControllerTests.java22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
115 expected.mWindowingMode = WINDOWING_MODE_PINNED; in testStoredParamsRecovery()
DZOrderingTests.java24 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
360 final WindowState pinnedStackWindow = createWindow(null, WINDOWING_MODE_PINNED, in testStackLayers()
DRootTaskTests.java26 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
474 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testShouldBeVisible_Fullscreen()
740 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testGetVisibility_FullscreenBehindTranslucentAndPip()
869 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testMoveHomeRootTaskBehindBottomMostVisible_MoveHomeBehindFullscreen()
950 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testSetAlwaysOnTop()
DTaskLaunchParamsModifierTests.java24 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
622 options.setLaunchWindowingMode(WINDOWING_MODE_PINNED); in testKeepsPictureInPictureLaunchModeInOptions()
629 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeInOptions()
639 options.setLaunchWindowingMode(WINDOWING_MODE_PINNED); in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
647 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
945 options.setLaunchWindowingMode(WINDOWING_MODE_PINNED); in testKeepsBoundsWithPictureInPictureLaunchModeInOptions()
DInsetsStateControllerTest.java21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
94 app.setWindowingMode(WINDOWING_MODE_PINNED); in testStripForDispatch_pip()
DTaskFragmentTest.java22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
417 task.setWindowingMode(WINDOWING_MODE_PINNED); in testIsReadyToTransit()
/frameworks/base/core/java/android/app/
DWindowConfiguration.java106 public static final int WINDOWING_MODE_PINNED = 2; field in WindowConfiguration
118 WINDOWING_MODE_PINNED,
826 return windowingMode == WINDOWING_MODE_FREEFORM || windowingMode == WINDOWING_MODE_PINNED; in isFloating()
844 return mWindowingMode != WINDOWING_MODE_PINNED; in canReceiveKeys()
853 if (mWindowingMode == WINDOWING_MODE_PINNED) return true; in isAlwaysOnTop()
866 return mWindowingMode != WINDOWING_MODE_PINNED; in keepVisibleDeadAppWindowOnScreen()
875 return mWindowingMode == WINDOWING_MODE_FREEFORM || mWindowingMode == WINDOWING_MODE_PINNED; in useWindowFrameForBackdrop()
883 return mWindowingMode != WINDOWING_MODE_PINNED; in hasMovementAnimations()
906 case WINDOWING_MODE_PINNED: return "pinned"; in windowingModeToString()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipUtils.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
57 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in getTopPipActivity()
DPipTransition.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
229 && currentPipTaskChange.getTaskInfo().getWindowingMode() != WINDOWING_MODE_PINNED) { in startAnimation()
662 && change.getTaskInfo().getWindowingMode() == WINDOWING_MODE_PINNED in isEnteringPip()
691 && change.getTaskInfo().getWindowingMode() == WINDOWING_MODE_PINNED) { in startEnterAnimation()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
DTaskContainer.java21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
151 return getWindowingMode() == WINDOWING_MODE_PINNED; in isInPictureInPicture()
/frameworks/base/libs/WindowManager/Jetpack/tests/unittest/src/androidx/window/extensions/embedding/
DTaskContainerTest.java22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
111 configuration.windowConfiguration.setWindowingMode(WINDOWING_MODE_PINNED); in testIsInPictureInPicture()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotPolicyImplTest.kt25 import android.app.WindowConfiguration.WINDOWING_MODE_PINNED
142 windowingMode = WINDOWING_MODE_PINNED in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipController.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
561 if (task.getWindowingMode() == WINDOWING_MODE_PINNED) { in registerTaskStackListenerCallback()
679 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in getPinnedTaskInfo()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskDisplayArea.java25 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
209 if (windowingMode == WINDOWING_MODE_PINNED) { in getRootTask()
273 if (windowingMode == WINDOWING_MODE_PINNED) {
1114 || candidateTask.getWindowingMode() != WINDOWING_MODE_PINNED)) {
1328 if (!supportsPip && windowingMode == WINDOWING_MODE_PINNED) {
1392 || (windowingMode == WINDOWING_MODE_PINNED && supportsPip);
DConfigurationContainer.java26 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
490 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_PINNED; in inPinnedWindowingMode()
DWindowToken.java19 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
657 == WINDOWING_MODE_PINNED) { in updateSurfaceRotation()
DTaskLaunchParamsModifier.java22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
283 if (launchMode == WINDOWING_MODE_PINNED) { in calculate()
575 && launchMode == WINDOWING_MODE_PINNED; in canApplyPipWindowPolicy()
DInsetsPolicy.java24 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
408 if (windowingMode == WINDOWING_MODE_PINNED) { in enforceInsetsPolicyForTarget()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotPolicyImpl.kt81 return info.windowingMode != WindowConfiguration.WINDOWING_MODE_PINNED && in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipController.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
555 .getRootTaskInfo(WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in onInit()
592 if (task.getWindowingMode() != WINDOWING_MODE_PINNED) { in onInit()
1147 .getRootTaskInfo(WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in onDisplayRotationChanged()

123