Searched refs:backgroundInfo (Results 1 - 4 of 4) sorted by relevance
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_drawable.cpp | 69 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in GetIconResourceByTheme() local 70 Global::Resource::RState state = resourceManager->GetThemeIcons(iconId, foregroundInfo, backgroundInfo, density, in GetIconResourceByTheme() 74 auto drawableDescriptor = Ace::Napi::DrawableDescriptorFactory::Create(foregroundInfo, backgroundInfo, in GetIconResourceByTheme() 83 resourceInfo.background_.resize(backgroundInfo.second); in GetIconResourceByTheme() 84 for (size_t index = 0; index < backgroundInfo.second; ++index) { in GetIconResourceByTheme() 85 resourceInfo.background_[index] = backgroundInfo.first[index]; in GetIconResourceByTheme()
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.h | 114 std::pair<std::unique_ptr<uint8_t[]>, size_t>& backgroundInfo) in LayeredDrawableDescriptor() 117 InitLayeredParam(foregroundInfo, backgroundInfo); in LayeredDrawableDescriptor() 130 std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo); 366 std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo, std::string &path, DrawableType& drawableType, in Create() 372 std::move(jsonBuf), 0, resourceMgr, path, 1, foregroundInfo, backgroundInfo); in Create() 111 LayeredDrawableDescriptor(std::unique_ptr<uint8_t[]> jsonBuf, size_t len, const std::shared_ptr<Global::Resource::ResourceManager>& resourceMgr, std::string path, uint32_t iconType, std::pair<std::unique_ptr<uint8_t[]>, size_t>& foregroundInfo, std::pair<std::unique_ptr<uint8_t[]>, size_t>& backgroundInfo) LayeredDrawableDescriptor() argument 365 Create(std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo, std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo, std::string &path, DrawableType& drawableType, const std::shared_ptr<ResourceManager>& resourceMgr) Create() argument
|
H A D | drawable_descriptor.cpp | 303 std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo) in InitLayeredParam() 315 auto background = Media::ImageSource::CreateImageSource(backgroundInfo.first.get(), backgroundInfo.second, opts, in InitLayeredParam() 302 InitLayeredParam(std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo, std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo) InitLayeredParam() argument
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | drawable_descriptor_test.cpp | 184 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo = { nullptr, 0 }; in HWTEST_F() local 186 auto res5 = drawableDescriptorFactory.Create(foregroundInfo, backgroundInfo, path, drawableType, resourceMgr); in HWTEST_F() 242 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo = { nullptr, 0 }; in HWTEST_F() local 243 layeredDrawableDescriptor.InitLayeredParam(foregroundInfo, backgroundInfo); in HWTEST_F()
|
Completed in 5 milliseconds