Home
last modified time | relevance | path

Searched refs:SplitScreenUtils (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitScreenUtilsTests.java29 import com.android.wm.shell.common.split.SplitScreenUtils;
56 assertTrue(SplitScreenUtils.isLeftRightSplit(false /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
58 assertTrue(SplitScreenUtils.isLeftRightSplit(false /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
60 assertFalse(SplitScreenUtils.isLeftRightSplit(false /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
62 assertFalse(SplitScreenUtils.isLeftRightSplit(false /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
66 assertFalse(SplitScreenUtils.isLeftRightSplit(true /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
68 assertTrue(SplitScreenUtils.isLeftRightSplit(true /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
70 assertTrue(SplitScreenUtils.isLeftRightSplit(true /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
72 assertFalse(SplitScreenUtils.isLeftRightSplit(true /* allowLeftRightSplitInPortrait */, in testIsLeftRightSplit()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/service/src/com/android/wm/shell/flicker/service/splitscreen/scenarios/
DSwitchBetweenSplitPairs.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
44 private val thirdApp = SplitScreenUtils.getIme(instrumentation)
45 private val fourthApp = SplitScreenUtils.getSendNotification(instrumentation)
54 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
55 SplitScreenUtils.enterSplit(wmHelper, tapl, device, thirdApp, fourthApp, rotation) in setup()
56 SplitScreenUtils.waitForSplitComplete(wmHelper, thirdApp, fourthApp) in setup()
62 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBetweenSplitPairs()
DCopyContentInSplit.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
43 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
44 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
45 private val textEditApp = SplitScreenUtils.getIme(instrumentation)
54 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, textEditApp, rotation) in setup()
59 SplitScreenUtils.copyContentInSplit(instrumentation, device, primaryApp, textEditApp) in copyContentInSplit()
DDismissSplitScreenByDivider.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
58 SplitScreenUtils.dragDividerToDismissSplit( in dismissSplitScreenByDivider()
65 SplitScreenUtils.dragDividerToDismissSplit( in dismissSplitScreenByDivider()
DSwitchBackToSplitFromAnotherApp.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
44 private val thirdApp = SplitScreenUtils.getNonResizeable(instrumentation)
53 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
62 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBackToSplitFromAnotherApp()
DEnterSplitScreenByDragFromNotification.kt29 import com.android.wm.shell.flicker.utils.SplitScreenUtils
45 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
46 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
47 private val sendNotificationApp = SplitScreenUtils.getSendNotification(instrumentation)
73 SplitScreenUtils.dragFromNotificationToSplit(instrumentation, device, wmHelper) in enterSplitScreenByDragFromNotification()
74 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, sendNotificationApp) in enterSplitScreenByDragFromNotification()
DDragDividerToResize.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
57 SplitScreenUtils.dragDividerToResizeAndWait(device, wmHelper) in dragDividerToResize()
DEnterSplitScreenFromOverview.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
64 SplitScreenUtils.splitFromOverview(tapl, device, rotation) in enterSplitScreenFromOverview()
65 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenFromOverview()
DSwitchBackToSplitFromHome.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
61 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBackToSplitFromHome()
DSwitchBackToSplitFromRecent.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
54 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
63 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in switchBackToSplitFromRecent()
DEnterSplitScreenByDragFromTaskbar.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
43 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
44 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
58 SplitScreenUtils.createShortcutOnHotseatIfNotExist(tapl, secondaryApp.appName) in setup()
68 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenByDragFromTaskbar()
DEnterSplitScreenByDragFromShortcut.kt28 import com.android.wm.shell.flicker.utils.SplitScreenUtils
44 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
45 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
54 SplitScreenUtils.createShortcutOnHotseatIfNotExist(tapl, secondaryApp.appName) in setup()
72 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenByDragFromShortcut()
DDismissSplitScreenByGoHome.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
42 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
43 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
52 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in setup()
DUnlockKeyguardToSplitScreen.kt27 import com.android.wm.shell.flicker.utils.SplitScreenUtils
40 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
41 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
52 SplitScreenUtils.enterSplitViaIntent(wmHelper, primaryApp, secondaryApp) in setup()
DEnterSplitScreenByDragFromAllApps.kt28 import com.android.wm.shell.flicker.utils.SplitScreenUtils
44 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
45 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
71 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in enterSplitScreenByDragFromAllApps()
DSwitchAppByDoubleTapDivider.kt29 import com.android.wm.shell.flicker.utils.SplitScreenUtils in <lambda>()
44 private val primaryApp = SplitScreenUtils.getPrimary(instrumentation) in <lambda>()
45 private val secondaryApp = SplitScreenUtils.getSecondary(instrumentation) in <lambda>()
56 SplitScreenUtils.enterSplit(wmHelper, tapl, device, primaryApp, secondaryApp, rotation) in <lambda>()
61 SplitScreenUtils.doubleTapDividerToSwitch(device) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/benchmark/
DSwitchBetweenSplitPairsBenchmark.kt24 import com.android.wm.shell.flicker.utils.SplitScreenUtils
36 protected val thirdApp = SplitScreenUtils.getIme(instrumentation)
37 protected val fourthApp = SplitScreenUtils.getSendNotification(instrumentation)
42 SplitScreenUtils.enterSplit( in <lambda>()
50 SplitScreenUtils.enterSplit( in <lambda>()
58 SplitScreenUtils.waitForSplitComplete(wmHelper, thirdApp, fourthApp) in <lambda>()
62 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()
DCopyContentInSplitBenchmark.kt25 import com.android.wm.shell.flicker.utils.SplitScreenUtils
37 protected val textEditApp = SplitScreenUtils.getIme(instrumentation)
43 SplitScreenUtils.enterSplit( in <lambda>()
53 SplitScreenUtils.copyContentInSplit( in <lambda>()
DDismissSplitScreenByDividerBenchmark.kt24 import com.android.wm.shell.flicker.utils.SplitScreenUtils
39 SplitScreenUtils.enterSplit( in <lambda>()
50 SplitScreenUtils.dragDividerToDismissSplit( in <lambda>()
57 SplitScreenUtils.dragDividerToDismissSplit( in <lambda>()
DSwitchBackToSplitFromAnotherAppBenchmark.kt25 import com.android.wm.shell.flicker.utils.SplitScreenUtils
37 private val thirdApp = SplitScreenUtils.getNonResizeable(instrumentation)
42 SplitScreenUtils.enterSplit( in <lambda>()
56 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()
DEnterSplitScreenByDragFromNotificationBenchmark.kt25 import com.android.wm.shell.flicker.utils.SplitScreenUtils
40 protected val sendNotificationApp = SplitScreenUtils.getSendNotification(instrumentation)
51 SplitScreenUtils.dragFromNotificationToSplit(instrumentation, device, wmHelper) in <lambda>()
52 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, sendNotificationApp) in <lambda>()
DSplitScreenBase.kt24 import com.android.wm.shell.flicker.utils.SplitScreenUtils
28 protected open val primaryApp = SplitScreenUtils.getPrimary(instrumentation)
29 protected val secondaryApp = SplitScreenUtils.getSecondary(instrumentation)
DSwitchBackToSplitFromHomeBenchmark.kt25 import com.android.wm.shell.flicker.utils.SplitScreenUtils
40 SplitScreenUtils.enterSplit( in <lambda>()
54 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()
DDragDividerToResizeBenchmark.kt24 import com.android.wm.shell.flicker.utils.SplitScreenUtils
41 SplitScreenUtils.enterSplit( in <lambda>()
50 transitions { SplitScreenUtils.dragDividerToResizeAndWait(device, wmHelper) } in <lambda>()
/frameworks/base/libs/WindowManager/Shell/tests/flicker/splitscreen/src/com/android/wm/shell/flicker/splitscreen/
DSwitchBetweenSplitPairsNoPip.kt29 import com.android.wm.shell.flicker.utils.SplitScreenUtils
51 val thirdApp = SplitScreenUtils.getSendNotification(instrumentation)
65 SplitScreenUtils.enterSplit( in <lambda>()
73 SplitScreenUtils.enterSplit( in <lambda>()
82 SplitScreenUtils.waitForSplitComplete(wmHelper, thirdApp, pipApp) in <lambda>()
86 SplitScreenUtils.waitForSplitComplete(wmHelper, primaryApp, secondaryApp) in <lambda>()

12