Home
last modified time | relevance | path

Searched refs:language_ (Results 1 – 17 of 17) sorted by relevance

/foundation/arkui/ace_engine/adapter/ohos/entrance/
Dace_application_info.cpp78 language_ = language; in SetLocale()
91 icu::Locale locale(language_.c_str(), countryOrRegion.c_str()); in SetLocale()
94 auto languageList = Localization::GetLanguageList(language_); in SetLocale()
96 …Localization::SetLocale(language_, countryOrRegion_, script, languageList.front(), keywordsAndValu… in SetLocale()
99 …Localization::SetLocale(language_, countryOrRegion_, script, selectLanguage.front(), keywordsAndVa… in SetLocale()
/foundation/arkui/ace_engine/adapter/preview/entrance/
Dace_application_info.cpp63 language_ = language; in SetLocale()
76 icu::Locale locale(language_.c_str(), countryOrRegion.c_str()); in SetLocale()
79 auto languageList = Localization::GetLanguageList(language_); in SetLocale()
81 language_, countryOrRegion_, script, languageList.front(), keywordsAndValues_); in SetLocale()
Dui_content_impl.h126 std::string language_; variable
Dui_content_impl.cpp168 language_ = options.language; in UIContentImpl()
254 AceApplicationInfo::GetInstance().SetLocale(language_, region_, script_, ""); in CommonInitialize()
/foundation/arkui/ace_engine/frameworks/base/resource/
Dace_res_config.cpp49 return Localization::ComputeScript(resConfig.language_, resConfig.region_); in ComputeScript()
61 std::string localeTag = localeConfig.language_; in ConvertLocaleConfigToTag()
73 return (resConfig.language_ == "en" && resConfig.region_ == "XA") || in IsPseudoLocale()
74 (resConfig.language_ == "ar" && resConfig.region_ == "XB"); in IsPseudoLocale()
80 std::string deviceLanguage = deviceLocaleConfig.language_; in MatchLocaleConfig()
87 if (isDeclarative && candidate.language_ == "" && candidate.script_ == "") { in MatchLocaleConfig()
91 std::string candidateLanguage = candidate.language_; in MatchLocaleConfig()
229 backtrackPath.emplace_back(localeConfig.language_); in FindBacktrackPath()
298 std::string deviceTag = deviceLocaleConfig.language_ + '-' + deviceLocaleConfig.region_; in IsLocaleConfigMoreSpecified()
301 std::string bestConfigTag = bestLocaleConfig.language_; in IsLocaleConfigMoreSpecified()
[all …]
Dace_res_config.h38 : language_(language), script_(script), region_(region) in AceResConfig()
50 …: language_(language), script_(script), region_(region), screenLong_(screenLong), screenShape_(scr… in AceResConfig()
81 std::string language_; variable
/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
Dcjson_parser.cpp41 language_(nullptr), in CJSONParser()
311 if ((language_ != nullptr) && (strcmp(currentLanguage, language_) == 0) && in ChangeLanguage()
322 ACE_FREE(language_); in ChangeLanguage()
323 language_ = currentLanguage; in ChangeLanguage()
333 if (language_ == nullptr) { in GetWinFiles()
351 if (strncmp(file.name, "..", strlen(language_)) == 0) { in GetWinFiles()
444 if ((language_ == nullptr) || (countries_ == nullptr)) { in ChangeLanguageFileName()
453 uint8_t langLen = strlen(language_); in ChangeLanguageFileName()
459 errno_t error = strcpy_s(languageFile, fileLen, language_); in ChangeLanguageFileName()
Dcjson_parser.h61 ACE_FREE(language_); in ~CJSONParser()
240 char *language_; // the current system language variable
/foundation/arkui/ace_engine/frameworks/core/common/
Dace_application_info.h127 return language_; in GetLanguage()
217 std::string language_; variable
/foundation/communication/bluetooth_service/services/bluetooth/service/src/map_mse/
Dmap_mse_bmsg.cpp82 return language_; in GetLanguage()
87 language_ = language; in SetLanguage()
230 language_ = temp; in ParseBody()
384 if (language_ != "") { in AddBbody()
385 bmessage.append("LANGUAGE:" + language_); in AddBbody()
Dmap_mse_bmsg.h77 std::string language_ = ""; variable
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
Dark_js_runtime.h150 language_ = language; in SetLanguage()
205 std::string language_; variable
Dark_js_runtime.cpp113 ConnectServerManager::Get().AddInstance(instanceId_, language_); in StartDebugger()
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/
Dpa_backend.h105 SrcLanguage language_ = SrcLanguage::ETS; variable
Dpa_backend.cpp46 language_ = language; in Initialize()
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/
Djsi_pa_engine.h192 SrcLanguage language_ = SrcLanguage::ETS; variable
Djsi_pa_engine.cpp238 …if (language_ == SrcLanguage::JS && !jsAbilityRuntime_->LoadScript("/system/etc/strip.native.min.a… in EvaluateJsCode()
259 options.isJsFramework = language_ == SrcLanguage::JS; in InitJsRuntimeOptions()
375 language_ = language; in Initialize()
424 if (language_ == SrcLanguage::JS) { in InitializeInner()