Searched refs:colorInt (Results 1 - 4 of 4) sorted by relevance
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/animation/ |
H A D | rs_render_particle_effector.cpp | 33 Vector4<int16_t> colorInt, Vector4<float> colorF, Vector4<float> colorSpeed, float deltaTime) in CalculateColorInt() 36 if (!((colorInt.data_[i] <= 0 && colorSpeed.data_[i] <= 0.f) || in CalculateColorInt() 37 (colorInt.data_[i] >= UINT8_MAX && colorSpeed.data_[i] >= 0.f))) { in CalculateColorInt() 40 colorInt.data_[i] += static_cast<int16_t>(colorF.data_[i]); in CalculateColorInt() 46 colorInt.data_[i] = std::clamp<int16_t>(colorInt.data_[i], 0, UINT8_MAX); in CalculateColorInt() 49 return colorInt; in CalculateColorInt() 113 auto colorInt = Vector4<int16_t>(color.GetRed(), color.GetGreen(), color.GetBlue(), color.GetAlpha()); in UpdateColor() local 118 colorInt = CalculateColorInt(particle, colorInt, color in UpdateColor() 32 CalculateColorInt(const std::shared_ptr<RSRenderParticle>& particle, Vector4<int16_t> colorInt, Vector4<float> colorF, Vector4<float> colorSpeed, float deltaTime) CalculateColorInt() argument [all...] |
/foundation/graphic/graphic_2d/graphic_test/graphic_test_framework/src/ |
H A D | rs_graphic_test_text.cpp | 71 uint32_t colorInt = 0xff000000; in Draw() 75 colorInt = color_->Get(); in Draw() 80 auto brushColor = OHOS::Rosen::Drawing::Color(colorInt); in Draw()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/animation/ |
H A D | rs_render_particle_effector.h | 28 Vector4<int16_t> CalculateColorInt(const std::shared_ptr<RSRenderParticle>& particle, Vector4<int16_t> colorInt,
|
/foundation/arkui/ace_engine/interfaces/napi/kits/utils/ |
H A D | napi_utils.cpp | 595 auto colorInt = themeConstants->GetInt(resourceInfo.type); in ParseColorFromResourceObject() local 596 colorResult = Color(CompleteColorAlphaIfIncomplete(colorInt)); in ParseColorFromResourceObject()
|
Completed in 3 milliseconds