Lines Matching refs:writer

29 void TestLayer::write(const std::shared_ptr<CommandWriterBase>& writer) {  in write()  argument
30 writer->selectLayer(mLayer); in write()
31 writer->setLayerDisplayFrame(mDisplayFrame); in write()
32 writer->setLayerSourceCrop(mSourceCrop); in write()
33 writer->setLayerZOrder(mZOrder); in write()
34 writer->setLayerSurfaceDamage(mSurfaceDamage); in write()
35 writer->setLayerTransform(mTransform); in write()
36 writer->setLayerPlaneAlpha(mAlpha); in write()
37 writer->setLayerBlendMode(mBlendMode); in write()
227 void TestColorLayer::write(const std::shared_ptr<CommandWriterBase>& writer) { in write() argument
228 TestLayer::write(writer); in write()
229 writer->setLayerCompositionType(IComposerClient::Composition::SOLID_COLOR); in write()
230 writer->setLayerColor(mColor); in write()
259 void TestBufferLayer::write(const std::shared_ptr<CommandWriterBase>& writer) { in write() argument
260 TestLayer::write(writer); in write()
261 writer->setLayerCompositionType(mComposition); in write()
262 writer->setLayerVisibleRegion(std::vector<IComposerClient::Rect>(1, mDisplayFrame)); in write()
263 if (mBuffer) writer->setLayerBuffer(0, mBuffer->handle, -1); in write()
303 const std::shared_ptr<CommandWriterBase>& writer) { in setDataspace() argument
304 writer->selectLayer(mLayer); in setDataspace()
305 writer->setLayerDataspace(dataspace); in setDataspace()
308 void TestBufferLayer::setToClientComposition(const std::shared_ptr<CommandWriterBase>& writer) { in setToClientComposition() argument
309 writer->selectLayer(mLayer); in setToClientComposition()
310 writer->setLayerCompositionType(IComposerClient::Composition::CLIENT); in setToClientComposition()