/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
D | ace_application_info.cpp | 78 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/ |
D | ace_application_info.cpp | 63 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()
|
D | ui_content_impl.h | 126 std::string language_; variable
|
D | ui_content_impl.cpp | 168 language_ = options.language; in UIContentImpl() 254 AceApplicationInfo::GetInstance().SetLocale(language_, region_, script_, ""); in CommonInitialize()
|
/foundation/arkui/ace_engine/frameworks/base/resource/ |
D | ace_res_config.cpp | 49 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 …]
|
D | ace_res_config.h | 38 : 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/ |
D | cjson_parser.cpp | 41 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()
|
D | cjson_parser.h | 61 ACE_FREE(language_); in ~CJSONParser() 240 char *language_; // the current system language variable
|
/foundation/arkui/ace_engine/frameworks/core/common/ |
D | ace_application_info.h | 127 return language_; in GetLanguage() 217 std::string language_; variable
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/map_mse/ |
D | map_mse_bmsg.cpp | 82 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()
|
D | map_mse_bmsg.h | 77 std::string language_ = ""; variable
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/ |
D | ark_js_runtime.h | 150 language_ = language; in SetLanguage() 205 std::string language_; variable
|
D | ark_js_runtime.cpp | 113 ConnectServerManager::Get().AddInstance(instanceId_, language_); in StartDebugger()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/ |
D | pa_backend.h | 105 SrcLanguage language_ = SrcLanguage::ETS; variable
|
D | pa_backend.cpp | 46 language_ = language; in Initialize()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/engine/jsi/ |
D | jsi_pa_engine.h | 192 SrcLanguage language_ = SrcLanguage::ETS; variable
|
D | jsi_pa_engine.cpp | 238 …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()
|