Searched refs:TestWindowContainer (Results 1 – 2 of 2) sorted by relevance
69 final TestWindowContainer w = new TestWindowContainerBuilder(mWm).setLayer(0).build(); in testCreation()77 final TestWindowContainer root = builder.setLayer(0).build(); in testAdd()79 final TestWindowContainer layer1 = root.addChildWindow(builder.setLayer(1)); in testAdd()80 final TestWindowContainer secondLayer1 = root.addChildWindow(builder.setLayer(1)); in testAdd()81 final TestWindowContainer layer2 = root.addChildWindow(builder.setLayer(2)); in testAdd()82 final TestWindowContainer layerNeg1 = root.addChildWindow(builder.setLayer(-1)); in testAdd()83 final TestWindowContainer layerNeg2 = root.addChildWindow(builder.setLayer(-2)); in testAdd()84 final TestWindowContainer secondLayerNeg1 = root.addChildWindow(builder.setLayer(-1)); in testAdd()85 final TestWindowContainer layer0 = root.addChildWindow(builder.setLayer(0)); in testAdd()133 final TestWindowContainer root = builder.setLayer(0).build(); in testAdd_AlreadyHasParent()[all …]
47 private static class TestWindowContainer extends WindowContainer<TestWindowContainer> { class in DimmerTests51 TestWindowContainer(WindowManagerService wm) { in TestWindowContainer() method in DimmerTests.TestWindowContainer66 private static class MockSurfaceBuildingContainer extends WindowContainer<TestWindowContainer> {177 TestWindowContainer child = new TestWindowContainer(mWm); in testDimAboveWithChildCreatesSurfaceAboveChild()192 TestWindowContainer child = new TestWindowContainer(mWm); in testDimBelowWithChildSurfaceCreatesSurfaceBelowChild()207 TestWindowContainer child = new TestWindowContainer(mWm); in testDimBelowWithChildSurfaceDestroyedWhenReset()223 TestWindowContainer child = new TestWindowContainer(mWm); in testDimBelowWithChildSurfaceNotDestroyedWhenPersisted()240 TestWindowContainer child = new TestWindowContainer(mWm); in testDimUpdateWhileDimming()261 TestWindowContainer child = new TestWindowContainer(mWm); in testRemoveDimImmediately()