Home
last modified time | relevance | path

Searched refs:createMockSurface (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSplitTestUtils.java51 final SurfaceControl leash = createMockSurface(); in createMockSplitLayout()
61 static SurfaceControl createMockSurface() { in createMockSurface() method in SplitTestUtils
62 return createMockSurface(true); in createMockSurface()
65 static SurfaceControl createMockSurface(boolean valid) { in createMockSurface() method in SplitTestUtils
DSplitTransitionTests.java33 import static com.android.wm.shell.splitscreen.SplitTestUtils.createMockSurface;
137 mMainStage.onTaskAppeared(new TestRunningTaskInfoBuilder().build(), createMockSurface()); in setup()
141 mSideStage.onTaskAppeared(new TestRunningTaskInfoBuilder().build(), createMockSurface()); in setup()
184 mSideStage.onTaskAppeared(newTask, createMockSurface()); in testLaunchToSide()
185 mMainStage.onTaskAppeared(reparentTask, createMockSurface()); in testLaunchToSide()
205 mMainStage.onTaskAppeared(mMainChild, createMockSurface()); in testLaunchPair()
206 mSideStage.onTaskAppeared(mSideChild, createMockSurface()); in testLaunchPair()
231 mMainStage.onTaskAppeared(mMainChild, createMockSurface()); in testRemoteTransitionConsumed()
267 mSideStage.onTaskAppeared(newTask, createMockSurface()); in testMonitorInSplit()
481 mMainStage.onTaskAppeared(mMainChild, createMockSurface()); in enterSplit()
[all …]
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/transition/
DTransitionInfoBuilder.java49 mInfo.addRootLeash(DISPLAY_ID, createMockSurface(true /* valid */), 0, 0); in TransitionInfoBuilder()
57 taskInfo != null ? taskInfo.token : null, createMockSurface(true /* valid */)); in addChange()
96 private static SurfaceControl createMockSurface(boolean valid) { in createMockSurface() method in TransitionInfoBuilder
DShellTransitionTests.java1621 mChange = new TransitionInfo.Change(null /* token */, createMockSurface(true)); in ChangeBuilder()
1742 private static SurfaceControl createMockSurface(boolean valid) { in createMockSurface() method in ShellTransitionTests
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/system/
DRemoteTransitionTest.java138 mInfo.addRootLeash(0, createMockSurface(true /* valid */), 0, 0);
144 new TransitionInfo.Change(null /* token */, createMockSurface(true));
158 private static SurfaceControl createMockSurface(boolean valid) {