/ohos5.0/base/update/updater/services/ui/ |
H A D | updater_ui_config.cpp | 33 bool CanonicalPagePath(PagePath &pagePath) in CanonicalPagePath() argument 35 if (!Utils::PathToRealPath(pagePath.dir, pagePath.dir)) { in CanonicalPagePath() 36 … LOG(ERROR) << "page path canonical failed, please check your config, dir = " << pagePath.dir; in CanonicalPagePath() 39 for (auto &file : pagePath.pages) { in CanonicalPagePath() 40 file = pagePath.dir + "/" + file; in CanonicalPagePath() 151 PagePath pagePath {}; in LoadPages() local 152 if (!Visit<SETVAL>(node, pagePath)) { in LoadPages() 153 LOG(ERROR) << "parse page path error: " << pagePath.dir; in LoadPages() 157 if (!CanonicalPagePath(pagePath)) { in LoadPages() 162 if (!LayoutParser::GetInstance().LoadLayout(pagePath.pages, pageInfos)) { in LoadPages() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | dft_impl.cpp | 32 const char * const pagePath = JsAppContext::GetInstance()->GetCurrentJsPath(); in GetPagePath() local 33 if (pagePath == nullptr) { in GetPagePath() 40 size_t len = strlen(pagePath) - suffixLen; in GetPagePath() 46 if (memcpy_s(path, len, pagePath, len) != EOK) { in GetPagePath()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.49/ |
H A D | changelogs-arkui.md | 25  31  37  47  53  59 
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/router/ |
H A D | js_page_state_machine.h | 24 #define JS_PAGE_RETURN_IF_ERROR(error, pagePath) \ argument 28 ace_free(pagePath); \ 29 pagePath = nullptr; \
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/ |
H A D | navigation_event_hub.cpp | 25 auto pagePath = navigationNode->GetNavigationPathInfo(); in FireOnAppear() local 26 ACE_SCOPED_TRACE_COMMERCIAL("Navigation Main Page: %s", pagePath.c_str()); in FireOnAppear()
|
H A D | navigation_group_node.h | 246 void SetNavigationPathInfo(const std::string& moduleName, const std::string& pagePath) in SetNavigationPathInfo() argument 248 navigationPathInfo_ = pagePath; in SetNavigationPathInfo()
|
H A D | navigation_model.h | 45 … virtual void SetNavigationPathInfo(const std::string& moduleName, const std::string& pagePath) {}; in SetNavigationPathInfo() argument
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/common/manifest/ |
H A D | manifest_parser.h | 54 void SetPagePath(const std::string& pagePath) in SetPagePath() argument 57 manifestRouter_->InsertPageList(pagePath); in SetPagePath()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/log/ |
H A D | ace_performance_check.cpp | 89 …PerformanceCheck::CheckIsRuleContainsPage(const std::string& ruleType, const std::string& pagePath) in CheckIsRuleContainsPage() argument 102 if (value == pagePath) { in CheckIsRuleContainsPage() 355 auto pagePath = currentPath_; in GetCurrentSourceMap() local 359 judgePath = DEBUG_PATH + moduleName + ETS_PATH + pagePath + TS_SUFFIX; in GetCurrentSourceMap() 361 judgePath = moduleName + ETS_PATH + pagePath + ETS_SUFFIX; in GetCurrentSourceMap() 367 judgePath = NEW_PATH + pagePath + TS_SUFFIX; in GetCurrentSourceMap()
|
H A D | ace_performance_check.h | 78 static bool CheckIsRuleContainsPage(const std::string& ruleType, const std::string& pagePath);
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_declarative_engine.cpp | 306 std::string ohmUrl = tempUrl + "/ets/" + pagePath; in BuildOhmUrl() 307 auto pos = pagePath.rfind("../"); in BuildOhmUrl() 336 pagePath = jsPagePath->ToString(vm)->ToString(vm); in ParseNamedRouterParams() 1503 auto pagePath = url; in LoadPluginComponent() local 1505 pagePath = pagePath.substr(0, pagePath.length() - strlen(".js")); in LoadPluginComponent() 1721 std::string pagePath; in AddToNamedRouterMap() local 1739 auto pagePathKey = moduleName + pagePath; in AddToNamedRouterMap() 1802 item.second.pagePath == url; in LoadNamedRouterSource() 1973 const auto& pagePath = it->second.pagePath; in PreloadNamedRouter() local 2495 return iter->second.pagePath; in GetPagePath() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/ |
H A D | navdestination_group_node.h | 131 void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) in SetNavDestinationPathInfo() argument 133 navDestinationPathInfo_ = pagePath; in SetNavDestinationPathInfo()
|
H A D | navdestination_model.h | 62 …tual void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) {}; in SetNavDestinationPathInfo() argument
|
H A D | navdestination_model_ng.h | 65 …void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) overrid…
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | page_router_manager.cpp | 811 auto pagePath = Framework::JsiDeclarativeEngine::GetPagePath(url); in GetPageNameAndPath() local 812 if (!pagePath.empty()) { in GetPageNameAndPath() 813 tempUrl = pagePath; in GetPageNameAndPath() 920 auto pagePath = entryPageInfo->GetPagePath(); in GetCurrentPageSourceMap() local 925 pagePath.substr(0, pagePath.size() - JS_FILE_EXTENSION_LENGTH) + TS_SUFFIX; in GetCurrentPageSourceMap() 928 pagePath.substr(0, pagePath.size() - JS_FILE_EXTENSION_LENGTH) + ETS_SUFFIX; in GetCurrentPageSourceMap() 934 … judgePath = NEW_PATH + pagePath.substr(0, pagePath.size() - JS_FILE_EXTENSION_LENGTH) + TS_SUFFIX; in GetCurrentPageSourceMap() 1501 if (pagePath.empty()) { in CreatePage() 1509 pagePath = Framework::JsiDeclarativeEngine::GetFullPathInfo(keyInfo); in CreatePage() 1511 pageInfo->SetFullPath(pagePath); in CreatePage() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/ |
H A D | stage_manager.cpp | 200 auto pagePath = pageInfo->GetFullPath(); in PushPage() local 201 ACE_SCOPED_TRACE_COMMERCIAL("Router Main Page: %s", pagePath.c_str()); in PushPage() 203 UiSessionManager::GetInstance().OnRouterChange(pagePath, "routerPushPage"); in PushPage() 248 auto pagePath = pageInfo->GetFullPath(); in PushPage() local 249 stage->PerformanceCheck(pageNode, endTime - startTime, pagePath); in PushPage()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A D | js_navdestination.cpp | 115 std::string pagePath; in Create() local 141 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 145 NavDestinationModel::GetInstance()->SetNavDestinationPathInfo(moduleName, pagePath); in Create() 173 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 177 NavDestinationModel::GetInstance()->SetNavDestinationPathInfo(moduleName, pagePath); in Create()
|
H A D | js_navigation.cpp | 157 std::string pagePath; in Create() local 175 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 208 pagePath = infoObj->GetProperty(NG::NAVIGATION_PAGE_PATH)->ToString(); in Create() 239 NavigationModel::GetInstance()->SetNavigationPathInfo(moduleName, pagePath); in Create()
|
/ohos5.0/docs/zh-cn/application-dev/key-features/multi-device-app-dev/ |
H A D | typical-layout-scenario.md | 556 pagePath:string 566 pagePath:'Moon' 570 pagePath:'Sun' 587 this.pageInfos.pushPath({name:item.pagePath}) 769 pagePath:string 780 pagePath:'B1Page' 784 pagePath:'B2Page' 840 this.pageInfos.pushPath({ name: item.pagePath })
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.cpp | 706 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in Push() local 707 if (!pagePath.empty()) { in Push() 708 LoadPage(GenerateNextPageId(), PageTarget(pagePath, target.container), false, params); in Push() 721 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in Replace() local 722 if (!pagePath.empty()) { in Replace() 723 LoadReplacePage(GenerateNextPageId(), PageTarget(pagePath, target.container), params); in Replace() 767 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in BackWithTarget() local 768 if (!pagePath.empty()) { in BackWithTarget() 774 PopToPage(pagePath); in BackWithTarget()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | declarative_frontend.h | 113 void SetPagePath(const std::string& pagePath) in SetPagePath() argument 116 delegate_->SetPagePath(pagePath); in SetPagePath()
|
H A D | frontend_delegate_declarative.cpp | 1274 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in StartPush() local 1275 if (!pagePath.empty()) { in StartPush() 1316 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(target.url); in StartReplace() local 1317 if (!pagePath.empty()) { in StartReplace() 1407 std::string pagePath; in StartBack() local 1418 pagePath = pageRouteStack_[pageRouteSize - 2].url; in StartBack() 1422 if (!pagePath.empty()) { in StartBack() 1423 LoadPage(pageId_, PageTarget(target, pagePath), false, params, true); in StartBack() 1430 if (!pagePath.empty()) { in StartBack() 1432 pageId_ = GetPageIdByUrl(pagePath, isRestore); in StartBack() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate_impl.cpp | 616 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(uri); in Push() local 617 if (!pagePath.empty()) { in Push() 619 LoadPage(GenerateNextPageId(), pagePath, false, params); in Push() 661 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(uri); in Replace() local 662 if (!pagePath.empty()) { in Replace() 663 LoadReplacePage(GenerateNextPageId(), pagePath, params); in Replace() 704 std::string pagePath = manifestParser_->GetRouter()->GetPagePath(uri); in BackImplement() local 705 pageId_ = GetPageIdByUrl(pagePath); in BackImplement() 706 if (!pagePath.empty()) { in BackImplement() 711 PopToPage(pagePath); in BackImplement()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/perfmonitor/ |
H A D | perf_monitor.cpp | 36 std::string ParsePageUrl(const std::string& pagePath) in ParsePageUrl() argument 40 StringUtils::StringSplitter(pagePath, '/', paths); in ParsePageUrl() 43 return pagePath; in ParsePageUrl()
|
H A D | perf_monitor.h | 100 std::string ParsePageUrl(const std::string& pagePath);
|