Home
last modified time | relevance | path

Searched refs:blendMode (Results 1 - 25 of 55) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components/declaration/svg/
H A Dsvg_fe_blend_declaration.h33 FeBlendMode blendMode = FeBlendMode::NORMAL; member
63 void SetBlendMode(const std::string& blendMode) in SetBlendMode() argument
72 int64_t inIndex = BinarySearchFindIndex(EDGE_MODE_TABLE, ArraySize(EDGE_MODE_TABLE), blendMode.c_str()); in SetBlendMode()
75 attribute.blendMode = EDGE_MODE_TABLE[inIndex].value; in SetBlendMode()
82 return attribute.blendMode; in GetBlendMode()
/foundation/arkui/ace_engine/frameworks/core/components_ng/svg/parse/
H A Dsvg_fe_blend.cpp51 auto blendMode = feBlendAttr_.blendMode; in OnAsImageFilter() local
59 RSRecordingImageFilter::CreateBlendImageFilter(GetBlendMode(blendMode), backImageFilter, foreImageFilter); in OnAsImageFilter()
95 attr.blendMode = EDGE_MODE_TABLE[inIndex].value; in ParseAndSetSpecializedAttr()
H A Dsvg_attributes_parser.h274 SvgFeBlendMode blendMode = SvgFeBlendMode::NORMAL; member
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/effect/blender_fuzzer/
H A Dblender_fuzzer.cpp44 uint32_t blendMode = GetObject<uint32_t>(); in BlenderFuzzTest001() local
46 static_cast<BlendMode>(blendMode % BLENDMODE_SIZE)); in BlenderFuzzTest001()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/
H A Daudio_channel_blend.cpp32 AudioBlend::AudioBlend(ChannelBlendMode blendMode, uint8_t format, uint8_t channel) in AudioBlend() argument
33 :blendMode_(blendMode), format_(format), channels_(channel) in AudioBlend()
37 void AudioBlend::SetParams(ChannelBlendMode blendMode, uint8_t format, uint8_t channel) in SetParams() argument
41 blendMode_ = blendMode; in SetParams()
/foundation/multimedia/audio_framework/frameworks/native/audioutils/include/
H A Daudio_channel_blend.h40 AudioBlend(ChannelBlendMode blendMode, uint8_t format, uint8_t channel);
42 void SetParams(ChannelBlendMode blendMode, uint8_t format, uint8_t channel);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/drawable/
H A Drs_misc_drawable.cpp305 // the order of blender and blendMode cannot be considered currently
307 auto blendMode = properties.GetColorBlendMode();
317 } else if (blendMode && blendMode != static_cast<int>(RSColorBlendMode::NONE)) {
319 stagingPropertyDescription_ = "BlendMode, blendMode: " + std::to_string(blendMode) +
322 // map blendMode to Drawing::BlendMode and convert to Blender
323 stagingBlender_ = Drawing::Blender::CreateWithBlendMode(static_cast<Drawing::BlendMode>(blendMode - 1));
324 stagingIsDangerous_ = RSPropertyDrawableUtils::IsDangerousBlendMode(blendMode - 1, stagingBlendApplyType_);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/imagefilter_fuzzer/
H A Dimage_filter_fuzzer.cpp87 uint32_t blendMode = GetObject<uint32_t>(); in ImageFilterFuzzTest002() local
89 static_cast<BlendMode>(blendMode % BLENDMODE_SIZE), imageFilterOne, imageFilterTwo); in ImageFilterFuzzTest002()
123 uint32_t blendMode = GetObject<uint32_t>(); in ImageFilterFuzzTest003() local
125 static_cast<BlendMode>(blendMode % BLENDMODE_SIZE), imageFilterOne, imageFilterOne); in ImageFilterFuzzTest003()
/foundation/multimedia/audio_framework/frameworks/native/audiorenderer/test/example/
H A Daudio_render_mode_callback_test.cpp152 void SetBlendMode(int32_t blendMode) in SetBlendMode() argument
154 blendMode_ = blendMode; in SetBlendMode()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/draw/shadereffect_fuzzer/
H A Dshader_effect_fuzzer.cpp95 uint32_t blendMode = GetObject<uint32_t>(); in ShaderEffectFuzzTest002() local
96 ShaderEffect::CreateBlendShader(shaderEffect, shaderEffectTwo, static_cast<BlendMode>(blendMode % BLENDMODE_SIZE)); in ShaderEffectFuzzTest002()
234 uint32_t blendMode = GetObject<uint32_t>(); in ShaderEffectFuzzTest005() local
237 shaderEffect, static_cast<BlendMode>(blendMode % BLENDMODE_SIZE)); in ShaderEffectFuzzTest005()
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/unittest/draw/
H A Dbrush_test.cpp415 auto blendMode = brush->GetBlendMode(); in HWTEST_F() local
416 EXPECT_TRUE(blendMode == BlendMode::PLUS); in HWTEST_F()
431 auto blendMode = brush->GetBlendMode(); in HWTEST_F() local
432 EXPECT_TRUE(blendMode == BlendMode::SRC_IN); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/pipeline/
H A Drs_canvas_render_node_test.cpp171 int blendMode = 0; in HWTEST_F() local
172 auto convertToBlendMode = [&blendMode]() { in HWTEST_F()
178 auto iter = blendModeLUT.find(blendMode); in HWTEST_F()
184 return blendModeLUT.at(blendMode); in HWTEST_F()
/foundation/multimedia/audio_framework/test/fuzztest/audioutils_fuzzer/
H A Daudio_utils_fuzzer.cpp220 ChannelBlendMode blendMode = static_cast<ChannelBlendMode>(blendMode_int); in AudioBlendFuzzTest() local
224 audioBlend->SetParams(blendMode, format, channel); in AudioBlendFuzzTest()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/property/
H A Drs_property_drawable_bounds_geometry.h422 explicit RSBlendSaveLayerDrawable(int blendMode, std::shared_ptr<Drawing::Blender> blender = nullptr);
432 explicit RSBlendFastDrawable(int blendMode, std::shared_ptr<Drawing::Blender> blender = nullptr) in RSBlendFastDrawable() argument
433 : blendMode_(blendMode), blender_(blender) {} in RSBlendFastDrawable()
H A Drs_properties_painter.h72 static bool IsDangerousBlendMode(int blendMode, int blendApplyType);
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/fuzztest/recording/maskcmdlist_fuzzer/
H A Dmaskcmdlist_fuzzer.cpp176 uint32_t blendMode = GetObject<uint32_t>(); in MaskCmdListFuzzTest004() local
177 brushHandle.mode = static_cast<BlendMode>(blendMode % BLENDMODE_SIZE); in MaskCmdListFuzzTest004()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/property/
H A Drs_property_drawable_bounds_geometry.cpp1050 auto blendMode = properties.GetColorBlendMode(); in BlendSaveDrawableGenerate() local
1052 if (blendMode == 0 && blender == nullptr) { in BlendSaveDrawableGenerate()
1057 "BlendSaveDrawableGenerate::BlendMode, blendMode: %d, blendModeApplyType: %d", blendMode, blendModeApplyType); in BlendSaveDrawableGenerate()
1059 return std::make_unique<RSBlendFastDrawable>(blendMode, blender); in BlendSaveDrawableGenerate()
1061 return std::make_unique<RSBlendSaveLayerDrawable>(blendMode, blender); in BlendSaveDrawableGenerate()
1067 auto blendMode = properties.GetColorBlendMode(); in BlendRestoreDrawableGenerate() local
1069 if (blendMode == 0 && !properties.IsFgBrightnessValid()) { in BlendRestoreDrawableGenerate()
1079 RSBlendSaveLayerDrawable::RSBlendSaveLayerDrawable(int blendMode, std::shared_ptr<Drawing::Blender> blender) in RSBlendSaveLayerDrawable() argument
1084 blendBrush_.SetBlendMode(static_cast<Drawing::BlendMode>(blendMode in RSBlendSaveLayerDrawable()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/drawing_ndk/include/
H A Ddrawing_canvas.h364 * @param blendMode Indicates the blend mode.
372 OH_Drawing_BlendMode blendMode);
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/drawable/
H A Drs_property_drawable_utils.h70 static bool IsDangerousBlendMode(int blendMode, int blendApplyType);
/foundation/multimedia/audio_framework/frameworks/native/audiostream/include/
H A Di_audio_stream.h229 virtual int32_t SetChannelBlendMode(ChannelBlendMode blendMode) = 0;
H A Dfast_audio_stream.h167 int32_t SetChannelBlendMode(ChannelBlendMode blendMode) override;
/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiorenderer/include/
H A Daudio_renderer.h908 virtual int32_t SetChannelBlendMode(ChannelBlendMode blendMode) = 0;
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/
H A Drs_paint_filter_canvas.cpp1174 void RSPaintFilterCanvas::SetBlendMode(std::optional<int> blendMode) in SetBlendMode() argument
1177 if (blendMode) { in SetBlendMode()
1178 // map blendMode to Drawing::BlendMode and convert to Blender in SetBlendMode()
1179 blender = Drawing::Blender::CreateWithBlendMode(static_cast<Drawing::BlendMode>(*blendMode)); in SetBlendMode()
/foundation/arkui/ace_engine/advanced_ui_component/chipgroup/interfaces/
H A Dchipgroup.js754 Stack.blendMode(BlendMode.SRC_OVER, BlendApplyType.OFFSCREEN);
866 Stack.blendMode(BlendMode.DST_IN, BlendApplyType.OFFSCREEN);
/foundation/arkui/ace_engine/frameworks/core/components_ng/base/
H A Dview_abstract_model_ng.h839 void SetBlendMode(BlendMode blendMode) override
841 ViewAbstract::SetBlendMode(blendMode);
1449 static void SetBlendMode(FrameNode* frameNode, BlendMode blendMode) in SetBlendMode() argument
1451 ViewAbstract::SetBlendMode(frameNode, blendMode); in SetBlendMode()

Completed in 24 milliseconds

123