Home
last modified time | relevance | path

Searched refs:colorDistInt (Results 1 - 2 of 2) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_particle.cpp597 auto colorDistInt = colorDistJsValue->ToNumber<int32_t>(); in ParseColorOption() local
598 if (colorDistInt >= static_cast<int32_t>(OHOS::Ace::NG::DistributionType::UNIFORM) && in ParseColorOption()
599 colorDistInt <= static_cast<int32_t>(OHOS::Ace::NG::DistributionType::GAUSSIAN)) { in ParseColorOption()
600 colorDist = static_cast<OHOS::Ace::NG::DistributionType>(colorDistInt); in ParseColorOption()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.cpp1487 auto colorDistInt = static_cast<int32_t>(colorDist.value_or(DistributionType::UNIFORM)); in ConvertParticleColorOption() local
1504 static_cast<OHOS::Rosen::DistributionType>(colorDistInt), OHOS::Rosen::ParticleUpdator::RANDOM, in ConvertParticleColorOption()
1523 static_cast<OHOS::Rosen::DistributionType>(colorDistInt), ParticleUpdator::CURVE, in ConvertParticleColorOption()

Completed in 17 milliseconds