Home
last modified time | relevance | path

Searched refs:ThresholdType (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/unittest/modifier/
H A Drs_property_test.cpp114 prop->SetThresholdType(ThresholdType::COARSE);
385 float res = prop->GetThresholdByThresholdType(ThresholdType::LAYOUT);
388 res = prop->GetThresholdByThresholdType(ThresholdType::COARSE);
391 res = prop->GetThresholdByThresholdType(ThresholdType::MEDIUM);
394 res = prop->GetThresholdByThresholdType(ThresholdType::FINE);
397 res = prop->GetThresholdByThresholdType(ThresholdType::COLOR);
400 res = prop->GetThresholdByThresholdType(ThresholdType::ZERO);
403 res = prop->GetThresholdByThresholdType(ThresholdType::DEFAULT);
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_client/fuzztest/rsclientproperty_fuzzer/
H A Drsclientproperty_fuzzer.cpp90 prop->SetThresholdType(ThresholdType::LAYOUT); in DoSetThresholdType001()
108 prop->SetThresholdType(ThresholdType::COARSE); in DoSetThresholdType002()
126 prop->SetThresholdType(ThresholdType::MEDIUM); in DoSetThresholdType003()
144 prop->SetThresholdType(ThresholdType::FINE); in DoSetThresholdType004()
162 prop->SetThresholdType(ThresholdType::COLOR); in DoSetThresholdType005()
180 prop->SetThresholdType(ThresholdType::DEFAULT); in DoSetThresholdType006()
198 prop->SetThresholdType(ThresholdType::ZERO); in DoSetThresholdType007()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/modifier/
H A Drs_property.cpp68 float RSPropertyBase::GetThresholdByThresholdType(ThresholdType thresholdType) const in GetThresholdByThresholdType()
71 case ThresholdType::LAYOUT: in GetThresholdByThresholdType()
73 case ThresholdType::COARSE: in GetThresholdByThresholdType()
75 case ThresholdType::MEDIUM: in GetThresholdByThresholdType()
77 case ThresholdType::FINE: in GetThresholdByThresholdType()
79 case ThresholdType::COLOR: in GetThresholdByThresholdType()
81 case ThresholdType::ZERO: in GetThresholdByThresholdType()
H A Drs_property_modifier.cpp72 property_->SetThresholdType(ThresholdType::COARSE); in RSBehindWindowFilterRadiusModifier()
91 property_->SetThresholdType(ThresholdType::COARSE); in RSBehindWindowFilterSaturationModifier()
110 property_->SetThresholdType(ThresholdType::COARSE); in RSBehindWindowFilterBrightnessModifier()
129 property_->SetThresholdType(ThresholdType::COLOR); in RSBehindWindowFilterMaskColorModifier()
255 …property_->SetThresholdType(ThresholdType::THRESHOLD_TYPE); …
H A Drs_property.h64 enum class ThresholdType { enum
116 virtual void SetThresholdType(ThresholdType thresholdType) {}
178 float GetThresholdByThresholdType(ThresholdType thresholdType) const;
619 void SetThresholdType(ThresholdType thresholdType) override
634 ThresholdType thresholdType_ { ThresholdType::DEFAULT };
/ohos5.0/foundation/arkui/ace_engine/test/mock/core/render/
H A Dmock_modifier_adapter.cpp38 void NodeAnimatableProperty<float, AnimatablePropertyFloat>::SetThresholdType(ThresholdType type) in SetThresholdType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dmodifier.h35 enum class ThresholdType { enum
420 void SetThresholdType(ThresholdType type);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_modifier_adapter.cpp283 void NodeAnimatableProperty<float, AnimatablePropertyFloat>::SetThresholdType(ThresholdType type) in SetThresholdType()
289 property->SetThresholdType(static_cast<Rosen::ThresholdType>(type)); in SetThresholdType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/scrollable/
H A Dscrollable.cpp555 frictionOffsetProperty_->SetThresholdType(ThresholdType::LAYOUT); in StartScrollAnimation()