Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/app/
DWindowConfiguration.java87 public static final int WINDOWING_MODE_PINNED = 2; field in WindowConfiguration
115 WINDOWING_MODE_PINNED,
680 return windowingMode == WINDOWING_MODE_FREEFORM || windowingMode == WINDOWING_MODE_PINNED; in isFloating()
697 return mWindowingMode != WINDOWING_MODE_PINNED; in canReceiveKeys()
706 return mWindowingMode == WINDOWING_MODE_PINNED in isAlwaysOnTop()
716 return mWindowingMode != WINDOWING_MODE_PINNED; in keepVisibleDeadAppWindowOnScreen()
725 return mWindowingMode == WINDOWING_MODE_FREEFORM || mWindowingMode == WINDOWING_MODE_PINNED; in useWindowFrameForBackdrop()
734 return mWindowingMode == WINDOWING_MODE_PINNED; in windowsAreScaleable()
742 return mWindowingMode != WINDOWING_MODE_PINNED; in hasMovementAnimations()
765 case WINDOWING_MODE_PINNED: return "pinned"; in windowingModeToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipUtils.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
44 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in getTopPinnedActivity()
DPipMotionHelper.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
129 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in synchronizePinnedStackBounds()
186 new int[]{ WINDOWING_MODE_PINNED }); in dismissPip()
547 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in handleMessage()
571 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in handleMessage()
DPipMenuActivityController.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
413 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in startMenuActivity()
452 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in updateMenuActions()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterLoaderTest.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
199 .setWindowingMode(WINDOWING_MODE_PINNED) in testWindowingModePersistAndLoadSnapshot()
202 assertEquals(WINDOWING_MODE_PINNED, b.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
211 assertEquals(WINDOWING_MODE_PINNED, snapshotB.getWindowingMode()); in testWindowingModePersistAndLoadSnapshot()
DTaskStackContainersTests.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
51 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, mDisplayContent); in setUp()
DZOrderingTests.java23 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
343 final WindowState pinnedStackWindow = createWindowOnStack(null, WINDOWING_MODE_PINNED, in testStackLayers()
429 final WindowState pinnedStackWindow = createWindowOnStack(null, WINDOWING_MODE_PINNED, in testDockedDividerPosition()
DActivityDisplayTests.java23 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
92 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, ON_TOP); in testFullscreenStackCanBeFocusedWhenFocusablePinnedStackExists()
246 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testAlwaysOnTopStackLocation()
DDisplayWindowSettingsTests.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
550 WINDOWING_MODE_PINNED, settings.getWindowingModeLocked(mPrimaryDisplay)); in testReadingDisplaySettingsFromStorage_UsePortAsId_IncorrectAddress()
626 + " windowingMode=\"" + WINDOWING_MODE_PINNED + "\"/>\n"; in prepareDisplaySettings()
637 WINDOWING_MODE_PINNED, settings.getWindowingModeLocked(displayContent)); in readAndAssertDisplaySettings()
DActivityStackTests.java24 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
322 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testShouldBeVisible_Fullscreen()
544 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testGetVisibility_FullscreenBehindTranslucentAndPip()
649 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testMoveHomeStackBehindBottomMostVisibleStack_MoveHomeBehindFullscreen()
744 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testSetAlwaysOnTop()
DTaskLaunchParamsModifierTests.java22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
257 options.setLaunchWindowingMode(WINDOWING_MODE_PINNED); in testKeepsPictureInPictureLaunchModeInOptions()
264 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeInOptions()
274 options.setLaunchWindowingMode(WINDOWING_MODE_PINNED); in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
282 assertEquivalentWindowingMode(WINDOWING_MODE_PINNED, mResult.mWindowingMode, in testKeepsPictureInPictureLaunchModeWithBoundsInOptions()
547 options.setLaunchWindowingMode(WINDOWING_MODE_PINNED); in testKeepsBoundsWithPictureInPictureLaunchModeInOptions()
DLaunchParamsControllerTests.java21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
112 expected.mWindowingMode = WINDOWING_MODE_PINNED; in testStoredParamsRecovery()
DRecentTasksTest.java25 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
362 setTaskWindowingMode(task2, WINDOWING_MODE_PINNED); in testAddTaskIncompatibleWindowingMode_expectNoRemove()
363 assertEquals(WINDOWING_MODE_PINNED, task2.getWindowingMode()); in testAddTaskIncompatibleWindowingMode_expectNoRemove()
830 WINDOWING_MODE_PINNED)); in testRemoveAllVisibleTasks()
DActivityTestsBase.java22 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
884 if (mWindowingMode == WINDOWING_MODE_PINNED) { in build()
DActivityStarterTests.java33 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
142 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */)) in testUpdateLaunchBounds()
DRootActivityContainerTests.java24 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
255 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, true /* onTop */); in testFocusability()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DWindowManagerWrapper.java76 public static final int WINDOWING_MODE_PINNED = WindowConfiguration.WINDOWING_MODE_PINNED; field in WindowManagerWrapper
DActivityManagerWrapper.java25 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
119 WINDOWING_MODE_PINNED /* ignoreWindowingMode */); in getRunningTask()
/frameworks/base/services/core/java/com/android/server/wm/
DPinnedStackController.java20 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
600 mService.getStackBounds(WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, mTmpRect); in dump()
629 mService.getStackBounds(WINDOWING_MODE_PINNED, ACTIVITY_TYPE_STANDARD, mTmpRect); in writeToProto()
DTaskLaunchParamsModifier.java21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
179 } else if (launchMode == WINDOWING_MODE_PINNED) { in calculate()
240 if (launchMode == WINDOWING_MODE_PINNED) { in calculate()
344 && launchMode == WINDOWING_MODE_PINNED; in canApplyPipWindowPolicy()
DConfigurationContainer.java26 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
431 return mFullConfiguration.windowConfiguration.getWindowingMode() == WINDOWING_MODE_PINNED; in inPinnedWindowingMode()
DActivityDisplay.java28 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
345 if (windowingMode == WINDOWING_MODE_PINNED) { in getStack()
461 if (windowingMode == WINDOWING_MODE_PINNED && activityType != ACTIVITY_TYPE_STANDARD) { in createStackUnchecked()
710 if (windowingMode == WINDOWING_MODE_PINNED) { in addStackReferenceIfNeeded()
828 if (!supportsPip && windowingMode == WINDOWING_MODE_PINNED) { in isWindowingModeSupported()
DActivityStackSupervisor.java36 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
1455 && options.getLaunchWindowingMode() == WINDOWING_MODE_PINNED) in canUseActivityOptionsLaunchBounds()
1496 final boolean inPinnedWindowingMode = windowingMode == WINDOWING_MODE_PINNED; in moveTasksToFullscreenStackInSurfaceTransaction()
1735 if (stack.getWindowingMode() == WINDOWING_MODE_PINNED) { in removeStackInSurfaceTransaction()
DActivityMetricsLogger.java11 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
295 if (windowingMode == WINDOWING_MODE_PINNED) { in logWindowState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java21 import static android.app.WindowConfiguration.WINDOWING_MODE_PINNED;
523 WINDOWING_MODE_PINNED, ACTIVITY_TYPE_UNDEFINED); in getPinnedStackInfo()

12