Home
last modified time | relevance | path

Searched refs:pagePath (Results 1 – 25 of 34) sorted by relevance

12

/ohos5.0/base/update/updater/services/ui/
H A Dupdater_ui_config.cpp33 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 Ddft_impl.cpp32 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 Dchangelogs-arkui.md25 ![pagePath](figures/pagePath2.PNG)
31 ![pagePath](figures/pagePath3.PNG)
37 ![pagePath](figures/pagePath1.PNG)
47 ![pagePath](figures/pagePath.PNG)
53 ![pagePath](figures/pagePath3.PNG)
59 ![pagePath](figures/pagePath1.PNG)
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/router/
H A Djs_page_state_machine.h24 #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 Dnavigation_event_hub.cpp25 auto pagePath = navigationNode->GetNavigationPathInfo(); in FireOnAppear() local
26 ACE_SCOPED_TRACE_COMMERCIAL("Navigation Main Page: %s", pagePath.c_str()); in FireOnAppear()
H A Dnavigation_group_node.h246 void SetNavigationPathInfo(const std::string& moduleName, const std::string& pagePath) in SetNavigationPathInfo() argument
248 navigationPathInfo_ = pagePath; in SetNavigationPathInfo()
H A Dnavigation_model.h45 … 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 Dmanifest_parser.h54 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 Dace_performance_check.cpp89 …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 Dace_performance_check.h78 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 Djsi_declarative_engine.cpp306 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 Dnavdestination_group_node.h131 void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) in SetNavDestinationPathInfo() argument
133 navDestinationPathInfo_ = pagePath; in SetNavDestinationPathInfo()
H A Dnavdestination_model.h62 …tual void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) {}; in SetNavDestinationPathInfo() argument
H A Dnavdestination_model_ng.h65 …void SetNavDestinationPathInfo(const std::string& moduleName, const std::string& pagePath) overrid…
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dpage_router_manager.cpp811 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 Dstage_manager.cpp200 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 Djs_navdestination.cpp115 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 Djs_navigation.cpp157 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 Dtypical-layout-scenario.md556 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 Dplugin_frontend_delegate.cpp706 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 Ddeclarative_frontend.h113 void SetPagePath(const std::string& pagePath) in SetPagePath() argument
116 delegate_->SetPagePath(pagePath); in SetPagePath()
H A Dfrontend_delegate_declarative.cpp1274 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 Dfrontend_delegate_impl.cpp616 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 Dperf_monitor.cpp36 std::string ParsePageUrl(const std::string& pagePath) in ParsePageUrl() argument
40 StringUtils::StringSplitter(pagePath, '/', paths); in ParsePageUrl()
43 return pagePath; in ParsePageUrl()
H A Dperf_monitor.h100 std::string ParsePageUrl(const std::string& pagePath);

12