/base/global/resource_management/frameworks/resmgr/test/unittest/common/ |
H A D | theme_manager_test.cpp | 131 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 D | native_resource_manager.cpp | 267 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 D | resource_manager_impl.cpp | 1649 &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 D | resource_manager_napi_sync_impl.cpp | 741 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 D | resmgr_fuzzer.cpp | 467 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 D | resource_manager.h | 213 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 D | resource_manager_impl.h | 648 * @param foregroundInfo the foreground info 654 virtual RState GetThemeIcons(uint32_t resId, std::pair<std::unique_ptr<uint8_t[]>, size_t> &foregroundInfo,
|