Home
last modified time | relevance | path

Searched refs:bgBrightnessParams_ (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties.cpp1601 if (!bgBrightnessParams_.has_value()) { in SetBgBrightnessRates()
1604 bgBrightnessParams_->rates_ = rates; in SetBgBrightnessRates()
1613 return bgBrightnessParams_ ? bgBrightnessParams_->rates_ : Vector4f(); in GetBgBrightnessRates()
1618 if (!bgBrightnessParams_.has_value()) { in SetBgBrightnessSaturation()
1630 return bgBrightnessParams_ ? bgBrightnessParams_->saturation_ : 0.0f; in GetBgBrightnessSaturation()
1647 return bgBrightnessParams_ ? bgBrightnessParams_->posCoeff_ : Vector4f(); in GetBgBrightnessPosCoeff()
1664 return bgBrightnessParams_ ? bgBrightnessParams_->negCoeff_ : Vector4f(); in GetBgBrightnessNegCoeff()
1681 return bgBrightnessParams_ ? bgBrightnessParams_->fraction_ : 1.0f; in GetBgBrightnessFract()
1686 bgBrightnessParams_ = params; in SetBgBrightnessParams()
1697 return bgBrightnessParams_; in GetBgBrightnessParams()
[all …]
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_test2.cpp395 properties.bgBrightnessParams_ = std::nullopt;
397 EXPECT_TRUE(properties.bgBrightnessParams_ == std::nullopt);
400 properties.bgBrightnessParams_ = value;
402 EXPECT_TRUE(properties.bgBrightnessParams_ != std::nullopt);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties.h627 std::optional<RSDynamicBrightnessPara> bgBrightnessParams_; variable