/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/ |
D | StageCoordinatorTests.java | 23 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 …]
|
D | SplitScreenControllerTests.java | 27 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/ |
D | SplitScreenConstants.java | 51 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()
|
D | SplitScreenUtils.java | 22 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()
|
D | SplitLayout.java | 34 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/ |
D | SplitscreenEventLogger.java | 35 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()
|
D | StageCoordinator.java | 41 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 …]
|
D | SplitScreenController.java | 32 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/ |
D | TvSplitMenuView.java | 23 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/ |
D | HandleMenuTest.kt | 44 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/ |
D | SplitScreenConstantsTest.kt | 36 SplitScreenConstants.SPLIT_POSITION_TOP_OR_LEFT, in shouldKeepExistingConstantValues()
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/ |
D | DragToDesktopTransitionHandlerTest.kt | 22 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/ |
D | SplitTaskUnfoldAnimator.java | 22 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/ |
D | MediaProjectionRecentsViewController.kt | 41 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/ |
D | DragAndDropPolicyTest.java | 31 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/ |
D | DragToDesktopTransitionHandler.kt | 34 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>()
|
D | DesktopTasksController.kt | 67 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/ |
D | DragAndDropPolicy.java | 36 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()
|
D | DragLayout.java | 28 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/ |
D | HandleMenu.java | 27 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()
|
D | DesktopModeWindowDecorViewModel.java | 35 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/ |
D | PipTaskOrganizer.java | 28 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()
|