Home
last modified time | relevance | path

Searched refs:ParticleType (Results 1 – 24 of 24) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/
H A Drs_render_particle_test.cpp55 ParticleType type = ParticleType::POINTS; in SetUp()
134 ParticleType type = ParticleType::IMAGES;
169 ParticleType type = ParticleType::IMAGES;
207 ParticleType type = ParticleType::IMAGES;
H A Drs_render_particle_emitter_test.cpp63 ParticleType type = ParticleType::POINTS; in SetEmitConfig()
H A Drs_render_particle_animation_test.cpp55 ParticleType type = ParticleType::POINTS; in SetUp()
76 ParticleType type1 = ParticleType::IMAGES; in SetUp()
H A Drs_render_particle_effector_test.cpp68 ParticleType type = ParticleType::POINTS; in SetEmitConfig()
267 ParticleType type = ParticleType::POINTS;
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-particle-animation.md23 PARTICLE extends ParticleType,
92 PARTICLE extends ParticleType,
154 [ParticleType.POINT]: PointParticleParameters;
302 ## ParticleType section
304 enum ParticleType {
436 PARTICLE extends ParticleType,
620 type:ParticleType.POINT,//粒子类型
739 type:ParticleType.IMAGE,
861 type:ParticleType.IMAGE,
982 type:ParticleType.IMAGE,
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/
H A Drs_render_particle.h38 enum class ParticleType: uint32_t {POINTS = 0, IMAGES}; enum
98 ParticleType type_;
105 type_(ParticleType::POINTS), radius_(), image_(), imageSize_() in EmitterConfig()
108 …const int32_t& particleCount, const Range<int64_t>& lifeTime, const ParticleType& type, const floa… in EmitterConfig()
232 const ParticleType& GetParticleType() const;
322 void SetParticleType(const ParticleType& particleType);
357 const ParticleType& GetParticleType();
402 ParticleType particleType_ = ParticleType::POINTS;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/
H A Drs_render_particle_emitter.cpp54 if (particleType == ParticleType::IMAGES) { in PreEmit()
62 if (particleType == ParticleType::POINTS) { in PreEmit()
H A Drs_render_particle.cpp71 const ParticleType& ParticleRenderParams::GetParticleType() const in GetParticleType()
430 void RSRenderParticle::SetParticleType(const ParticleType& particleType) in SetParticleType()
596 const ParticleType& RSRenderParticle::GetParticleType() in GetParticleType()
650 if (particleType_ == ParticleType::POINTS) { in InitProperty()
653 } else if (particleType_ == ParticleType::IMAGES) { in InitProperty()
H A Drs_render_particle_system.cpp34 if (particleRenderParams->GetParticleType() == ParticleType::IMAGES) { in CreateEmitter()
H A Drs_render_particle_effector.cpp105 if (particle == nullptr || particle->GetParticleType() == ParticleType::IMAGES) { in UpdateColor()
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-particle-animation.md23 PARTICLE extends ParticleType,
96 PARTICLE extends ParticleType,
170 [ParticleType.POINT]: PointParticleParameters;
171 [ParticleType.IMAGE]: ImageParticleParameters;
331 ## ParticleType section
333 enum ParticleType {
464 type:ParticleType.POINT,// Particle type.
583 type:ParticleType.IMAGE,
705 type:ParticleType.IMAGE,
826 type:ParticleType.IMAGE,
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/animation/
H A Drs_render_particle_test.cpp196 ParticleType particleType = ParticleType::POINTS; in HWTEST_F()
640 ParticleType part; in HWTEST_F()
916 ParticleType particle; in HWTEST_F()
918 ASSERT_EQ(particle, ParticleType::POINTS); in HWTEST_F()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/
H A Dparticle_property.h34 enum ACE_EXPORT ParticleType { POINT = 0, IMAGE }; enum
163 const ParticleType& GetParticleType() const in GetParticleType()
167 void SetParticleType(const ParticleType& particleType) in SetParticleType()
228 ParticleType particleType_;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_particle.cpp323 auto typeValue = NG::ParticleType::POINT; in ParseParticleObject()
326 if (typeIntValue >= static_cast<int32_t>(NG::ParticleType::POINT) && in ParseParticleObject()
327 typeIntValue <= static_cast<int32_t>(NG::ParticleType::IMAGE)) { in ParseParticleObject()
328 typeValue = static_cast<NG::ParticleType>(typeIntValue); in ParseParticleObject()
338 if (typeValue == NG::ParticleType::IMAGE) { in ParseParticleObject()
/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-particle-animation.md18 type: ParticleType.POINT, // 粒子类型
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js3093 var ParticleType; variable
3094 (function (ParticleType) {
3095 ParticleType[ParticleType["POINT"] = 0] = "POINT";
3096 ParticleType[ParticleType["IMAGE"] = 1] = "IMAGE";
3097 })(ParticleType || (ParticleType = {}));
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-particle-animation.md20 type: ParticleType.POINT, // Particle type.
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_particles_drawable.cpp187 if (particleType == ParticleType::POINTS) { in Draw()
/ohos5.0/foundation/multimodalinput/input/service/window_manager/src/
H A Dknuckle_drawing_manager.cpp332 Rosen::ParticleType::POINTS, PARTICLE_RADIUS, image, Rosen::Vector2f()); in InitParticleEmitter()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/platform/ohos/
H A Drs_marshalling_helper.cpp1002 ParticleType particleType = ParticleType::POINTS; in Unmarshalling()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_painter_test.cpp1281 newv->SetParticleType(ParticleType::IMAGES);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp1188 if (particleType == ParticleType::IMAGE) { in NeedPreloadImage()
1293 if (particleType == ParticleType::IMAGE) { in ConvertParticleEmitterOption()
1307 lifeTimeRange, OHOS::Rosen::ParticleType::IMAGES, 0.0f, rsImagePtr, rsImageSize); in ConvertParticleEmitterOption()
1313 lifeTimeRange, OHOS::Rosen::ParticleType::POINTS, radius, in ConvertParticleEmitterOption()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/ui/
H A Drs_node_test.cpp5222 params.emitterConfig_.type_ = ParticleType::IMAGES;
5231 params.emitterConfig_.type_ = ParticleType::POINTS;
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.cpp1142 if (particleType == ParticleType::POINTS) { in SetParticleDrawRegion()