Home
last modified time | relevance | path

Searched refs:GetResourceId (Results 1 - 25 of 32) sorted by relevance

12

/foundation/arkui/ace_engine/frameworks/core/components/rating/
H A Drating_theme.h50 theme->foregroundResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_BIG_ON); in Build()
51 theme->secondaryResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_BIG_HALF); in Build()
52 theme->backgroundResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_BIG_OFF); in Build()
53 theme->foregroundMiniResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_MINI_ON); in Build()
54 theme->secondaryMiniResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_MINI_HALF); in Build()
55 theme->backgroundMiniResourceId_ = themeConstants->GetResourceId(THEME_RATING_RESOURCE_ID_MINI_OFF); in Build()
/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Drosen_media_player.h71 bool GetResourceId(const std::string& path, uint32_t& resId);
72 bool GetResourceId(const std::string& uri, std::string& path) const;
H A Drosen_media_player.cpp174 auto getResIdState = GetResourceId(filePath, resId); in MediaPlay()
241 if (GetResourceId(src, rawFile)) { in RawFileWithModuleInfoPlay()
332 bool RosenMediaPlayer::GetResourceId(const std::string& path, uint32_t& resId) in GetResourceId() function in OHOS::Ace::NG::RosenMediaPlayer
349 bool RosenMediaPlayer::GetResourceId(const std::string& uri, std::string& path) const in GetResourceId() function in OHOS::Ace::NG::RosenMediaPlayer
/foundation/graphic/graphic_3d/lume/LumeEngine/src/os/ohos/
H A Dohos_file.cpp250 bool OhosFile::GetResourceId(const std::string& uri, uint32_t& resId) const in GetResourceId() function in OhosFile
265 bool OhosFile::GetResourceId(const std::string& uri, std::string& path) const in GetResourceId() function in OhosFile
289 if (GetResourceId(uri, rawFile)) { in OpenRawFile()
298 if (GetResourceId(uri, resId)) { in OpenRawFile()
H A Dohos_file.h158 bool GetResourceId(const std::string& uri, uint32_t& resId) const;
159 bool GetResourceId(const std::string& uri, std::string& path) const;
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_sceneview.cpp72 bool GetResourceId(const std::string& uri, uint32_t& resId) in GetResourceId() function
88 bool GetResourceId(const std::string& uri, std::string& path) in GetResourceId() function
110 if (GetResourceId(uri, ohosPath)) { in SetOhosPath()
116 if (GetResourceId(uri, resId)) { in SetOhosPath()
/foundation/arkui/ace_engine/frameworks/core/components/text_overlay/
H A Dtext_overlay_theme.h51 theme->backResourceId_ = themeConstants->GetResourceId(THEME_NAVIGATION_BAR_RESOURCE_ID_BACK); in Build()
52 theme->moreResourceId_ = themeConstants->GetResourceId(THEME_NAVIGATION_BAR_RESOURCE_ID_MORE); in Build()
/foundation/arkui/ace_engine/frameworks/core/components/piece/
H A Dpiece_theme.h45 theme->iconResource_ = themeConstants->GetResourceId(THEME_PIECE_ICON_SOURCE); in Build()
/foundation/arkui/ace_engine/test/mock/core/common/
H A Dmock_theme_constants.cpp160 InternalResource::ResourceId ThemeConstants::GetResourceId(uint32_t key) const in GetResourceId() function in OHOS::Ace::ThemeConstants
/foundation/arkui/ace_engine/frameworks/core/image/
H A Dimage_loader.h190 bool GetResourceId(const std::string& uri, uint32_t& resId) const;
191 bool GetResourceId(const std::string& uri, std::string& path) const;
H A Dimage_source_info.h95 InternalResource::ResourceId GetResourceId() const;
H A Dimage_loader.cpp489 InternalResource::GetInstance().GetResource(imageSourceInfo.GetResourceId(), imageSize); in LoadImageData()
562 bool ResourceImageLoader::GetResourceId(const std::string& uri, uint32_t& resId) const in GetResourceId() function in OHOS::Ace::ResourceImageLoader
579 bool ResourceImageLoader::GetResourceId(const std::string& uri, std::string& path) const in GetResourceId() function in OHOS::Ace::ResourceImageLoader
638 if (GetResourceId(uri, rawFile)) { in LoadImageData()
654 if (!imageSourceInfo.GetIsUriPureNumber() && GetResourceId(uri, resId)) { in LoadImageData()
H A Dimage_source_info.cpp288 InternalResource::ResourceId ImageSourceInfo::GetResourceId() const in GetResourceId() function in OHOS::Ace::ImageSourceInfo
/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.h204 InternalResource::ResourceId GetResourceId(uint32_t key) const;
H A Dtheme_constants.cpp381 InternalResource::ResourceId ThemeConstants::GetResourceId(uint32_t key) const in GetResourceId() function in OHOS::Ace::ThemeConstants
/foundation/arkui/ace_engine/frameworks/core/components/image/
H A Dimage_component.h79 InternalResource::ResourceId GetResourceId() const;
H A Dimage_component.cpp124 InternalResource::ResourceId ImageComponent::GetResourceId() const in GetResourceId() function in OHOS::Ace::ImageComponent
/foundation/arkui/ace_engine/frameworks/core/components/video/
H A Dvideo_element.h125 bool GetResourceId(const std::string& path, uint32_t& resId);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_input_response_area.cpp392 if (showIcon_->GetResourceId() == InternalResource::ResourceId::SHOW_PASSWORD_SVG) { in LoadImageSourceInfo()
395 if (hideIcon_->GetResourceId() == InternalResource::ResourceId::HIDE_PASSWORD_SVG) { in LoadImageSourceInfo()
402 auto hideIconPath = iconTheme->GetIconPath(hideIcon_->GetResourceId()); in LoadImageSourceInfo()
404 auto showIconPath = iconTheme->GetIconPath(showIcon_->GetResourceId()); in LoadImageSourceInfo()
/foundation/arkui/ace_engine/frameworks/core/components/navigation_bar/
H A Dnavigation_bar_theme.h45 theme->backResourceId_ = themeConstants->GetResourceId(THEME_NAVIGATION_BAR_RESOURCE_ID_BACK); in Build()
46 theme->moreResourceId_ = themeConstants->GetResourceId(THEME_NAVIGATION_BAR_RESOURCE_ID_MORE); in Build()
/foundation/arkui/ace_engine/test/unittest/core/pattern/app_bar/
H A Dapp_bar_test_ng.cpp200 EXPECT_EQ(menuProp->GetImageSourceInfo()->GetResourceId(), InternalResource::ResourceId::APP_BAR_MENU_SVG); in HWTEST_F()
205 EXPECT_EQ(closeProp->GetImageSourceInfo()->GetResourceId(), InternalResource::ResourceId::APP_BAR_CLOSE_SVG); in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dcolor.h105 uint32_t GetResourceId() const in GetResourceId() function in OHOS::Ace::Color
/foundation/arkui/ace_engine/test/mock/core/image_provider/
H A Dmock_image_source_info.cpp195 InternalResource::ResourceId ImageSourceInfo::GetResourceId() const in GetResourceId() function in OHOS::Ace::ImageSourceInfo
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/rating/
H A Drating_pattern.cpp717 auto iconPath = iconTheme->GetIconPath(sourceInfo.GetResourceId()); in LoadForeground()
747 auto iconPath = iconTheme->GetIconPath(sourceInfo.GetResourceId()); in LoadSecondary()
775 auto iconPath = iconTheme->GetIconPath(sourceInfo.GetResourceId()); in LoadBackground()
/foundation/arkui/ace_engine/test/unittest/core/pattern/stepper/
H A Dstepper_test_ng.cpp1324 EXPECT_EQ(leftimageSourceInfo->GetResourceId(), InternalResource::ResourceId::STEPPER_NEXT_ARROW); in HWTEST_F()
1325 EXPECT_EQ(rightimageSourceInfo->GetResourceId(), InternalResource::ResourceId::STEPPER_BACK_ARROW); in HWTEST_F()
1333 EXPECT_EQ(leftimageSourceInfo->GetResourceId(), InternalResource::ResourceId::STEPPER_BACK_ARROW); in HWTEST_F()
1334 EXPECT_EQ(rightimageSourceInfo->GetResourceId(), InternalResource::ResourceId::STEPPER_NEXT_ARROW); in HWTEST_F()

Completed in 24 milliseconds

12