Searched refs:foregroundInfo (Results 1 - 4 of 4) sorted by relevance
/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/bundle_resource/ |
H A D | bundle_resource_drawable.cpp | 68 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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() 78 resourceInfo.foreground_.resize(foregroundInfo.second); in GetIconResourceByTheme() 79 for (size_t index = 0; index < foregroundInfo.second; ++index) { in GetIconResourceByTheme() 80 resourceInfo.foreground_[index] = foregroundInfo.first[index]; in GetIconResourceByTheme()
|
/foundation/arkui/ace_engine/interfaces/inner_api/drawable_descriptor/ |
H A D | drawable_descriptor.h | 113 std::pair<std::unique_ptr<uint8_t[]>, size_t>& foregroundInfo, in LayeredDrawableDescriptor() 117 InitLayeredParam(foregroundInfo, backgroundInfo); in LayeredDrawableDescriptor() 129 void InitLayeredParam(std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo, 365 static std::unique_ptr<DrawableDescriptor> Create(std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo, in Create() argument 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
|
H A D | drawable_descriptor.cpp | 302 void LayeredDrawableDescriptor::InitLayeredParam(std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo, in InitLayeredParam() argument 307 auto foreground = Media::ImageSource::CreateImageSource(foregroundInfo.first.get(), foregroundInfo.second, opts, in InitLayeredParam()
|
/foundation/arkui/ace_engine/test/unittest/interfaces/ |
H A D | drawable_descriptor_test.cpp | 183 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo = { nullptr, 0 }; in HWTEST_F() local 186 auto res5 = drawableDescriptorFactory.Create(foregroundInfo, backgroundInfo, path, drawableType, resourceMgr); in HWTEST_F() 241 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo = { nullptr, 0 }; in HWTEST_F() local 243 layeredDrawableDescriptor.InitLayeredParam(foregroundInfo, backgroundInfo); in HWTEST_F()
|
Completed in 4 milliseconds