Home
last modified time | relevance | path

Searched refs:canEnterDesktopMode (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/
DFreeformTaskListener.java77 if (DesktopModeStatus.canEnterDesktopMode(mContext)) { in onInit()
99 if (DesktopModeStatus.canEnterDesktopMode(mContext)) { in onTaskAppeared()
121 if (DesktopModeStatus.canEnterDesktopMode(mContext)) { in onTaskVanished()
146 if (DesktopModeStatus.canEnterDesktopMode(mContext)) { in onTaskInfoChanged()
168 if (DesktopModeStatus.canEnterDesktopMode(mContext) && taskInfo.isFocused) { in onFocusTaskChanged()
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/
DDesktopModeStatus.java159 public static boolean canEnterDesktopMode(@NonNull Context context) { in canEnterDesktopMode() method in DesktopModeStatus
/frameworks/base/services/core/java/com/android/server/wm/
DDesktopModeLaunchParamsModifier.java86 if (!canEnterDesktopMode(mContext)) { in calculate()
220 static boolean canEnterDesktopMode(@NonNull Context context) { in canEnterDesktopMode() method in DesktopModeLaunchParamsModifier
DDisplayContent.java1239 && DesktopModeLaunchParamsModifier.canEnterDesktopMode(mWmService.mContext); in DisplayContent()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDesktopTasksTransitionObserver.kt46 DesktopModeStatus.canEnterDesktopMode(context)) { in <lambda>()
DDesktopModeLoggerTransitionObserver.kt71 Transitions.ENABLE_SHELL_TRANSITIONS && DesktopModeStatus.canEnterDesktopMode(context) in <lambda>()
DDesktopTasksController.kt182 if (DesktopModeStatus.canEnterDesktopMode(context)) { in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DDesktopModeWindowDecorViewModel.java286 if (decor != null && DesktopModeStatus.canEnterDesktopMode(mContext)) { in setSplitScreenController()
627 if (DesktopModeStatus.canEnterDesktopMode(mContext) in handleMotionEvent()
804 if (DesktopModeStatus.canEnterDesktopMode(mContext)) { in handleReceivedMotionEvent()
813 if (DesktopModeStatus.canEnterDesktopMode(mContext)) { in handleReceivedMotionEvent()
871 if (DesktopModeStatus.canEnterDesktopMode(mContext)) { in handleCaptionThroughStatusBar()
1050 return DesktopModeStatus.canEnterDesktopMode(mContext) in shouldShowWindowDecor()
1132 + DesktopModeStatus.canEnterDesktopMode(mContext)); in dump()
DDragPositioningCallbackUtility.java219 return DesktopModeStatus.canEnterDesktopMode(context) in isSizeConstraintForDesktopModeEnabled()
DDesktopModeWindowDecoration.java748 .setWindowingButtonsVisible(DesktopModeStatus.canEnterDesktopMode(mContext))
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/freeform/
DFreeformTaskListenerTests.java76 doReturn(true).when(() -> DesktopModeStatus.canEnterDesktopMode(any())); in setup()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DDragPositioningCallbackUtilityTest.kt241 whenever(DesktopModeStatus.canEnterDesktopMode(mockContext)).thenReturn(true) in <lambda>()
264 whenever(DesktopModeStatus.canEnterDesktopMode(mockContext)).thenReturn(true) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentTasksController.java364 || (DesktopModeStatus.canEnterDesktopMode(mContext) in shouldEnableRunningTasksForDesktopMode()
409 if (DesktopModeStatus.canEnterDesktopMode(mContext) in getRecentTasks()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/
DWMShellModule.java224 if (DesktopModeStatus.canEnterDesktopMode(context)) { in provideWindowDecorViewModel()
544 if (!DesktopModeStatus.canEnterDesktopMode(context) in provideDesktopTasksLimiter()
DWMShellBaseModule.java902 if (DesktopModeStatus.canEnterDesktopMode(context)) { in providesDesktopTasksController()
921 if (DesktopModeStatus.canEnterDesktopMode(context)) {
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksLimiterTest.kt75 doReturn(true).`when`{ DesktopModeStatus.canEnterDesktopMode(any()) } in setUp()
DDesktopModeLoggerTransitionObserverTest.kt101 doReturn(true).`when` { DesktopModeStatus.canEnterDesktopMode(any()) } in setup()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DRecentTasksControllerTest.java135 .when(() -> DesktopModeStatus.canEnterDesktopMode(any())); in setUp()
374 .when(() -> DesktopModeStatus.canEnterDesktopMode(any())); in testGetRecentTasks_hasActiveDesktopTasks_proto2Disabled_doNotGroupFreeformTasks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyService.java711 if (DesktopModeStatus.canEnterDesktopMode(mContext) in OverviewProxyService()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayContentTests.java2833 DesktopModeLaunchParamsModifier.canEnterDesktopMode(any())); in cameraCompatFreeformFlagEnabled_cameraCompatFreeformPolicyNotNull()
2842 DesktopModeLaunchParamsModifier.canEnterDesktopMode(any())); in cameraCompatFreeformFlagNotEnabled_cameraCompatFreeformPolicyIsNull()