Searched refs:RSCustomModifierDrawable (Results 1 – 4 of 4) sorted by relevance
148 RSDrawable::Ptr RSCustomModifierDrawable::OnGenerate(const RSRenderNode& node, RSModifierType type) in OnGenerate()150 if (auto ret = std::make_shared<RSCustomModifierDrawable>(type); ret->OnUpdate(node)) { in OnGenerate()159 bool RSCustomModifierDrawable::OnUpdate(const RSRenderNode& node) in OnUpdate()196 void RSCustomModifierDrawable::OnSync() in OnSync()208 void RSCustomModifierDrawable::OnPurge() in OnPurge()217 Drawing::RecordingCanvas::DrawFunc RSCustomModifierDrawable::CreateDrawFunc() const in CreateDrawFunc()219 auto ptr = std::static_pointer_cast<const RSCustomModifierDrawable>(shared_from_this()); in CreateDrawFunc()
202 return RSCustomModifierDrawable::OnGenerate(node, type); in ModifierGenerator()
144 HWTEST_F(RSChildrenDrawableTest, RSCustomModifierDrawable, TestSize.Level1)148 …ASSERT_EQ(DrawableV2::RSCustomModifierDrawable::OnGenerate(node, RSModifierType::BOUNDS), nullptr);161 auto drawable = std::static_pointer_cast<DrawableV2::RSCustomModifierDrawable>(162 DrawableV2::RSCustomModifierDrawable::OnGenerate(node, RSModifierType::BOUNDS));173 drawable = std::static_pointer_cast<DrawableV2::RSCustomModifierDrawable>(174 DrawableV2::RSCustomModifierDrawable::OnGenerate(nodeTwo, RSModifierType::BOUNDS));
63 class RSCustomModifierDrawable : public RSDrawable {65 RSCustomModifierDrawable(RSModifierType type) : type_(type) {} in RSCustomModifierDrawable() function