Home
last modified time | relevance | path

Searched refs:AceResConfig (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/base/resource/
H A Dace_res_config.cpp224 const AceResConfig& bestLocaleConfig, const AceResConfig& candidateLocaleConfig, in IsOnBacktrackingPath()
379 …const AceResConfig& deviceConfig, const AceResConfig& bestConfig, const AceResConfig& candidateCon… in IsCandidateResolutionPreferred()
418 …const AceResConfig& deviceConfig, const AceResConfig& bestConfig, const AceResConfig& candidateCon… in IsCandidateResConfigPreferred()
446 …const AceResConfig& deviceConfig, const AceResConfig& bestConfig, const AceResConfig& candidateCon… in IsCandidateDeclarativeResConfigPreferred()
504 …const AceResConfig& deviceConfig, const AceResConfig& bestConfig, const AceResConfig& candidateCon… in IsBaseLanguagePreferred()
528 …const AceResConfig& bestConfig, const AceResConfig& deviceConfig, const AceResConfig& candidateCon… in IsCandidateDeclarativeConfigPreferred()
599 bool IsDeviceTypeMatch(const AceResConfig& desired, const AceResConfig& supported) in IsDeviceTypeMatch()
604 bool IsColorModeMatch(const AceResConfig& desired, const AceResConfig& supported) in IsColorModeMatch()
609 bool IsMccMncMatch(const AceResConfig& desired, const AceResConfig& supported) in IsMccMncMatch()
622 bool MatchResConfig(const AceResConfig& desired, const AceResConfig& supported) in MatchResConfig()
[all …]
H A Dace_res_config.h31 class AceResConfig {
33 AceResConfig() = default;
34 ~AceResConfig() = default;
35 AceResConfig(const AceResConfig& config) = default;
36 AceResConfig& operator=(const AceResConfig& config) = default;
37 AceResConfig(const std::string& language, const std::string& script, const std::string& region) in AceResConfig() function
47 AceResConfig(const std::string& language, const std::string& script, const std::string& region, in AceResConfig() function
54 bool operator==(const AceResConfig& other) const;
77 static AceResConfig ConvertDeclarativeResTagToConfig(const std::string& deviceResConfigTag);
78 static std::string ConvertResConfigToTag(const AceResConfig& resConfig, bool styleRes);
[all …]
/ohos5.0/foundation/arkui/ace_engine/adapter/ohos/entrance/
H A Dace_application_info.cpp96 auto selectLanguage = AceResConfig::GetLocaleFallback(localeTag_, languageList); in SetLocale()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/
H A Dplugin_frontend_delegate.cpp189 priorityFileName = AceResConfig::GetLocaleFallback(localeTag, fileNameList); in GetConfigurationCommon()
191 priorityFileName = AceResConfig::GetResourceFallback(fileNameList); in GetConfigurationCommon()
223 … auto sortedResourceFolderPath = AceResConfig::GetDeclarativeResourceFallback(resourceFolderName); in LoadResourceConfiguration()
247 auto currentResTag = AceResConfig::GetCurrentDeviceResTag(); in LoadResourceConfiguration()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Dfrontend_delegate_impl.cpp203 priorityFileName = AceResConfig::GetLocaleFallback(localeTag, fileNameList); in GetConfigurationCommon()
205 priorityFileName = AceResConfig::GetResourceFallback(fileNameList); in GetConfigurationCommon()
2005 AceResConfig::GetDeclarativeResourceFallback(resourceFolderName); in LoadResourceConfiguration()
2029 auto currentResTag = AceResConfig::GetCurrentDeviceResTag(); in LoadResourceConfiguration()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/theme/
H A Dtheme_constants.cpp489 priorityFileList = AceResConfig::GetStyleResourceFallback(fileNameList); in LoadCustomStyle()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dfrontend_delegate_declarative.cpp267 priorityFileName = AceResConfig::GetLocaleFallback(localeTag, fileNameList); in GetConfigurationCommon()
269 priorityFileName = AceResConfig::GetResourceFallback(fileNameList); in GetConfigurationCommon()
302 AceResConfig::GetDeclarativeResourceFallback(resourceFolderName); in LoadResourceConfiguration()
329 auto currentResTag = AceResConfig::GetCurrentDeviceResTag(); in LoadResourceConfiguration()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/
H A Djs_card_parser.cpp849 auto priorityFileName = AceResConfig::GetLocaleFallback(localeTag, fileNameList); in GetI18nData()