/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/ |
H A D | mock_iability_monitor.cpp | 28 foreground_ = false; in MockIabilityMonitor() 45 foreground_ = true; in OnAbilityForeground()
|
H A D | mock_iability_monitor.h | 52 bool foreground_; member in OHOS::AppExecFwk::MockIabilityMonitor
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/ |
H A D | rating_modifier.h | 67 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 D | bundle_resource_parser.cpp | 341 !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 D | resource_info.cpp | 75 foreground_ = bundleResourceInfo.foreground; in ConvertFromBundleResourceInfo() 92 foreground_ = launcherAbilityResourceInfo.foreground; in ConvertFromLauncherAbilityResourceInfo()
|
H A D | bundle_resource_drawable.cpp | 78 resourceInfo.foreground_.resize(foregroundInfo.second); in GetIconResourceByTheme() 80 resourceInfo.foreground_[index] = foregroundInfo.first[index]; in GetIconResourceByTheme()
|
H A D | bundle_resource_rdb.cpp | 71 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 D | bundle_resource_process.cpp | 198 info.foreground_ = resourceInfo.foreground_; in ChangeDynamicIcon() 250 defaultResourceInfo.foreground_ = dynamicResourceInfo.foreground_; in InnerGetResourceInfo()
|
H A D | bundle_resource_manager.cpp | 173 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 D | resource_info.h | 58 std::vector<uint8_t> foreground_; member in OHOS::AppExecFwk::ResourceInfo
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.cpp | 240 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 D | drawable_descriptor.h | 133 foreground_ = foreground; in SetForeground() 203 OptionalPixelMap foreground_; member in OHOS::Ace::Napi::LayeredDrawableDescriptor
|
/foundation/arkui/ace_engine/test/mock/core/rosen/ |
H A D | testing_text_style.h | 121 TestingPen foreground_; member in OHOS::Ace::Testing::TestingTextStyle
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/unittest/bms_bundle_resource_test/ |
H A D | bms_bundle_resource_test.cpp | 443 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 D | drawable_descriptor_test.cpp | 248 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 D | ability_delegator_module_test.cpp | 785 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 D | rating_test_ng.cpp | 604 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 D | ability_delegator_test.cpp | 1194 EXPECT_FALSE(mockMonitor->foreground_); in HWTEST_F() 1234 EXPECT_TRUE(mockMonitor->foreground_); in HWTEST_F()
|