/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/freeform/ |
D | FreeformTaskListener.java | 32 import com.android.wm.shell.shared.DesktopModeStatus; 77 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/tests/unittest/src/com/android/wm/shell/freeform/ |
D | FreeformTaskListenerTests.java | 39 import com.android.wm.shell.shared.DesktopModeStatus; 75 .strictness(Strictness.LENIENT).mockStatic(DesktopModeStatus.class).startMocking(); in setup() 76 doReturn(true).when(() -> DesktopModeStatus.canEnterDesktopMode(any())); in setup()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorViewModelTests.kt | 71 import com.android.wm.shell.shared.DesktopModeStatus 456 .spyStatic(DesktopModeStatus::class.java) in testWindowDecor_desktopModeUnsupportedOnDevice_decorNotCreated() 460 whenever(DesktopModeStatus.enforceDeviceRestrictions()).thenReturn(true) in testWindowDecor_desktopModeUnsupportedOnDevice_decorNotCreated() 464 doReturn(false).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in testWindowDecor_desktopModeUnsupportedOnDevice_decorNotCreated() 479 .spyStatic(DesktopModeStatus::class.java) in testWindowDecor_desktopModeUnsupportedOnDevice_deviceRestrictionsOverridden_decorCreated() 483 whenever(DesktopModeStatus.enforceDeviceRestrictions()).thenReturn(false) in testWindowDecor_desktopModeUnsupportedOnDevice_deviceRestrictionsOverridden_decorCreated() 485 doReturn(false).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in testWindowDecor_desktopModeUnsupportedOnDevice_deviceRestrictionsOverridden_decorCreated() 503 .spyStatic(DesktopModeStatus::class.java) in testWindowDecor_deviceSupportsDesktopMode_decorCreated() 507 whenever(DesktopModeStatus.enforceDeviceRestrictions()).thenReturn(true) in testWindowDecor_deviceSupportsDesktopMode_decorCreated() 510 doReturn(true).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in testWindowDecor_deviceSupportsDesktopMode_decorCreated()
|
D | DesktopModeWindowDecorationTests.java | 77 import com.android.wm.shell.shared.DesktopModeStatus; 160 .spyStatic(DesktopModeStatus.class) in setUp() 162 when(DesktopModeStatus.useDesktopOverrideDensity()).thenReturn(false); in setUp() 251 when(DesktopModeStatus.useDesktopOverrideDensity()).thenReturn(true); in updateRelayoutParams_appHeader_usesSystemDensity()
|
D | DragPositioningCallbackUtilityTest.kt | 32 import com.android.wm.shell.shared.DesktopModeStatus in <lambda>() 241 whenever(DesktopModeStatus.canEnterDesktopMode(mockContext)).thenReturn(true) in <lambda>() 264 whenever(DesktopModeStatus.canEnterDesktopMode(mockContext)).thenReturn(true) in <lambda>()
|
D | WindowDecorationTests.java | 78 import com.android.wm.shell.shared.DesktopModeStatus; 508 DesktopModeStatus.class).strictness( in testRelayout_fluidResizeEnabled_freeformTask_setTaskSurfaceColor() 510 when(DesktopModeStatus.isVeiledResizeEnabled()).thenReturn(false); in testRelayout_fluidResizeEnabled_freeformTask_setTaskSurfaceColor() 576 DesktopModeStatus.class).strictness(LENIENT).startMocking(); in testRelayout_fluidResizeEnabled_fullscreenTask_clearTaskSurfaceColor() 577 when(DesktopModeStatus.isVeiledResizeEnabled()).thenReturn(false); in testRelayout_fluidResizeEnabled_fullscreenTask_clearTaskSurfaceColor()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/ |
D | DesktopTasksTransitionObserver.kt | 26 import com.android.wm.shell.shared.DesktopModeStatus in <lambda>() 46 DesktopModeStatus.canEnterDesktopMode(context)) { in <lambda>()
|
D | DesktopTasksLimiter.kt | 28 import com.android.wm.shell.shared.DesktopModeStatus in <lambda>() 168 fun getMaxTaskLimit(): Int = DesktopModeStatus.getMaxTaskLimit() in <lambda>()
|
D | DesktopModeLoggerTransitionObserver.kt | 49 import com.android.wm.shell.shared.DesktopModeStatus in <lambda>() 71 Transitions.ENABLE_SHELL_TRANSITIONS && DesktopModeStatus.canEnterDesktopMode(context) in <lambda>()
|
D | DesktopTasksController.kt | 76 import com.android.wm.shell.shared.DesktopModeStatus in <lambda>() 77 import com.android.wm.shell.shared.DesktopModeStatus.DESKTOP_DENSITY_OVERRIDE in <lambda>() 78 import com.android.wm.shell.shared.DesktopModeStatus.useDesktopOverrideDensity in <lambda>() 182 if (DesktopModeStatus.canEnterDesktopMode(context)) { in <lambda>() 941 if (!DesktopModeStatus.useRoundedCorners()) { in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DesktopTasksLimiterTest.kt | 35 import com.android.wm.shell.shared.DesktopModeStatus 74 .spyStatic(DesktopModeStatus::class.java).startMocking() in setUp() 75 doReturn(true).`when`{ DesktopModeStatus.canEnterDesktopMode(any()) } in setUp() 93 DesktopModeStatus.DEFAULT_MAX_TASK_LIMIT) in getMaxTaskLimit_isSameAsConstant()
|
D | DesktopModeLoggerTransitionObserverTest.kt | 52 import com.android.wm.shell.shared.DesktopModeStatus 87 .mockStatic(DesktopModeStatus::class.java) 101 doReturn(true).`when` { DesktopModeStatus.canEnterDesktopMode(any()) } in setup()
|
D | DesktopTasksControllerTest.kt | 90 import com.android.wm.shell.shared.DesktopModeStatus in <lambda>() 189 .spyStatic(DesktopModeStatus::class.java) in <lambda>() 191 whenever(DesktopModeStatus.isEnabled()).thenReturn(true) in <lambda>() 192 doReturn(true).`when` { DesktopModeStatus.isDesktopModeSupported(any()) } in <lambda>() 261 whenever(DesktopModeStatus.isEnabled()).thenReturn(false) in <lambda>() 1095 whenever(DesktopModeStatus.useDesktopOverrideDensity()).thenReturn(false) in <lambda>() 1109 whenever(DesktopModeStatus.useDesktopOverrideDensity()).thenReturn(true) in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/shared/src/com/android/wm/shell/shared/ |
D | DesktopModeStatus.java | 30 public class DesktopModeStatus { class
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/ |
D | DesktopModeWindowDecorViewModel.java | 93 import com.android.wm.shell.shared.DesktopModeStatus; 286 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() 1081 if (!DesktopModeStatus.isVeiledResizeEnabled()) { in createWindowDecoration() 1132 + DesktopModeStatus.canEnterDesktopMode(mContext)); in dump()
|
D | DragPositioningCallbackUtility.java | 34 import com.android.wm.shell.shared.DesktopModeStatus; 219 return DesktopModeStatus.canEnterDesktopMode(context) in isSizeConstraintForDesktopModeEnabled()
|
D | DesktopModeWindowDecoration.java | 70 import com.android.wm.shell.shared.DesktopModeStatus; 197 final boolean shouldSetTaskPositionAndCrop = !DesktopModeStatus.isVeiledResizeEnabled() in relayout() 456 if (DesktopModeStatus.useWindowShadow(/* isFocusedWindow= */ taskInfo.isFocused)) { 475 } else if (DesktopModeStatus.useDesktopOverrideDensity()) { 484 if (DesktopModeStatus.useRoundedCorners()) { 748 .setWindowingButtonsVisible(DesktopModeStatus.canEnterDesktopMode(mContext))
|
D | WindowDecoration.java | 58 import com.android.wm.shell.shared.DesktopModeStatus; 405 if (!DesktopModeStatus.isVeiledResizeEnabled()) { in updateTaskSurface() 415 } else if (!DesktopModeStatus.isVeiledResizeEnabled()) { in updateTaskSurface()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/ |
D | RecentTasksController.java | 55 import com.android.wm.shell.shared.DesktopModeStatus; 364 || (DesktopModeStatus.canEnterDesktopMode(mContext) in shouldEnableRunningTasksForDesktopMode() 409 if (DesktopModeStatus.canEnterDesktopMode(mContext) in getRecentTasks()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/ |
D | RecentTasksControllerTest.java | 71 import com.android.wm.shell.shared.DesktopModeStatus; 133 .mockStatic(DesktopModeStatus.class).startMocking(); in setUp() 135 .when(() -> DesktopModeStatus.canEnterDesktopMode(any())); in setUp() 374 .when(() -> DesktopModeStatus.canEnterDesktopMode(any())); in testGetRecentTasks_hasActiveDesktopTasks_proto2Disabled_doNotGroupFreeformTasks()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/dagger/ |
D | WMShellModule.java | 79 import com.android.wm.shell.shared.DesktopModeStatus; 224 if (DesktopModeStatus.canEnterDesktopMode(context)) { in provideWindowDecorViewModel() 544 if (!DesktopModeStatus.canEnterDesktopMode(context) in provideDesktopTasksLimiter()
|
D | WMShellBaseModule.java | 91 import com.android.wm.shell.shared.DesktopModeStatus; 902 if (DesktopModeStatus.canEnterDesktopMode(context)) { in providesDesktopTasksController() 921 if (DesktopModeStatus.canEnterDesktopMode(context)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
D | OverviewProxyService.java | 115 import com.android.wm.shell.shared.DesktopModeStatus; 711 if (DesktopModeStatus.canEnterDesktopMode(mContext) in OverviewProxyService()
|