/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | DisplayWindowPolicyControllerTests.java | 21 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()
|
D | DisplayWindowSettingsProviderTests.java | 20 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()
|
D | TaskDisplayAreaTests.java | 27 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()
|
D | TaskSnapshotPersisterLoaderTest.java | 20 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()
|
D | DisplayRotationImmersiveAppCompatPolicyTests.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 188 when(mMockTask.getWindowingMode()).thenReturn(WINDOWING_MODE_PINNED); in testIsRotationLockEnforced_notFullscreen_lockNotEnforced()
|
D | LaunchParamsControllerTests.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 115 expected.mWindowingMode = WINDOWING_MODE_PINNED; in testStoredParamsRecovery()
|
D | ZOrderingTests.java | 24 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 360 final WindowState pinnedStackWindow = createWindow(null, WINDOWING_MODE_PINNED, in testStackLayers()
|
D | RootTaskTests.java | 26 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()
|
D | TaskLaunchParamsModifierTests.java | 24 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()
|
D | InsetsStateControllerTest.java | 21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 94 app.setWindowingMode(WINDOWING_MODE_PINNED); in testStripForDispatch_pip()
|
D | TaskFragmentTest.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 417 task.setWindowingMode(WINDOWING_MODE_PINNED); in testIsReadyToTransit()
|
/frameworks/base/core/java/android/app/ |
D | WindowConfiguration.java | 106 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/ |
D | PipUtils.java | 20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 57 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in getTopPipActivity()
|
D | PipTransition.java | 20 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/ |
D | TaskContainer.java | 21 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/ |
D | TaskContainerTest.java | 22 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/ |
D | ScreenshotPolicyImplTest.kt | 25 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/ |
D | TvPipController.java | 20 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/ |
D | TaskDisplayArea.java | 25 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);
|
D | ConfigurationContainer.java | 26 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 490 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_PINNED; in inPinnedWindowingMode()
|
D | WindowToken.java | 19 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 657 == WINDOWING_MODE_PINNED) { in updateSurfaceRotation()
|
D | TaskLaunchParamsModifier.java | 22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED; 283 if (launchMode == WINDOWING_MODE_PINNED) { in calculate() 575 && launchMode == WINDOWING_MODE_PINNED; in canApplyPipWindowPolicy()
|
D | InsetsPolicy.java | 24 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/ |
D | ScreenshotPolicyImpl.kt | 81 return info.windowingMode != WindowConfiguration.WINDOWING_MODE_PINNED && in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/ |
D | PipController.java | 20 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()
|