Home
last modified time | relevance | path

Searched refs:SNAP_TO_50_50 (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/recents/
DSplitBoundsTest.java3 import static com.android.wm.shell.common.split.SplitScreenConstants.SNAP_TO_50_50;
49 TASK_ID_1, TASK_ID_2, SNAP_TO_50_50); in testVerticalStacked()
56 TASK_ID_1, TASK_ID_2, SNAP_TO_50_50); in testHorizontalStacked()
63 TASK_ID_1, TASK_ID_2, SNAP_TO_50_50); in testHorizontalDividerBounds()
74 TASK_ID_1, TASK_ID_2, SNAP_TO_50_50); in testVerticalDividerBounds()
85 TASK_ID_1, TASK_ID_2, SNAP_TO_50_50); in testEqualVerticalTaskPercent()
93 TASK_ID_1, TASK_ID_2, SNAP_TO_50_50); in testEqualHorizontalTaskPercent()
DGroupedRecentTaskInfoTest.kt27 import com.android.wm.shell.common.split.SplitScreenConstants.SNAP_TO_50_50
127 assertThat(recentTaskInfoParcel.splitBounds!!.snapPosition).isEqualTo(SNAP_TO_50_50) in testParcelling_splitTasks()
161 val splitBounds = SplitBounds(Rect(), Rect(), 1, 2, SNAP_TO_50_50) in splitTasksGroupInfo()
DRecentTasksControllerTest.java25 import static com.android.wm.shell.common.split.SplitScreenConstants.SNAP_TO_50_50;
211 new Rect(50, 50, 100, 100), t1.taskId, t2.taskId, SNAP_TO_50_50); in testAddSameSplitBoundsInfoSkipNotifyChange()
214 new Rect(50, 50, 100, 100), t1.taskId, t2.taskId, SNAP_TO_50_50); in testAddSameSplitBoundsInfoSkipNotifyChange()
246 new SplitBounds(new Rect(), new Rect(), 2, 4, SNAP_TO_50_50); in testGetRecentTasks_withPairs()
248 new SplitBounds(new Rect(), new Rect(), 3, 5, SNAP_TO_50_50); in testGetRecentTasks_withPairs()
277 new SplitBounds(new Rect(), new Rect(), 2, 4, SNAP_TO_50_50); in testGetRecentTasks_ReturnsRecentTasksAsynchronously()
279 new SplitBounds(new Rect(), new Rect(), 3, 5, SNAP_TO_50_50); in testGetRecentTasks_ReturnsRecentTasksAsynchronously()
339 new SplitBounds(new Rect(), new Rect(), 1, 2, SNAP_TO_50_50); in testGetRecentTasks_hasActiveDesktopTasks_proto2Enabled_freeformTaskOrder()
449 new SplitBounds(new Rect(), new Rect(), 2, 3, SNAP_TO_50_50); in testRemovedTaskRemovesSplit()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DSplitScreenConstants.java71 public static final int SNAP_TO_50_50 = 1; field in SplitScreenConstants
83 SNAP_TO_50_50,
93 || snapPosition == SNAP_TO_50_50 in isPersistentSnapPosition()
111 SNAP_TO_50_50,
DDividerSnapAlgorithm.java24 import static com.android.wm.shell.common.split.SplitScreenConstants.SNAP_TO_50_50;
393 mTargets.add(new SnapTarget(position, position, SNAP_TO_50_50)); in addMiddleTarget()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/split/
DSplitScreenConstantsTest.kt51 SplitScreenConstants.SNAP_TO_50_50, in shouldKeepExistingConstantValues()
DSplitLayoutTests.java22 import static com.android.wm.shell.common.split.SplitScreenConstants.SNAP_TO_50_50;
138 mSplitLayout.setDivideRatio(SNAP_TO_50_50); in testSetDivideRatio()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/
DShellRecentTaskListProviderTest.kt18 import com.android.wm.shell.common.split.SplitScreenConstants.SNAP_TO_50_50
271 SplitBounds(Rect(), Rect(), taskId1, taskId2, SNAP_TO_50_50) in createTaskPair()