Searched refs:DesktopModeStatus (Results 1 – 14 of 14) sorted by relevance
27 import com.android.wm.shell.desktopmode.DesktopModeStatus;71 if (DesktopModeStatus.isAnyEnabled()) { in onInit()93 if (DesktopModeStatus.isAnyEnabled()) { in onTaskAppeared()114 if (DesktopModeStatus.isAnyEnabled()) { in onTaskVanished()138 if (DesktopModeStatus.isAnyEnabled()) { in onTaskInfoChanged()157 if (DesktopModeStatus.isAnyEnabled() && taskInfo.isFocused) { in onFocusTaskChanged()
72 import com.android.wm.shell.desktopmode.DesktopModeStatus;391 if (DesktopModeStatus.IS_DISPLAY_CHANGE_ENABLED) { in onClick()430 if (DesktopModeStatus.isProto2Enabled() in handleMotionEvent()588 if (DesktopModeStatus.isProto2Enabled()) { in handleReceivedMotionEvent()597 if (DesktopModeStatus.isProto2Enabled()) { in handleReceivedMotionEvent()601 } else if (DesktopModeStatus.isProto1Enabled()) { in handleReceivedMotionEvent()637 if (DesktopModeStatus.isProto2Enabled()) { in handleCaptionThroughStatusBar()662 if (DesktopModeStatus.isProto2Enabled()) { in handleCaptionThroughStatusBar()664 } else if (DesktopModeStatus.isProto1Enabled()) { in handleCaptionThroughStatusBar()856 return DesktopModeStatus.isProto2Enabled() in shouldShowWindowDecor()[all …]
47 import com.android.wm.shell.desktopmode.DesktopModeStatus;348 .setWindowingButtonsVisible(DesktopModeStatus.isProto2Enabled()) in createHandleMenu()469 if (DesktopModeStatus.isProto1Enabled()) { in getDesktopModeWindowDecorLayoutId()
42 import com.android.wm.shell.desktopmode.DesktopModeStatus;239 final boolean shouldShowWindowingPill = DesktopModeStatus.isProto2Enabled(); in relayout()
60 import com.android.wm.shell.desktopmode.DesktopModeStatus;258 DesktopModeStatus.class).startMocking(); in testGetRecentTasks_hasActiveDesktopTasks_proto2Enabled_groupFreeformTasks()259 when(DesktopModeStatus.isProto2Enabled()).thenReturn(true); in testGetRecentTasks_hasActiveDesktopTasks_proto2Enabled_groupFreeformTasks()298 DesktopModeStatus.class).startMocking(); in testGetRecentTasks_hasActiveDesktopTasks_proto2Disabled_doNotGroupFreeformTasks()299 when(DesktopModeStatus.isProto2Enabled()).thenReturn(false); in testGetRecentTasks_hasActiveDesktopTasks_proto2Disabled_doNotGroupFreeformTasks()
109 mockitoSession = mockitoSession().mockStatic(DesktopModeStatus::class.java).startMocking()110 whenever(DesktopModeStatus.isProto2Enabled()).thenReturn(true)157 whenever(DesktopModeStatus.isProto2Enabled()).thenReturn(false)503 whenever(DesktopModeStatus.isStashingEnabled()).thenReturn(true)575 whenever(DesktopModeStatus.isStashingEnabled()).thenReturn(true)633 whenever(DesktopModeStatus.isStashingEnabled()).thenReturn(true)643 whenever(DesktopModeStatus.isStashingEnabled()).thenReturn(true)
108 mMockitoSession = mockitoSession().mockStatic(DesktopModeStatus.class).startMocking(); in setUp()109 when(DesktopModeStatus.isProto1Enabled()).thenReturn(true); in setUp()110 when(DesktopModeStatus.isActive(any())).thenReturn(true); in setUp()138 when(DesktopModeStatus.isProto1Enabled()).thenReturn(false); in instantiate_flagOff_doNotAddInitCallback()432 when(DesktopModeStatus.isActive(any())).thenReturn(false); in testHandleTransitionRequest_desktopModeNotActive_returnsNull()
109 if (DesktopModeStatus.isProto1Enabled()) { in DesktopModeController()119 if (DesktopModeStatus.isActive(mContext)) { in onInit()393 if (!DesktopModeStatus.isActive(mContext)) { in handleRequest()466 boolean enabled = DesktopModeStatus.isActive(mContext); in desktopModeSettingChanged()
31 public class DesktopModeStatus { class
123 if (DesktopModeStatus.isProto2Enabled()) {166 if (DesktopModeStatus.isStashingEnabled()) {176 if (DesktopModeStatus.isStashingEnabled()) {
75 import com.android.wm.shell.desktopmode.DesktopModeStatus;794 if (DesktopModeStatus.isProto2Enabled()) { in provideDesktopMode()811 if (DesktopModeStatus.isProto1Enabled()) { in provideDesktopModeController()828 if (DesktopModeStatus.isProto2Enabled()) { in providesDesktopTasksController()845 if (DesktopModeStatus.isAnyEnabled()) { in provideDesktopTaskRepository()
57 import com.android.wm.shell.desktopmode.DesktopModeStatus;197 if (DesktopModeStatus.isAnyEnabled()) { in provideWindowDecorViewModel()
54 import com.android.wm.shell.desktopmode.DesktopModeStatus;332 if (DesktopModeStatus.isProto2Enabled() && mDesktopModeTaskRepository.isPresent() in getRecentTasks()
47 import com.android.wm.shell.desktopmode.DesktopModeStatus;260 || DesktopModeStatus.isActive(mPlayer.getContext()))) { in handleRecentsRequest()275 } else if (DesktopModeStatus.isActive(mPlayer.getContext())) { in setRecentsTransition()