Home
last modified time | relevance | path

Searched refs:lightEffect (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/drivers/peripheral/light/hal/src/
H A Dlight_dump.c85 struct LightEffect *lightEffect = NULL; in ShowLightEffectInfo() local
88 lightEffect = GetLightEffect(); in ShowLightEffectInfo()
89 if (lightEffect == NULL) { in ShowLightEffectInfo()
102 lightEffect->lightColor.colorValue.rgbColor.r, in ShowLightEffectInfo()
103 lightEffect->lightColor.colorValue.rgbColor.g, in ShowLightEffectInfo()
104 lightEffect->lightColor.colorValue.rgbColor.b, in ShowLightEffectInfo()
105 lightEffect->flashEffect.flashMode, in ShowLightEffectInfo()
106 lightEffect->flashEffect.onTime, in ShowLightEffectInfo()
107 lightEffect->flashEffect.offTime); in ShowLightEffectInfo()
/ohos5.0/drivers/peripheral/light/hdi_impl/
H A Dlight_interface_impl.cpp84 LightEffect lightEffect; in TurnOnLight() local
85 lightEffect.lightColor.colorValue.rgbColor.b = effect.lightColor.colorValue.rgbColor.b; in TurnOnLight()
86 lightEffect.lightColor.colorValue.rgbColor.g = effect.lightColor.colorValue.rgbColor.g; in TurnOnLight()
87 lightEffect.lightColor.colorValue.rgbColor.r = effect.lightColor.colorValue.rgbColor.r; in TurnOnLight()
88 lightEffect.lightColor.colorValue.wrgbColor.b = effect.lightColor.colorValue.wrgbColor.b; in TurnOnLight()
89 lightEffect.lightColor.colorValue.wrgbColor.g = effect.lightColor.colorValue.wrgbColor.g; in TurnOnLight()
90 lightEffect.lightColor.colorValue.wrgbColor.r = effect.lightColor.colorValue.wrgbColor.r; in TurnOnLight()
92 lightEffect.flashEffect.flashMode = effect.flashEffect.flashMode; in TurnOnLight()
93 lightEffect.flashEffect.onTime = effect.flashEffect.onTime; in TurnOnLight()
94 lightEffect.flashEffect.offTime = effect.flashEffect.offTime; in TurnOnLight()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_foreground.cpp583 std::shared_ptr<Drawing::RuntimeEffect> lightEffect; in GetPhongShaderBuilder() local
624 lightEffect = std::move(effect); in GetPhongShaderBuilder()
625 phongShaderBuilder = std::make_shared<Drawing::RuntimeShaderBuilder>(lightEffect); in GetPhongShaderBuilder()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp1189 …std::shared_ptr<Drawing::RuntimeEffect> lightEffect = Drawing::RuntimeEffect::CreateForShader(ligh… in GetPhongShaderBuilder() local
1190 if (!lightEffect) { in GetPhongShaderBuilder()
1194 lightEffect_ = std::move(lightEffect); in GetPhongShaderBuilder()