Home
last modified time | relevance | path

Searched refs:backgroundInfo (Results 1 - 7 of 7) sorted by relevance

/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dtheme_manager_test.cpp132 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in HWTEST_F() local
133 RState state = rm->GetThemeIcons(resId, foregroundInfo, backgroundInfo); in HWTEST_F()
139 state = rm->GetThemeIcons(resId, foregroundInfo, backgroundInfo); in HWTEST_F()
155 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in HWTEST_F() local
156 RState state = rm->GetThemeIcons(resId, foregroundInfo, backgroundInfo); in HWTEST_F()
163 state = rm->GetThemeIcons(resId, foregroundInfo, backgroundInfo); in HWTEST_F()
181 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in HWTEST_F() local
182 RState state = rm->GetThemeIcons(resId, foregroundInfo, backgroundInfo, 0, "ohos.global.test.all.EntryAbility"); in HWTEST_F()
188 state = rm->GetThemeIcons(resId, foregroundInfo, backgroundInfo, 0, "ohos.global.test.all.EntryAbility"); in HWTEST_F()
/base/global/resource_management/frameworks/resmgr/src/
H A Dnative_resource_manager.cpp268 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in OH_ResourceManager_GetDrawableDescriptorData() local
269 state = mgr->resManager->GetThemeIcons(resId, foregroundInfo, backgroundInfo, density); in OH_ResourceManager_GetDrawableDescriptorData()
271 auto descriptor = DrawableDescriptorFactory::Create(foregroundInfo, backgroundInfo, in OH_ResourceManager_GetDrawableDescriptorData()
305 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in OH_ResourceManager_GetDrawableDescriptorDataByName() local
306 state = mgr->resManager->GetThemeIcons(0, foregroundInfo, backgroundInfo, density); in OH_ResourceManager_GetDrawableDescriptorDataByName()
308 auto descriptor = DrawableDescriptorFactory::Create(foregroundInfo, backgroundInfo, in OH_ResourceManager_GetDrawableDescriptorDataByName()
H A Dresource_manager_impl.cpp1649 &foregroundInfo, std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo, uint32_t density, in GetThemeIcons()
1653 RState backState = GetThemeIconInfo(BACKGROUND, backgroundInfo.second, backgroundInfo.first, abilityName); in GetThemeIcons()
1648 GetThemeIcons(uint32_t resId, std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo, std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo, uint32_t density, const std::string &abilityName) GetThemeIcons() argument
/base/global/resource_management/interfaces/js/innerkits/core/src/
H A Dresource_manager_napi_sync_impl.cpp742 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in GetDrawableDescriptor() local
743 state = resMgr->GetThemeIcons(resId, foregroundInfo, backgroundInfo, dataContext->density_); in GetDrawableDescriptor()
745 auto drawableDescriptor = Ace::Napi::DrawableDescriptorFactory::Create(foregroundInfo, backgroundInfo, in GetDrawableDescriptor()
976 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in GetDrawableDescriptorByName() local
977 if (resMgr->GetThemeIcons(0, foregroundInfo, backgroundInfo, dataContext->density_) == SUCCESS) { in GetDrawableDescriptorByName()
978 auto drawableDescriptor = Ace::Napi::DrawableDescriptorFactory::Create(foregroundInfo, backgroundInfo, in GetDrawableDescriptorByName()
/base/global/resource_management/test/fuzztest/resmgr_fuzzer/
H A Dresmgr_fuzzer.cpp468 std::pair<std::unique_ptr<uint8_t[]>, size_t> backgroundInfo; in GetThemeIconsFuzzTest() local
469 result = rm->GetThemeIcons(testId, foregroundInfo, backgroundInfo); in GetThemeIconsFuzzTest()
/base/global/resource_management/interfaces/inner_api/include/
H A Dresource_manager.h214 std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo, uint32_t density = 0,
/base/global/resource_management/frameworks/resmgr/include/
H A Dresource_manager_impl.h649 * @param backgroundInfo the background info
655 std::pair<std::unique_ptr<uint8_t[]>, size_t> &backgroundInfo, uint32_t density = 0,

Completed in 10 milliseconds