/frameworks/native/services/surfaceflinger/tests/ |
D | LayerCallback_test.cpp | 200 sp<SurfaceControl> layer1, layer2; in TEST_F() local 202 ASSERT_NO_FATAL_FAILURE(layer2 = createBufferStateLayer()); in TEST_F() 211 err = fillTransaction(transaction2, &callback2, layer2); in TEST_F() 218 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F() 221 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}); in TEST_F() 227 sp<SurfaceControl> layer1, layer2; in TEST_F() local 229 ASSERT_NO_FATAL_FAILURE(layer2 = createBufferStateLayer()); in TEST_F() 238 err = fillTransaction(transaction2, &callback2, layer2, false, true); in TEST_F() 245 transaction2.setFrame(layer2, Rect(32, 32, 64, 64)).merge(std::move(transaction1)).apply(); in TEST_F() 248 expected.addSurfaces(ExpectedResult::Transaction::PRESENTED, {layer1, layer2}, in TEST_F() [all …]
|
D | LayerRenderTypeTransaction_test.cpp | 480 sp<SurfaceControl> layer2; in setAlphaBasicHelper() local 482 ASSERT_NO_FATAL_FAILURE(layer2 = createLayer("test 2", 32, 32, layerType)); in setAlphaBasicHelper() 484 ASSERT_NO_FATAL_FAILURE(fillLayerColor(layerType, layer2, {0, 64, 0, 255}, 32, 32)); in setAlphaBasicHelper() 490 .setAlpha(layer2, 0.75f) in setAlphaBasicHelper() 491 .setPosition(layer2, 16, 0) in setAlphaBasicHelper() 492 .setLayer(layer2, mLayerZBase + 1) in setAlphaBasicHelper() 498 .setAlpha(layer2, 0.75f) in setAlphaBasicHelper() 500 .setFrame(layer2, Rect(16, 0, 48, 32)) in setAlphaBasicHelper() 501 .setLayer(layer2, mLayerZBase + 1) in setAlphaBasicHelper() 1339 sp<SurfaceControl> layer2; in TEST_P() local [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerHistoryTest.cpp | 136 auto layer2 = createLayer(); in TEST_F() local 143 EXPECT_CALL(*layer2, isVisible()).WillRepeatedly(Return(true)); in TEST_F() 144 EXPECT_CALL(*layer2, getFrameSelectionPriority()).WillRepeatedly(Return(1)); in TEST_F() 145 EXPECT_CALL(*layer2, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 169 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 185 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 199 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 231 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 241 layer2.clear(); in TEST_F()
|
D | LayerHistoryTestV2.cpp | 350 auto layer2 = createLayer(); in TEST_F() local 356 EXPECT_CALL(*layer2, isVisible()).WillRepeatedly(Return(true)); in TEST_F() 357 EXPECT_CALL(*layer2, getFrameRateForLayerTree()).WillRepeatedly(Return(Layer::FrameRate())); in TEST_F() 384 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 402 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 418 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 460 history().record(layer2.get(), time, time, LayerHistory::LayerUpdateType::Buffer); in TEST_F() 472 layer2.clear(); in TEST_F()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | OutputTest.cpp | 569 InjectedLayer layer2; in TEST_F() local 574 injectOutputLayer(layer2); in TEST_F() 582 EXPECT_CALL(*layer2.outputLayer, getLayerFE()).WillOnce(ReturnRef(*layer2.layerFE.get())); in TEST_F() 583 EXPECT_EQ(layer2.outputLayer, mOutput->getOutputLayerForLayer(layer2.layerFE)); in TEST_F() 587 EXPECT_CALL(*layer2.outputLayer, getLayerFE()).WillOnce(ReturnRef(*layer2.layerFE.get())); in TEST_F() 630 InjectedLayer layer2; in TEST_F() local 634 EXPECT_CALL(*layer2.layerFE.get(), prepareCompositionState(LayerFE::StateSubset::Content)); in TEST_F() 638 injectOutputLayer(layer2); in TEST_F() 649 InjectedLayer layer2; in TEST_F() local 653 EXPECT_CALL(*layer2.layerFE, prepareCompositionState(LayerFE::StateSubset::GeometryAndContent)); in TEST_F() [all …]
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | WindowContainerTests.java | 103 final TestWindowContainer layer2 = root.addChildWindow(builder.setLayer(2)); in testAdd() local 113 assertEquals(root, layer2.getParentWindow()); in testAdd() 125 assertEquals(layer2, root.getChildAt(6)); in testAdd() 129 assertTrue(layer2.mOnParentChangedCalled); in testAdd() 974 final int layer2 = w2.mLayer; 975 if (layer1 < layer2 || (layer1 == layer2 && layer2 < 0)) { 980 if (layer1 == layer2) return 0;
|
/frameworks/native/opengl/libs/EGL/ |
D | GLES_layers.md | 75 adb shell settings put global gpu_debug_layers_gles <layer1:layer2:layerN> 92 adb shell setprop debug.gles.layers <layer1:layer2:layerN>
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowState.java | 680 final int layer2 = w2.mSubLayer; 681 if (layer1 < layer2 || (layer1 == layer2 && layer2 < 0 )) {
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 423 // i.e. <layer1>:<layer2>:...:<layerN> 434 // i.e. <layer1>:<layer2>:...:<layerN>
|