Home
last modified time | relevance | path

Searched refs:colorLayer (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/
DLayerUpdate_test.cpp608 sp<SurfaceControl> colorLayer = in TEST_F() local
611 ASSERT_TRUE(colorLayer->isValid()); in TEST_F()
613 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
614 t.show(colorLayer); in TEST_F()
633 sp<SurfaceControl> colorLayer = in TEST_F() local
636 ASSERT_TRUE(colorLayer->isValid()); in TEST_F()
639 t.setColor(colorLayer, half3{0, 0, 0}); in TEST_F()
641 t.show(colorLayer); in TEST_F()
658 sp<SurfaceControl> colorLayer = in TEST_F() local
661 ASSERT_TRUE(colorLayer->isValid()); in TEST_F()
[all …]
DLayerRenderTypeTransaction_test.cpp456 sp<SurfaceControl> colorLayer; in TEST_P() local
459 ASSERT_NO_FATAL_FAILURE(colorLayer = in TEST_P()
464 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
465 .setLayer(colorLayer, mLayerZBase + 1) in TEST_P()
478 Transaction().setColor(colorLayer, color).apply(); in TEST_P()
633 sp<SurfaceControl> colorLayer; in TEST_P() local
634 ASSERT_NO_FATAL_FAILURE(colorLayer = in TEST_P()
638 .setCrop(colorLayer, Rect(0, 0, 32, 32)) in TEST_P()
639 .setColor(colorLayer, half3(2.0f, 0.0f, 0.0f)) in TEST_P()
647 sp<SurfaceControl> colorLayer; in TEST_P() local
[all …]
DLayerTransactionTest.h100 auto colorLayer = createSurface(mClient, name, 0 /* buffer width */, 0 /* buffer height */, variable
104 t.setColor(colorLayer, half3{color.r / 255.0f, color.g / 255.0f, color.b / 255.0f});
105 t.setAlpha(colorLayer, color.a / 255.0f);
107 return colorLayer;