Home
last modified time | relevance | path

Searched refs:SPLIT_POSITION_TOP_OR_LEFT (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DStageCoordinatorTests.java23 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
173 assertEquals(SPLIT_POSITION_TOP_OR_LEFT, mStageCoordinator.getMainStagePosition()); in testMoveToStage_splitActiveBackground()
181 mStageCoordinator.setSideStagePosition(SPLIT_POSITION_TOP_OR_LEFT, null); in testMoveToStage_splitActiveForeground()
190 assertEquals(SPLIT_POSITION_TOP_OR_LEFT, mStageCoordinator.getSideStagePosition()); in testMoveToStage_splitActiveForeground()
213 mStageCoordinator.setSideStagePosition(SPLIT_POSITION_TOP_OR_LEFT, null); in testLayoutChanged_topLeftSplitPosition_updatesUnfoldStageBounds()
280 mStageCoordinator.setSideStagePosition(SPLIT_POSITION_TOP_OR_LEFT, null /* wct */); in testResolveStartStage_beforeSplitActivated_setsStagePosition()
287 mStageCoordinator.resolveStartStage(STAGE_TYPE_UNDEFINED, SPLIT_POSITION_TOP_OR_LEFT, in testResolveStartStage_beforeSplitActivated_setsStagePosition()
289 assertEquals(mStageCoordinator.getSideStagePosition(), SPLIT_POSITION_TOP_OR_LEFT); in testResolveStartStage_beforeSplitActivated_setsStagePosition() local
290 verify(mStageCoordinator).updateActivityOptions(any(), eq(SPLIT_POSITION_TOP_OR_LEFT)); in testResolveStartStage_beforeSplitActivated_setsStagePosition()
296 mStageCoordinator.setSideStagePosition(SPLIT_POSITION_TOP_OR_LEFT, null /* wct */); in testResolveStartStage_afterSplitActivated_retrievesStagePosition()
[all …]
DSplitScreenControllerTests.java27 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
198 SPLIT_POSITION_TOP_OR_LEFT, null); in testStartIntent_appendsNoUserActionFlag()
201 eq(SPLIT_POSITION_TOP_OR_LEFT), isNull()); in testStartIntent_appendsNoUserActionFlag()
218 SPLIT_POSITION_TOP_OR_LEFT, null); in startIntent_multiInstancesSupported_appendsMultipleTaskFag()
221 eq(SPLIT_POSITION_TOP_OR_LEFT), isNull()); in startIntent_multiInstancesSupported_appendsMultipleTaskFag()
241 SPLIT_POSITION_TOP_OR_LEFT, null); in startIntent_multiInstancesNotSupported_startTaskInBackgroundBeforeSplitActivated()
243 verify(mStageCoordinator).startTask(anyInt(), eq(SPLIT_POSITION_TOP_OR_LEFT), in startIntent_multiInstancesNotSupported_startTaskInBackgroundBeforeSplitActivated()
267 SPLIT_POSITION_TOP_OR_LEFT, null); in startIntent_multiInstancesSupported_startTaskInBackgroundAfterSplitActivated()
269 verify(mStageCoordinator).startTask(anyInt(), eq(SPLIT_POSITION_TOP_OR_LEFT), in startIntent_multiInstancesSupported_startTaskInBackgroundAfterSplitActivated()
287 SPLIT_POSITION_TOP_OR_LEFT, null); in startIntent_multiInstancesNotSupported_switchesPositionAfterSplitActivated()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitScreenConstants.java51 public static final int SPLIT_POSITION_TOP_OR_LEFT = 0; field in SplitScreenConstants
61 SPLIT_POSITION_TOP_OR_LEFT,
136 case SPLIT_POSITION_TOP_OR_LEFT: in splitPositionToString()
DSplitScreenUtils.java22 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
45 case SPLIT_POSITION_TOP_OR_LEFT: in reverseSplitPosition()
48 return SPLIT_POSITION_TOP_OR_LEFT; in reverseSplitPosition()
DSplitLayout.java34 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
1164 mTargetDim2 = imeTargetPosition == SPLIT_POSITION_TOP_OR_LEFT && mImeShown
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSplitscreenEventLogger.java35 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
394 return position == SPLIT_POSITION_TOP_OR_LEFT in getDragEnterReasonFromSplitPosition()
398 return position == SPLIT_POSITION_TOP_OR_LEFT in getDragEnterReasonFromSplitPosition()
410 return position == SPLIT_POSITION_TOP_OR_LEFT in getMainStagePositionFromSplitPosition()
414 return position == SPLIT_POSITION_TOP_OR_LEFT in getMainStagePositionFromSplitPosition()
426 return position == SPLIT_POSITION_TOP_OR_LEFT in getSideStagePositionFromSplitPosition()
430 return position == SPLIT_POSITION_TOP_OR_LEFT in getSideStagePositionFromSplitPosition()
DStageCoordinator.java41 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
1424 mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT ? mSideStage : mMainStage; in switchSplitPosition()
1428 mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT ? mMainStage : mSideStage; in switchSplitPosition()
1831 mSplitLayout.setDividerAtBorder(mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT); in prepareSplitLayout()
1989 boolean sideStageTopLeft = mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT; in updateRecentTasksSplitPair()
2364 : mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT; in onSnappedToDismiss()
2473 mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT ? mSideStage : mMainStage; in updateWindowBounds()
2475 mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT ? mMainStage : mSideStage; in updateWindowBounds()
2486 mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT ? mSideStage : mMainStage; in updateSurfaceBounds()
2488 mSideStagePosition == SPLIT_POSITION_TOP_OR_LEFT ? mMainStage : mSideStage; in updateSurfaceBounds()
[all …]
DSplitScreenController.java32 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
435 leftOrTop ? SPLIT_POSITION_TOP_OR_LEFT : SPLIT_POSITION_BOTTOM_OR_RIGHT; in enterSplitScreen()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/tv/
DTvSplitMenuView.java23 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
67 mListener.onFocusStage(SPLIT_POSITION_TOP_OR_LEFT); in onClick()
69 mListener.onCloseStage(SPLIT_POSITION_TOP_OR_LEFT); in onClick()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/windowdecor/
DHandleMenuTest.kt44 import com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT
140 createTaskInfo(WINDOWING_MODE_MULTI_WINDOW, SPLIT_POSITION_TOP_OR_LEFT) in testSplitLeftMenu_usesSystemViewContainer()
166 if (splitPosition == SPLIT_POSITION_TOP_OR_LEFT) { in createTaskInfo()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DSplitScreenConstantsTest.kt36 SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT, in shouldKeepExistingConstantValues()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDragToDesktopTransitionHandlerTest.kt22 import com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT
106 eq(SPLIT_POSITION_TOP_OR_LEFT), in startDragToDesktop_cancelledBeforeReady_verifySplitLeftCancel()
198 eq(SPLIT_POSITION_TOP_OR_LEFT), in cancelDragToDesktop_splitLeftCancelType_splitRequested()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/unfold/animation/
DSplitTaskUnfoldAnimator.java22 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
352 if (splitPosition == SPLIT_POSITION_TOP_OR_LEFT) { in getLandscapeMargins()
365 if (splitPosition == SPLIT_POSITION_TOP_OR_LEFT) { in getPortraitMargins()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/view/
DMediaProjectionRecentsViewController.kt41 import com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT in <lambda>()
202 if (isLeftTopTask) SPLIT_POSITION_TOP_OR_LEFT else SPLIT_POSITION_BOTTOM_OR_RIGHT in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicyTest.java31 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
310 eq(SPLIT_POSITION_TOP_OR_LEFT), any()); in dragOverFullscreenApp_expectSplitScreenTargets()
330 eq(SPLIT_POSITION_TOP_OR_LEFT), any()); in dragOverFullscreenAppPhone_expectVerticalSplitScreenTargets()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
DDragToDesktopTransitionHandler.kt34 import com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT in <lambda>()
223 SPLIT_POSITION_TOP_OR_LEFT in <lambda>()
436 SPLIT_POSITION_TOP_OR_LEFT in <lambda>()
716 SPLIT_POSITION_TOP_OR_LEFT in <lambda>()
DDesktopTasksController.kt67 import com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT in <lambda>()
1160 if (leftOrTop) SPLIT_POSITION_TOP_OR_LEFT else SPLIT_POSITION_BOTTOM_OR_RIGHT, in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragAndDropPolicy.java36 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
243 position = leftOrTop ? SPLIT_POSITION_TOP_OR_LEFT : SPLIT_POSITION_BOTTOM_OR_RIGHT; in handleDrop()
DDragLayout.java28 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
295 mSplitScreenController.getTaskInfo(SPLIT_POSITION_TOP_OR_LEFT); in prepare()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DHandleMenu.java27 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
301 } else if (splitPosition == SPLIT_POSITION_TOP_OR_LEFT) { in updateGlobalMenuPosition()
DDesktopModeWindowDecorViewModel.java35 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
977 mSplitScreenController.getTaskInfo(SPLIT_POSITION_TOP_OR_LEFT); in getSplitScreenDecor()
1111 ? SPLIT_POSITION_TOP_OR_LEFT : SPLIT_POSITION_BOTTOM_OR_RIGHT; in getOtherSplitTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/
DPipTaskOrganizer.java28 import static com.android.wm.shell.common.split.SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT;
1784 == SPLIT_POSITION_TOP_OR_LEFT; in isPipToTopLeft()
1928 destinationBoundsOut.set(position == SPLIT_POSITION_TOP_OR_LEFT ? topLeft : bottomRight); in syncWithSplitScreenBounds()