Home
last modified time | relevance | path

Searched refs:navRouterPattern (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navrouter/
H A Dnavrouter_model_ng.cpp55 auto navRouterPattern = navRouterGroupNode->GetPattern<NavRouterPattern>(); in SetNavRouteMode() local
56 CHECK_NULL_VOID(navRouterPattern); in SetNavRouteMode()
57 navRouterPattern->SetNavRouteMode(static_cast<NG::NavRouteMode>(mode)); in SetNavRouteMode()
65 auto navRouterPattern = navRouterGroupNode->GetPattern<NavRouterPattern>(); in SetNavRouteMode() local
66 CHECK_NULL_VOID(navRouterPattern); in SetNavRouteMode()
67 navRouterPattern->SetNavRouteMode(static_cast<NG::NavRouteMode>(mode)); in SetNavRouteMode()
H A Dnavrouter_group_node.cpp139 auto navRouterPattern = GetPattern<NavRouterPattern>(); in AddNavDestinationToNavigation() local
140 CHECK_NULL_VOID(navRouterPattern); in AddNavDestinationToNavigation()
142 auto routeInfo = navRouterPattern->GetRouteInfo(); in AddNavDestinationToNavigation()
144 auto navRouteMode = navRouterPattern->GetNavRouteMode(); in AddNavDestinationToNavigation()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_navrouter.cpp66 auto navRouterPattern = frameNode->GetPattern<NG::NavRouterPattern>(); in Create() local
67 CHECK_NULL_VOID(navRouterPattern); in Create()
72 navRouterPattern->SetRouteInfo(jsRouteInfo); in Create()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navrouter/
H A Dnavrouter_pattern_test_ng.cpp900 auto navRouterPattern = navRouterNode->GetPattern<NavRouterPattern>(); variable
901 auto routeInfo = navRouterPattern->GetRouteInfo();
902 EXPECT_EQ(navRouterPattern->GetRouteInfo(), nullptr);
937 auto navRouterPattern = navRouterNode->GetPattern<NavRouterPattern>(); variable
938 EXPECT_EQ(navRouterPattern->GetRouteInfo(), nullptr);
979 auto navRouterPattern = navRouterNode->GetPattern<NavRouterPattern>(); variable
981 navRouterPattern->mode_ = NavRouteMode::PUSH;
991 EXPECT_EQ(navRouterPattern->GetRouteInfo(), nullptr);
995 EXPECT_EQ(navRouterPattern->GetNavRouteMode(), NavRouteMode::PUSH);
1043 EXPECT_EQ(navRouterPattern->GetRouteInfo(), nullptr);
[all …]
H A Dnavrouter_group_test_ng.cpp119 auto navRouterPattern = AceType::DynamicCast<NavRouterPattern>(navRouterGroupNode->pattern_); variable
161 auto navRouterPattern = AceType::DynamicCast<NavRouterPattern>(navRouterGroupNode->pattern_); variable