Home
last modified time | relevance | path

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

/base/global/resource_management/frameworks/resmgr/test/unittest/common/
H A Dtheme_manager_test.cpp131 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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()
154 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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()
180 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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.cpp267 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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()
304 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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()
1652 RState foreState = GetThemeIconInfo(FOREGROUND, foregroundInfo.second, foregroundInfo.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.cpp741 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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()
975 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; 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.cpp467 std::pair<std::unique_ptr<uint8_t[]>, size_t> foregroundInfo; in GetThemeIconsFuzzTest() local
469 result = rm->GetThemeIcons(testId, foregroundInfo, backgroundInfo); in GetThemeIconsFuzzTest()
/base/global/resource_management/interfaces/inner_api/include/
H A Dresource_manager.h213 virtual RState GetThemeIcons(uint32_t resId, std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo,
/base/global/resource_management/frameworks/resmgr/include/
H A Dresource_manager_impl.h648 * @param foregroundInfo the foreground info
654 virtual RState GetThemeIcons(uint32_t resId, std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo,

Completed in 11 milliseconds