Home
last modified time | relevance | path

Searched refs:foregroundFilter (Results 1 – 20 of 20) sorted by relevance

/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-filter-effect.md41 ## foregroundFilter section
43 foregroundFilter(filter: Filter): T
93 Text('foregroundFilter').fontSize(20).width('75%').fontColor('#DCDCDC')
100 .foregroundFilter(this.filterTest1) // 通过 foregroundFilter 设置模糊效果
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/
H A Dts-universal-attributes-filter-effect.md41 ## foregroundFilter section
43 foregroundFilter(filter: Filter): T
88 Text('foregroundFilter').fontSize(20).width('75%').fontColor('#DCDCDC')
94 .foregroundFilter(this.filterTest.blur(10)) // Set the blur effect through foregroundFilter.
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_properties_painter.cpp555 auto foregroundFilter = std::static_pointer_cast<RSDrawingFilterOriginal>(RSFilter); in DrawForegroundFilter() local
556 if (foregroundFilter->GetFilterType() == RSFilter::MOTION_BLUR) { in DrawForegroundFilter()
558 foregroundFilter->DisableMotionBlur(true); in DrawForegroundFilter()
560 foregroundFilter->DisableMotionBlur(false); in DrawForegroundFilter()
564foregroundFilter->DrawImageRect(canvas, imageSnapshot, Drawing::Rect(0, 0, imageSnapshot->GetWidth… in DrawForegroundFilter()
880 std::shared_ptr<RSFilter> foregroundFilter = nullptr; in GetForegroundEffectDirtyRect() local
882 foregroundFilter = properties.GetForegroundFilterCache(); in GetForegroundEffectDirtyRect()
884 foregroundFilter = properties.GetForegroundFilter(); in GetForegroundEffectDirtyRect()
886 if (!foregroundFilter || foregroundFilter->GetFilterType() != RSFilter::FOREGROUND_EFFECT) { in GetForegroundEffectDirtyRect()
890 … std::static_pointer_cast<RSForegroundEffectFilter>(foregroundFilter)->GetDirtyExtension(); in GetForegroundEffectDirtyRect()
H A Drs_properties.cpp1877 void RSProperties::SetForegroundFilter(const std::shared_ptr<RSFilter>& foregroundFilter) in SetForegroundFilter() argument
1879 foregroundFilter_ = foregroundFilter; in SetForegroundFilter()
1880 if (foregroundFilter) { in SetForegroundFilter()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_property_drawable_utils.cpp411 auto foregroundFilter = std::static_pointer_cast<RSDrawingFilterOriginal>(rsFilter); in DrawForegroundFilter() local
412 if (foregroundFilter->GetFilterType() == RSFilter::MOTION_BLUR) { in DrawForegroundFilter()
414 foregroundFilter->DisableMotionBlur(true); in DrawForegroundFilter()
416 foregroundFilter->DisableMotionBlur(false); in DrawForegroundFilter()
420foregroundFilter->DrawImageRect(canvas, imageSnapshot, Drawing::Rect(0, 0, imageSnapshot->GetWidth… in DrawForegroundFilter()
/ohos5.0/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/property/
H A Drs_properties_test.cpp1755 std::shared_ptr<RSFilter> foregroundFilter; variable
1756 properties.SetForegroundFilter(foregroundFilter);
1757 EXPECT_EQ(foregroundFilter, nullptr);
1759 foregroundFilter = std::make_shared<RSFilter>();
1760 properties.SetForegroundFilter(foregroundFilter);
1761 EXPECT_NE(foregroundFilter, nullptr);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/drawable/
H A Drs_render_node_drawable.cpp685 auto foregroundFilter = std::static_pointer_cast<RSDrawingFilterOriginal>(rsFilter); in DrawCachedImage() local
686foregroundFilter->DrawImageRect(canvas, cacheImage, Drawing::Rect(0, 0, cacheImage->GetWidth(), in DrawCachedImage()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/base/
H A Dview_abstract_test_ng_for_property_config.cpp1155 OHOS::Rosen::Filter* foregroundFilter; variable
1156 ViewAbstract::SetForegroundFilter(foregroundFilter);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_render_node.cpp1689 std::shared_ptr<RSFilter> foregroundFilter = nullptr; in UpdateDirtyRegion() local
1691 foregroundFilter = properties.GetForegroundFilterCache(); in UpdateDirtyRegion()
1693 foregroundFilter = properties.GetForegroundFilter(); in UpdateDirtyRegion()
1695 if (foregroundFilter && foregroundFilter->GetFilterType() == RSFilter::FOREGROUND_EFFECT) { in UpdateDirtyRegion()
1697 … std::static_pointer_cast<RSForegroundEffectFilter>(foregroundFilter)->GetDirtyExtension(); in UpdateDirtyRegion()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract_model_ng.h191 void SetForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter) override in SetForegroundFilter() argument
193 ViewAbstract::SetForegroundFilter(foregroundFilter); in SetForegroundFilter()
H A Dview_abstract_model.h138 virtual void SetForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter) {}; in SetForegroundFilter() argument
H A Dview_abstract.h180 static void SetForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter);
H A Dview_abstract.cpp2619 void ViewAbstract::SetForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter) in SetForegroundFilter() argument
2624 ACE_UPDATE_RENDER_CONTEXT(ForegroundFilter, foregroundFilter); in SetForegroundFilter()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_properties.h312 void SetForegroundFilter(const std::shared_ptr<RSFilter>& foregroundFilter);
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_node.h296 void SetUIForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter);
H A Drs_node.cpp1450 void RSNode::SetUIForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter) in SetUIForegroundFilter() argument
1452 if (foregroundFilter == nullptr) { in SetUIForegroundFilter()
1457 auto filterParas = foregroundFilter->GetAllPara(); in SetUIForegroundFilter()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/
H A Drender_context.h310 virtual void UpdateForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter) {} in UpdateForegroundFilter() argument
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_render_context.h208 void UpdateForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter) override;
H A Drosen_render_context.cpp1167 void RosenRenderContext::UpdateForegroundFilter(const OHOS::Rosen::Filter* foregroundFilter) in UpdateForegroundFilter() argument
1169 CHECK_NULL_VOID(foregroundFilter); in UpdateForegroundFilter()
1170 rsNode_->SetUIForegroundFilter(foregroundFilter); in UpdateForegroundFilter()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_view_abstract.cpp10900 auto foregroundFilter = CreateRSFilterFromNapiValue(info[0]); in JsForegroundFilter() local
10901 ViewAbstractModel::GetInstance()->SetForegroundFilter(foregroundFilter); in JsForegroundFilter()