Home
last modified time | relevance | path

Searched refs:pathNames (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigation/
H A Dmock_navigation_stack.h149 std::vector<std::string> pathNames; in GetAllPathName() local
151 pathNames.emplace_back(mockPathArray_[i].name); in GetAllPathName()
153 return pathNames; in GetAllPathName()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_navigation_stack.cpp276 std::vector<std::string> pathNames; in GetAllPathName() local
280 pathNames.emplace_back(value->ToString()); in GetAllPathName()
284 return pathNames; in GetAllPathName()
317 void JSNavigationStack::InitNavPathIndex(const std::vector<std::string>& pathNames) in InitNavPathIndex() argument
326 for (size_t i = 0; i < pathNames.size(); i++) { in InitNavPathIndex()
327 JSRef<JSVal> info = JSRef<JSVal>::Make(ToJSValue(pathNames[i])); in InitNavPathIndex()
428 auto pathNames = GetAllPathName(); in GetNameByIndex() local
429 if (index < 0 || index >= static_cast<int32_t>(pathNames.size())) { in GetNameByIndex()
433 return pathNames[index]; in GetNameByIndex()
H A Djs_navigation_stack.h95 void InitNavPathIndex(const std::vector<std::string>& pathNames) override;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigation/
H A Dnavigation_stack.cpp296 std::vector<std::string> pathNames; in GetAllPathName() local
298 pathNames.emplace_back(path.first); in GetAllPathName()
300 return pathNames; in GetAllPathName()
H A Dnavigation_stack.h146 virtual void InitNavPathIndex(const std::vector<std::string>& pathNames) {} in InitNavPathIndex() argument
H A Dnavigation_pattern.cpp682 auto pathNames = navigationStack_->GetAllPathName(); in UpdateNavPathList() local
686 int32_t pathListSize = static_cast<int32_t>(pathNames.size()); in UpdateNavPathList()
691 auto pathName = pathNames[index]; in UpdateNavPathList()
755 navigationStack_->InitNavPathIndex(pathNames); in UpdateNavPathList()