Home
last modified time | relevance | path

Searched refs:NavigatorType (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/
H A Dnavigator_event_hub_test_ng.cpp52 navigatorEventHub.SetType(NavigatorType::PUSH);
66 navigatorEventHub.SetType(NavigatorType::BACK);
80 navigatorEventHub.SetType(NavigatorType::DEFAULT);
94 navigatorEventHub.SetType(NavigatorType::REPLACE);
122 navigatorEventHub.SetType(NavigatorType::PUSH);
136 navigatorEventHub.SetType(NavigatorType::REPLACE);
150 navigatorEventHub.SetType(NavigatorType::BACK);
164 navigatorEventHub.SetType(NavigatorType::DEFAULT);
178 navigatorEventHub.SetType(NavigatorType::PUSH);
197 navigatorEventHub.SetType(NavigatorType::PUSH);
[all …]
H A Dnavigator_pattern_test_ng.cpp37 std::optional<NavigatorType> typeValue = std::nullopt;
90 EXPECT_EQ(eventHub->GetType(), NavigatorType::REPLACE);
106 testProperty.typeValue = std::make_optional(NavigatorType::BACK);
119 EXPECT_EQ(eventHub->GetType(), NavigatorType::BACK);
139 testProperty.typeValue = std::make_optional(NavigatorType::PUSH);
153 EXPECT_EQ(eventHub->GetType(), NavigatorType::PUSH);
183 EXPECT_EQ(eventHub->GetType(), NavigatorType::DEFAULT);
209 EXPECT_EQ(eventHub->GetType(), NavigatorType::PUSH);
239 EXPECT_EQ(eventHub->GetType(), NavigatorType::PUSH);
246 eventHub->SetType(NavigatorType::BACK);
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/navigator/
H A Dnavigator_event_hub.cpp47 case NavigatorType::PUSH: in NavigatePage()
50 case NavigatorType::REPLACE: in NavigatePage()
53 case NavigatorType::BACK: in NavigatePage()
80 case NavigatorType::PUSH: in GetNavigatorType()
82 case NavigatorType::BACK: in GetNavigatorType()
84 case NavigatorType::DEFAULT: in GetNavigatorType()
86 case NavigatorType::REPLACE: in GetNavigatorType()
H A Dnavigator_event_hub.h58 void SetType(NavigatorType type) in SetType()
63 NavigatorType GetType() in GetType()
76 NavigatorType type_ = NavigatorType::PUSH;
H A Dnavigator_model_ng.h29 void SetType(NavigatorType value) override;
37 static void SetType(FrameNode* frameNode, NavigatorType value);
H A Dnavigator_model_ng.cpp35 void NavigatorModelNG::SetType(NavigatorType value) in SetType()
79 void NavigatorModelNG::SetType(FrameNode* frameNode, NavigatorType value) in SetType()
H A Dnavigator_model.h34 virtual void SetType(NavigatorType value) = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/navigator/
H A Drender_navigator.h46 if (type_ == NavigatorType::DEFAULT || type_ == NavigatorType::PUSH) {
47 type_ = NavigatorType::REPLACE;
62 NavigatorType GetType() const in GetType()
85 NavigatorType type_ = NavigatorType::DEFAULT;
H A Dnavigator_component.h26 enum class NavigatorType { enum
53 NavigatorType GetType() const in GetType()
58 void SetType(NavigatorType type) in SetType()
116 NavigatorType type_ = NavigatorType::PUSH;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_navigator.cpp65 auto navigatorType = NavigatorType(type->ToNumber<uint32_t>()); in Create()
66 if (navigatorType == NavigatorType::DEFAULT) { in Create()
67 NavigatorModel::GetInstance()->SetType(NavigatorType::PUSH); in Create()
73 NavigatorModel::GetInstance()->SetType(NavigatorType::BACK); in Create()
84 auto navigatorType = NavigatorType(value); in SetType()
85 if (navigatorType == NavigatorType::DEFAULT) { in SetType()
86 NavigatorModel::GetInstance()->SetType(NavigatorType::PUSH); in SetType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_navigator_ffi.cpp29 NavigatorType navigatorType = NavigatorType(type); in FfiOHOSAceFrameworkNavigatorCreate()
30 if (navigatorType == NavigatorType::DEFAULT) { in FfiOHOSAceFrameworkNavigatorCreate()
31 NavigatorModel::GetInstance()->SetType(NavigatorType::PUSH); in FfiOHOSAceFrameworkNavigatorCreate()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnavigator_modifier.cpp42 auto barMode = static_cast<OHOS::Ace::NavigatorType>(value); in SetType()
50 NavigatorModelNG::SetType(frameNode, OHOS::Ace::NavigatorType::PUSH); in ResetType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/
H A Dnavigator_composed_element.cpp91 if (renderNavigator->GetType() == NavigatorType::PUSH) { in GetNavigatorType()
93 } else if (renderNavigator->GetType() == NavigatorType::REPLACE) { in GetNavigatorType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_frontend_abstract.cpp118 switch (static_cast<NavigatorType>(type)) { in NavigatePage()
119 case NavigatorType::PUSH: in NavigatePage()
122 case NavigatorType::REPLACE: in NavigatePage()
125 case NavigatorType::BACK: in NavigatePage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/models/
H A Dnavigator_model_impl.h27 void SetType(NavigatorType value) override;
H A Dnavigator_model_impl.cpp31 void NavigatorModelImpl::SetType(NavigatorType value) in SetType()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/
H A Dplugin_frontend.cpp420 switch (static_cast<NavigatorType>(type)) { in NavigatePage()
421 case NavigatorType::PUSH: in NavigatePage()
424 case NavigatorType::REPLACE: in NavigatePage()
427 case NavigatorType::BACK: in NavigatePage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.cpp503 switch (static_cast<NavigatorType>(type)) { in NavigatePage()
504 case NavigatorType::PUSH: in NavigatePage()
507 case NavigatorType::REPLACE: in NavigatePage()
510 case NavigatorType::BACK: in NavigatePage()
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Ddeclarative_frontend.cpp744 switch (static_cast<NavigatorType>(type)) { in Initialize()
745 case NavigatorType::PUSH: in Initialize()
748 case NavigatorType::REPLACE: in Initialize()
751 case NavigatorType::BACK: in Initialize()