Home
last modified time | relevance | path

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

/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Drender_image.h127 if (background_ && directionX) { in SetBgImageSize()
134 if (background_ && !directionX) { in SetBgImageSize()
145 if (background_ && imagePosition != imagePosition_) { in SetBgImagePosition()
165 if (background_ != backgroundImageFlag) { in SetBackgroundImageFlag()
166 background_ = backgroundImageFlag; in SetBackgroundImageFlag()
172 return background_; in GetBackgroundImageFlag()
187 if (background_ && boxPaintSize_ != boxPaintSize) { in SetBgImageBoxPaintSize()
195 if (background_ && boxMarginOffset_ != boxMarginOffset) { in SetBgImageBoxMarginOffset()
381 bool background_ = false; member in OHOS::Ace::RenderImage
H A Drender_image.cpp357 if (background_) { in PerformLayout()
635 if (!background_) { in PerformLayoutBgImage()
882 background_ = false; in ClearRenderObject()
H A Drosen_render_image.cpp174 if (!background_) { in ImageObjReady()
220 if (!isTargetSource && (imageObj_->GetFrameCount() <= 1) && !background_) { in ImageDataPaintSuccess()
230 if (background_) { in ImageDataPaintSuccess()
1081 return (newSourceCallLoadImage && (background_ || resizeTarget_.IsValid())) ||
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_iability_monitor.cpp29 background_ = false; in MockIabilityMonitor()
51 background_ = true; in OnAbilityBackground()
H A Dmock_iability_monitor.h53 bool background_; member in OHOS::AppExecFwk::MockIabilityMonitor
/foundation/arkui/ace_engine/frameworks/core/components/page_transition/
H A Dpage_transition_component.h55 background_ = background; in SetBackground()
61 return background_; in GetBackground()
177 RefPtr<BoxComponent> background_; // page background box, will be wrapped with animation component member in OHOS::Ace::PageTransitionComponent
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_modifier.h69 background_ = background; in UpdateImageSourceInfo()
81 if (background_ != background) { in JudgeImageSourceInfo()
213 ImageSourceInfo background_; member in OHOS::Ace::NG::RatingModifier
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/
H A Ddrawable_descriptor.cpp240 if ((isBackground && background_.has_value()) || (!isBackground && foreground_.has_value())) { in GetPixelMapFromJsonBuf()
262 background_ = std::shared_ptr<Media::PixelMap>(pixelMapPtr.release()); in GetPixelMapFromJsonBuf()
321 background_ = std::shared_ptr<Media::PixelMap>(pixelMapPtr.release()); in InitLayeredParam()
387 if (background_.has_value()) { in GetBackground()
388 return std::make_unique<DrawableDescriptor>(background_.value()); in GetBackground()
392 return std::make_unique<DrawableDescriptor>(background_.value()); in GetBackground()
450 if (background_.has_value() || GetPixelMapFromJsonBuf(true)) { in GetLayeredIconParm()
451 background = ImageConverter::PixelMapToBitmap(background_.value()); in GetLayeredIconParm()
469 if (background_.has_value()) { in TransformToPixelMap()
470 opts.alphaType = background_ in TransformToPixelMap()
[all...]
H A Ddrawable_descriptor.h139 background_ = background; in SetBackground()
204 OptionalPixelMap background_; member in OHOS::Ace::Napi::LayeredDrawableDescriptor
/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_drawable.cpp83 resourceInfo.background_.resize(backgroundInfo.second); in GetIconResourceByTheme()
85 resourceInfo.background_[index] = backgroundInfo.first[index]; in GetIconResourceByTheme()
H A Dbundle_resource_rdb.cpp72 valuesBucket.PutBlob(BundleResourceConstants::BACKGROUND, resourceInfo.background_); in AddResourceInfo()
74 resourceInfo.foreground_.size(), resourceInfo.background_.size()); in AddResourceInfo()
109 valuesBucket.PutBlob(BundleResourceConstants::BACKGROUND, info.background_); in AddResourceInfos()
114 valuesBucket.PutBlob(BundleResourceConstants::BACKGROUND, resourceInfos[0].background_); in AddResourceInfos()
117 info.foreground_.size(), info.background_.size()); in AddResourceInfos()
539 valuesBucket.PutBlob(BundleResourceConstants::BACKGROUND, resourceInfo.background_); in UpdateResourceForSystemStateChanged()
543 valuesBucket.PutBlob(BundleResourceConstants::BACKGROUND, resourceInfos[0].background_); in UpdateResourceForSystemStateChanged()
H A Dbundle_resource_process.cpp199 info.background_ = resourceInfo.background_; in ChangeDynamicIcon()
251 defaultResourceInfo.background_ = dynamicResourceInfo.background_; in InnerGetResourceInfo()
H A Dbundle_resource_manager.cpp175 resourceInfo.background_ = resourceInfo.background_.empty() ? bundleResourceInfo.background : in AddResourceInfo()
176 resourceInfo.background_; in AddResourceInfo()
378 resourceInfo.background_ = resourceInfos[0].background_; in ProcessResourceInfo()
504 resourceInfo.background_ = bundleResourceInfo.background; in GetDefaultIcon()
H A Dbundle_resource_parser.cpp464 if (!GetMediaDataById(resourceManager, backgroundId, density, resourceInfo.background_)) { in ParseForegroundAndBackgroundResource()
469 resourceInfo.foreground_.size(), resourceInfo.background_.size()); in ParseForegroundAndBackgroundResource()
547 resourceInfos[0].background_ = resourceInfo.background_; in ProcessSpecialBundleResource()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/
H A Dresource_info.h59 std::vector<uint8_t> background_; member in OHOS::AppExecFwk::ResourceInfo
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing/test_case/
H A Dtest_base.h69 uint32_t background_ = DEFAULT_BACKGROUND_COLOR; member in OHOS::Rosen::TestBase
H A Dtest_base.cpp64 bitmapCanvas_->DrawColor(background_); in CreateBitmapCanvas()
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_text_style.h120 TestingPen background_; member in OHOS::Ace::Testing::TestingTextStyle
/foundation/graphic/graphic_2d/rosen/test/2d_graphics/drawing_ndk/cpp/
H A Dtest_base.h105 uint32_t background_ = DEFAULT_BACKGROUND_COLOR; member in TestBase
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/
H A Dbms_bundle_resource_test.cpp2729 resourceInfo.background_.emplace_back(2); in HWTEST_F()
2746 EXPECT_EQ(info.background[0], resourceInfo.background_[0]); in HWTEST_F()
2767 resourceInfo.background_.emplace_back(2); in HWTEST_F()
2786 EXPECT_EQ(info.background[0], resourceInfo.background_[0]); in HWTEST_F()
2809 resourceInfo.background_.emplace_back(2); in HWTEST_F()
2831 EXPECT_EQ(infos[0].background[0], resourceInfo.background_[0]); in HWTEST_F()
2855 resourceInfo.background_.emplace_back(2); in HWTEST_F()
2878 EXPECT_EQ(infos[0].background[0], resourceInfo.background_[0]); in HWTEST_F()
3144 resourceInfo.background_.push_back(1); in HWTEST_F()
3162 EXPECT_EQ(newBundleResourceInfo.background.size(), resourceInfo.background_ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Ddrawable_descriptor_test.cpp249 EXPECT_EQ(layeredDrawableDescriptor.background_, std::nullopt); in HWTEST_F()
706 drawable.background_ = pixelMap; in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/
H A Dability_delegator_module_test.cpp863 EXPECT_FALSE(mockMonitor->background_); in HWTEST_F()
902 EXPECT_TRUE(mockMonitor->background_); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rating/
H A Drating_test_ng.cpp606 EXPECT_EQ(ratingPattern->ratingModifier_->background_.GetSrc(), RATING_BACKGROUND_URL); in HWTEST_F()
629 EXPECT_EQ(ratingPattern->ratingModifier_->background_.GetSrc(), RESOURCE_URL); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/
H A Dability_delegator_test.cpp1273 EXPECT_FALSE(mockMonitor->background_); in HWTEST_F()
1313 EXPECT_TRUE(mockMonitor->background_); in HWTEST_F()

Completed in 34 milliseconds