Home
last modified time | relevance | path

Searched refs:foreground_ (Results 1 - 18 of 18) sorted by relevance

/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_iability_monitor.cpp28 foreground_ = false; in MockIabilityMonitor()
45 foreground_ = true; in OnAbilityForeground()
H A Dmock_iability_monitor.h52 bool foreground_; member in OHOS::AppExecFwk::MockIabilityMonitor
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_modifier.h67 foreground_ = foreground; in UpdateImageSourceInfo()
75 if (foreground_ != foreground) { in JudgeImageSourceInfo()
211 ImageSourceInfo foreground_; member in OHOS::Ace::NG::RatingModifier
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/
H A Dbundle_resource_parser.cpp341 !resourceInfo.foreground_.empty()) { in ParseIconResourceByResourceManager()
357 resourceInfo.foreground_.resize(len); in ParseIconResourceByResourceManager()
359 resourceInfo.foreground_[index] = jsonBuf[index]; in ParseIconResourceByResourceManager()
375 resourceInfo.foreground_.resize(len); in ParseIconResourceByResourceManager()
377 resourceInfo.foreground_[index] = jsonBuf[index]; in ParseIconResourceByResourceManager()
459 if (!GetMediaDataById(resourceManager, foregroundId, density, resourceInfo.foreground_)) { in ParseForegroundAndBackgroundResource()
469 resourceInfo.foreground_.size(), resourceInfo.background_.size()); in ParseForegroundAndBackgroundResource()
546 resourceInfos[0].foreground_ = resourceInfo.foreground_; in ProcessSpecialBundleResource()
H A Dresource_info.cpp75 foreground_ = bundleResourceInfo.foreground; in ConvertFromBundleResourceInfo()
92 foreground_ = launcherAbilityResourceInfo.foreground; in ConvertFromLauncherAbilityResourceInfo()
H A Dbundle_resource_drawable.cpp78 resourceInfo.foreground_.resize(foregroundInfo.second); in GetIconResourceByTheme()
80 resourceInfo.foreground_[index] = foregroundInfo.first[index]; in GetIconResourceByTheme()
H A Dbundle_resource_rdb.cpp71 valuesBucket.PutBlob(BundleResourceConstants::FOREGROUND, resourceInfo.foreground_); in AddResourceInfo()
74 resourceInfo.foreground_.size(), resourceInfo.background_.size()); in AddResourceInfo()
108 valuesBucket.PutBlob(BundleResourceConstants::FOREGROUND, info.foreground_); in AddResourceInfos()
113 valuesBucket.PutBlob(BundleResourceConstants::FOREGROUND, resourceInfos[0].foreground_); in AddResourceInfos()
117 info.foreground_.size(), info.background_.size()); in AddResourceInfos()
538 valuesBucket.PutBlob(BundleResourceConstants::FOREGROUND, resourceInfo.foreground_); in UpdateResourceForSystemStateChanged()
542 valuesBucket.PutBlob(BundleResourceConstants::FOREGROUND, resourceInfos[0].foreground_); in UpdateResourceForSystemStateChanged()
H A Dbundle_resource_process.cpp198 info.foreground_ = resourceInfo.foreground_; in ChangeDynamicIcon()
250 defaultResourceInfo.foreground_ = dynamicResourceInfo.foreground_; in InnerGetResourceInfo()
H A Dbundle_resource_manager.cpp173 resourceInfo.foreground_ = resourceInfo.foreground_.empty() ? bundleResourceInfo.foreground : in AddResourceInfo()
174 resourceInfo.foreground_; in AddResourceInfo()
377 resourceInfo.foreground_ = resourceInfos[0].foreground_; in ProcessResourceInfo()
503 resourceInfo.foreground_ = bundleResourceInfo.foreground; in GetDefaultIcon()
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/bundle_resource/
H A Dresource_info.h58 std::vector<uint8_t> foreground_; member in OHOS::AppExecFwk::ResourceInfo
/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()
264 foreground_ = std::shared_ptr<Media::PixelMap>(pixelMapPtr.release()); in GetPixelMapFromJsonBuf()
313 foreground_ = std::shared_ptr<Media::PixelMap>(pixelMapPtr.release()); in InitLayeredParam()
373 if (foreground_.has_value()) { in GetForeground()
374 return std::make_unique<DrawableDescriptor>(foreground_.value()); in GetForeground()
378 return std::make_unique<DrawableDescriptor>(foreground_.value()); in GetForeground()
444 if (foreground_.has_value() || GetPixelMapFromJsonBuf(false)) { in GetLayeredIconParm()
445 foreground = ImageConverter::PixelMapToBitmap(foreground_.value()); in GetLayeredIconParm()
H A Ddrawable_descriptor.h133 foreground_ = foreground; in SetForeground()
203 OptionalPixelMap foreground_; member in OHOS::Ace::Napi::LayeredDrawableDescriptor
/foundation/arkui/ace_engine/test/mock/core/rosen/
H A Dtesting_text_style.h121 TestingPen foreground_; member in OHOS::Ace::Testing::TestingTextStyle
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/
H A Dbms_bundle_resource_test.cpp443 resourceInfo.foreground_.push_back(1); in HWTEST_F()
571 resourceInfo.foreground_.push_back(1); in HWTEST_F()
931 resourceInfo.foreground_.push_back(1); in HWTEST_F()
960 resourceInfo.foreground_.push_back(1); in HWTEST_F()
989 resourceInfo.foreground_.push_back(1); in HWTEST_F()
1019 resourceInfo.foreground_.push_back(1); in HWTEST_F()
2728 resourceInfo.foreground_.emplace_back(1); in HWTEST_F()
2742 EXPECT_EQ(info.foreground[0], resourceInfo.foreground_[0]); in HWTEST_F()
2766 resourceInfo.foreground_.emplace_back(1); in HWTEST_F()
2782 EXPECT_EQ(info.foreground[0], resourceInfo.foreground_[ in HWTEST_F()
[all...]
/foundation/arkui/ace_engine/test/unittest/interfaces/
H A Ddrawable_descriptor_test.cpp248 EXPECT_EQ(layeredDrawableDescriptor.foreground_, std::nullopt); in HWTEST_F()
692 drawable.foreground_ = pixelMap; in HWTEST_F()
/foundation/ability/ability_runtime/test/moduletest/ability_delegator_test/
H A Dability_delegator_module_test.cpp785 EXPECT_FALSE(mockMonitor->foreground_); in HWTEST_F()
824 EXPECT_TRUE(mockMonitor->foreground_); in HWTEST_F()
/foundation/arkui/ace_engine/test/unittest/core/pattern/rating/
H A Drating_test_ng.cpp604 EXPECT_EQ(ratingPattern->ratingModifier_->foreground_.GetSrc(), RESOURCE_URL); in HWTEST_F()
627 EXPECT_EQ(ratingPattern->ratingModifier_->foreground_.GetSrc(), RATING_SVG_URL); in HWTEST_F()
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_appkit_native_test/ability_delegator/
H A Dability_delegator_test.cpp1194 EXPECT_FALSE(mockMonitor->foreground_); in HWTEST_F()
1234 EXPECT_TRUE(mockMonitor->foreground_); in HWTEST_F()

Completed in 25 milliseconds