Home
last modified time | relevance | path

Searched refs:background (Results 1 - 25 of 53) sorted by relevance

123

/foundation/arkui/ace_engine/frameworks/core/components_v2/indexer/
H A Dindexer_item_component.cpp48 // generate background in BuildItem()
49 RefPtr<Decoration> background = AceType::MakeRefPtr<Decoration>(); in BuildItem() local
50 background->SetBackgroundColor(Color::TRANSPARENT); in BuildItem()
53 background->SetBorderRadius(radius); in BuildItem()
54 box_->SetBackDecoration(background); in BuildItem()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/src/bundle_resource/
H A Dbundle_resource_info.cpp47 CONTAINER_SECURITY_VERIFY(parcel, backgroundSize, &background); in ReadFromParcel()
49 background.emplace_back(parcel.ReadUint8()); in ReadFromParcel()
65 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, background.size()); in Marshalling()
66 for (const auto &data : background) { in Marshalling()
H A Dlauncher_ability_resource_info.cpp56 CONTAINER_SECURITY_VERIFY(parcel, backgroundSize, &background); in ReadFromParcel()
58 background.emplace_back(parcel.ReadUint8()); in ReadFromParcel()
76 WRITE_PARCEL_AND_RETURN_FALSE_IF_FAIL(Int32, parcel, background.size()); in Marshalling()
77 for (const auto &data : background) { in Marshalling()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_resource/
H A Dbundle_resource_drawable_utils.cpp45 const std::vector<uint8_t> &foreground, const std::vector<uint8_t> &background) in ConvertToDrawableDescriptor()
48 if (foreground.empty() && background.empty()) { in ConvertToDrawableDescriptor()
57 if (background.empty()) { in ConvertToDrawableDescriptor()
66 size_t lenBackground = background.size(); in ConvertToDrawableDescriptor()
69 backgroundPtr[index] = background[index]; in ConvertToDrawableDescriptor()
44 ConvertToDrawableDescriptor(napi_env env, const std::vector<uint8_t> &foreground, const std::vector<uint8_t> &background) ConvertToDrawableDescriptor() argument
H A Dbundle_resource_drawable_utils.h33 const std::vector<uint8_t> &foreground, const std::vector<uint8_t> &background);
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Ddrawable_descriptor.cpp44 const char DRAWABLEDESCRIPTOR_JSON_KEY_BACKGROUND[] = "background";
170 // preprocess get background and foreground in InitialResource()
172 HILOGD("Create background Item imageSource from json buffer failed"); in InitialResource()
268 HILOGE("Get background from json buffer failed"); in GetPixelMapFromJsonBuf()
315 auto background = Media::ImageSource::CreateImageSource(backgroundInfo.first.get(), backgroundInfo.second, opts, in InitLayeredParam() local
320 auto pixelMapPtr = background->CreatePixelMap(decodeOpts, errorCode); in InitLayeredParam()
442 std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask) in GetLayeredIconParm()
451 background = ImageConverter::PixelMapToBitmap(background_.value()); in GetLayeredIconParm()
453 HILOGE("Get pixelMap of background failed."); in GetLayeredIconParm()
493 std::shared_ptr<Rosen::Drawing::Bitmap>& background, st in CompositeIconAdaptive()
441 GetLayeredIconParm(std::shared_ptr<Rosen::Drawing::Bitmap>& foreground, std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask) GetLayeredIconParm() argument
492 CompositeIconAdaptive(std::shared_ptr<Rosen::Drawing::Bitmap>& foreground, std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask) CompositeIconAdaptive() argument
538 BlendForeground(Rosen::Drawing::Canvas& bitmapCanvas, Rosen::Drawing::Brush& brush, Rosen::Drawing::Image& image, const std::shared_ptr<Rosen::Drawing::Bitmap>& background, const std::shared_ptr<Rosen::Drawing::Bitmap>& foreground) BlendForeground() argument
566 CompositeIconNotAdaptive(std::shared_ptr<Rosen::Drawing::Bitmap>& foreground, std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask) CompositeIconNotAdaptive() argument
634 std::shared_ptr<Rosen::Drawing::Bitmap> background; CreatePixelMap() local
[all...]
H A Ddrawable_descriptor.h137 void SetBackground(std::shared_ptr<Media::PixelMap> background) in SetBackground() argument
139 background_ = background; in SetBackground()
179 std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask);
182 std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask);
184 std::shared_ptr<Rosen::Drawing::Bitmap>& background, std::shared_ptr<Rosen::Drawing::Bitmap>& mask);
190 Rosen::Drawing::Image& image, const std::shared_ptr<Rosen::Drawing::Bitmap>& background,
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Dimage_filter.cpp64 std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground, const Rect& cropRect) noexcept
68 impl_->InitWithArithmetic(coefficients, enforcePMColor, background, foreground, cropRect); in ImageFilter()
135 bool enforcePMColor, std::shared_ptr<ImageFilter> background, in CreateArithmeticImageFilter()
139 ImageFilter::FilterType::ARITHMETIC, coefficients, enforcePMColor, background, foreground, cropRect); in CreateArithmeticImageFilter()
159 std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground, const Rect& cropRect) in CreateBlendImageFilter()
161 return std::make_shared<ImageFilter>(ImageFilter::FilterType::BLEND, mode, background, foreground, cropRect); in CreateBlendImageFilter()
164 ImageFilter::ImageFilter(FilterType t, BlendMode mode, std::shared_ptr<ImageFilter> background,
169 impl_->InitWithBlend(mode, cropRect, background, foreground); in ImageFilter()
134 CreateArithmeticImageFilter(const std::vector<scalar>& coefficients, bool enforcePMColor, std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground, const Rect& cropRect) CreateArithmeticImageFilter() argument
158 CreateBlendImageFilter(BlendMode mode, std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground, const Rect& cropRect) CreateBlendImageFilter() argument
/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drosen_render_list_item.h40 void PaintCurrentSticky(const RefPtr<Decoration>& background, const Offset& offset);
41 void PaintNextSticky(const RefPtr<Decoration>& background, const Offset& offset);
H A Drosen_render_list_item.cpp339 RefPtr<Decoration> background = AceType::MakeRefPtr<Decoration>(); in PaintStickyEffectNoTransparent() local
342 PaintNextSticky(background, offset); in PaintStickyEffectNoTransparent()
344 PaintCurrentSticky(background, offset); in PaintStickyEffectNoTransparent()
347 box->SetBackDecoration(background); in PaintStickyEffectNoTransparent()
349 // reset background in PaintStickyEffectNoTransparent()
356 void RosenRenderListItem::PaintCurrentSticky(const RefPtr<Decoration>& background, const Offset& offset) in PaintCurrentSticky() argument
369 background->SetArcBackground(arcBg); in PaintCurrentSticky()
374 background->SetBackgroundColor(color); in PaintCurrentSticky()
378 void RosenRenderListItem::PaintNextSticky(const RefPtr<Decoration>& background, const Offset& offset) in PaintNextSticky() argument
385 mainOffset = 0.0; // Make the background sam in PaintNextSticky()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/
H A Dskia_image_filter.cpp115 sk_sp<SkImageFilter> background = nullptr; in InitWithArithmetic() local
118 background = f1->GetImpl<SkiaImageFilter>()->GetImageFilter(); in InitWithArithmetic()
126 coefficients[1], coefficients[2], coefficients[3], // 0 1 2 3 used to combine the foreground and background. in InitWithArithmetic()
127 enforcePMColor, background, foreground, skCropRect); in InitWithArithmetic()
188 std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground) in InitWithBlend()
192 if (background != nullptr && background->GetImpl<SkiaImageFilter>() != nullptr) { in InitWithBlend()
193 outer = background->GetImpl<SkiaImageFilter>()->GetImageFilter(); in InitWithBlend()
187 InitWithBlend(BlendMode mode, const Rect& cropRect, std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground) InitWithBlend() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_modifier.h65 const ImageSourceInfo& foreground, const ImageSourceInfo& secondary, const ImageSourceInfo& background) in UpdateImageSourceInfo()
69 background_ = background; in UpdateImageSourceInfo()
73 const ImageSourceInfo& background, const ImagePaintConfig& foregroundConfig) in JudgeImageSourceInfo()
81 if (background_ != background) { in JudgeImageSourceInfo()
64 UpdateImageSourceInfo( const ImageSourceInfo& foreground, const ImageSourceInfo& secondary, const ImageSourceInfo& background) UpdateImageSourceInfo() argument
72 JudgeImageSourceInfo(const ImageSourceInfo& foreground, const ImageSourceInfo& secondary, const ImageSourceInfo& background, const ImagePaintConfig& foregroundConfig) JudgeImageSourceInfo() argument
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/
H A Dpage_transition_component.h48 // set page background box. set background, width and height in BoxComponent and set it
49 void SetBackground(const RefPtr<BoxComponent>& background) in SetBackground() argument
51 if (!background) { in SetBackground()
52 LOGE("background is empty when set back decoration."); in SetBackground()
55 background_ = background; in SetBackground()
58 // get the user's background box
175 bool isSeparation_ = false; // true means that the content of the page is separated from the background
177 RefPtr<BoxComponent> background_; // page background box, will be wrapped with animation component
/foundation/arkui/ace_engine/frameworks/core/components/indexer/
H A Dindexer_item_component.cpp52 // generate background in BuildItem()
53 RefPtr<Decoration> background = AceType::MakeRefPtr<Decoration>(); in BuildItem() local
54 background->SetBackgroundColor(Color::TRANSPARENT); in BuildItem()
57 background->SetBorderRadius(radius); in BuildItem()
58 box_->SetBackDecoration(background); in BuildItem()
/foundation/arkui/ui_lite/test/unittest/components/
H A Dui_abstract_progress_unit_test.cpp28 const char* background = "D:/"; member
225 background = backgroundImage->GetPath(); in HWTEST_F()
226 abstractProgress_->SetImage(foreground, background); in HWTEST_F()
232 if (background == nullptr) { in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/include/effect/
H A Dimage_filter.h84 * @param coefficients Get the four coefficients used to combine the foreground and background in the vector.
87 * @param background The Background content, using the source bitmap when this is null.
93 bool enforcePMColor, std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground,
111 * @param background The Dst pixels used in blending, if null the source bitmap is used.
117 std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground = nullptr,
158 std::shared_ptr<ImageFilter> background, std::shared_ptr<ImageFilter> foreground,
166 ImageFilter(FilterType t, BlendMode mode, std::shared_ptr<ImageFilter> background,
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_image_filter.h59 bool enforcePMColor, std::shared_ptr<TestingImageFilter> background, in CreateArithmeticImageFilter()
72 std::shared_ptr<TestingImageFilter> background, std::shared_ptr<TestingImageFilter> foreground = nullptr) in CreateBlendImageFilter()
58 CreateArithmeticImageFilter(const std::vector<scalar>& coefficients, bool enforcePMColor, std::shared_ptr<TestingImageFilter> background, std::shared_ptr<TestingImageFilter> foreground) CreateArithmeticImageFilter() argument
71 CreateBlendImageFilter(BlendMode mode, std::shared_ptr<TestingImageFilter> background, std::shared_ptr<TestingImageFilter> foreground = nullptr) CreateBlendImageFilter() argument
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dresource_info.cpp76 background_ = bundleResourceInfo.background; in ConvertFromBundleResourceInfo()
93 background_ = launcherAbilityResourceInfo.background; in ConvertFromLauncherAbilityResourceInfo()
H A Dbundle_resource_parser.cpp36 constexpr const char* BACKGROUND = "background";
55 std::string background; member
65 BMSJsonUtil::GetStrValueIfFindKey(jsonObject, jsonObjectEnd, BACKGROUND, layeredImage.background, in from_json()
397 if (layerImage.foreground.empty() && layerImage.background.empty()) { in ParseIconIdFromJson()
398 APP_LOGE("foreground background empty, buffer %{public}s", jsonBuff.c_str()); in ParseIconIdFromJson()
407 pos = layerImage.background.find(CHAR_COLON); in ParseIconIdFromJson()
409 int32_t backgroundLength = static_cast<int32_t>(layerImage.background.length()); in ParseIconIdFromJson()
410 backgroundId = static_cast<uint32_t>(atoi(layerImage.background.substr(pos + 1, in ParseIconIdFromJson()
463 // parse background in ParseForegroundAndBackgroundResource()
465 APP_LOGE("parse background faile in ParseForegroundAndBackgroundResource()
[all...]
/foundation/multimedia/av_session/services/session/server/test/
H A Dbundle_status_adapter_test.cpp95 "executeMode": ["background"] in HWTEST_F()
118 "executeMode": ["background"] in HWTEST_F()
141 "executeMode": ["background"] in HWTEST_F()
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_base/include/bundle_resource/
H A Dbundle_resource_info.h45 std::vector<uint8_t> background; member
H A Dlauncher_ability_resource_info.h34 std::vector<uint8_t> background; member
/foundation/arkui/ui_lite/frameworks/components/
H A Droot_view.cpp293 void RootView::OptimizeInvalidView(UIView* curview, UIView* background, List<Rect>& renderedRects) in OptimizeInvalidView() argument
304 /* Transparent views should draw from background */ in OptimizeInvalidView()
308 AddInvalidateRect(invalidRect, background); in OptimizeInvalidView()
330 AddInvalidateRect(invalidRectCopy, background); in OptimizeInvalidView()
340 UIView* background[VIEW_STACK_DEPTH]; in OptimizeInvalidMap() local
364 /* Set background/topview */ in OptimizeInvalidMap()
368 background[opaStackCount] = curview; in OptimizeInvalidMap()
370 background[opaStackCount] = background[opaStackCount - 1]; in OptimizeInvalidMap()
383 OptimizeInvalidView(curview, background[opaStackCoun in OptimizeInvalidMap()
[all...]
/foundation/window/window_manager/previewer/include/
H A Dwm_common.h528 SystemBarProperty(bool enable, uint32_t background, uint32_t content, bool enableAnimation) in SystemBarProperty()
529 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty()
531 SystemBarProperty(bool enable, uint32_t background, uint32_t content) in SystemBarProperty()
532 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(false), in SystemBarProperty()
534 SystemBarProperty(bool enable, uint32_t background, uint32_t content, in SystemBarProperty()
536 : enable_(enable), backgroundColor_(background), contentColor_(content), enableAnimation_(enableAnimation), in SystemBarProperty()
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/adapter/skia_txt/
H A Dconvert.cpp138 textStyle.background = SPText::PaintRecord(style.backgroundBrush, style.backgroundPen); in SplitTextStyleConvert()
215 if (style.background.has_value()) { in SplitTextStyleConvert()
216 textStyle.backgroundBrush = style.background->brush; in SplitTextStyleConvert()
217 textStyle.backgroundPen = style.background->pen; in SplitTextStyleConvert()

Completed in 15 milliseconds

123