Home
last modified time | relevance | path

Searched refs:effectNode (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_effect_node_test.cpp46 RSEffectNode::SharedPtr effectNode = RSEffectNode::Create(true); variable
47 ASSERT_TRUE(effectNode != nullptr);
60 RSEffectNode::SharedPtr effectNode = RSEffectNode::Create(true); variable
61 EXPECT_TRUE(effectNode != nullptr);
73 RSEffectNode::SharedPtr effectNode = RSEffectNode::Create(true); variable
74 effectNode->SetFreeze(true);
75 ASSERT_TRUE(effectNode != nullptr);
79 effectNode->SetFreeze(true);
84 effectNode->SetFreeze(true);
/ohos5.0/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
H A Dvibrator_haptic.c63 struct VibratorEffectNode *effectNode = NULL; in ParserHapticEffect() local
81 effectNode = MallocEffectNode(count * VIBRATOR_HAPTIC_SEQ_SIZE); in ParserHapticEffect()
82 if (effectNode == NULL) { in ParserHapticEffect()
86 effectNode->num = count; in ParserHapticEffect()
87 ret = parser->GetString(childNode, "effectName", &effectNode->effect, NULL); in ParserHapticEffect()
92 ret = parser->GetUint32(childNode, "type", &effectNode->type, 0); in ParserHapticEffect()
98 ret = parser->GetUint32Array(childNode, "seq", effectNode->seq, count, 0); in ParserHapticEffect()
104 DListInsertTail(&effectNode->node, &hapticData->effectSeqHead); in ParserHapticEffect()
114 OsalMemFree(effectNode->seq); in ParserHapticEffect()
115 OsalMemFree(effectNode); in ParserHapticEffect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/ui/rseffectnode_fuzzer/
H A Drseffectnode_fuzzer.cpp68 RSEffectNode::SharedPtr effectNode = RSEffectNode::Create(isRenderServiceNode); in DoCreate() local
90 RSEffectNode::SharedPtr effectNode = RSEffectNode::Create(isRenderServiceNode); in DoSetFreeze() local
93 effectNode->SetFreeze(isFreeze); in DoSetFreeze()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/drawable/
H A Drs_effect_render_node_drawable_test.cpp49 auto effectNode = std::make_shared<RSEffectRenderNode>(id, rsContext->weak_from_this()); variable
50 auto drawable = RSEffectRenderNodeDrawable::OnGenerate(effectNode);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_surface_render_node.cpp1769 if (auto effectNode = node->ReinterpretCastTo<RSEffectRenderNode>()) { in UpdateFilterCacheStatusIfNodeStatic() local
1770 effectNode->SetRotationChanged(isRotationChanged); in UpdateFilterCacheStatusIfNodeStatic()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp757 auto effectNode = node->ReinterpretCastTo<RSEffectRenderNode>(); in DrawBackgroundEffect() local
758 if (effectNode == nullptr) { in DrawBackgroundEffect()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/
H A Drs_uni_render_visitor.cpp2580 if (auto effectNode = RSRenderNode::ReinterpretCast<RSEffectRenderNode>(filterNode)) { in CheckFilterNodeInSkippedSubTreeNeedClearCache() local
2581 UpdateRotationStatusForEffectNode(*effectNode); in CheckFilterNodeInSkippedSubTreeNeedClearCache()