/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/navigator/ |
H A D | navigator_event_hub_test_ng.cpp | 52 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 D | navigator_pattern_test_ng.cpp | 37 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 D | navigator_event_hub.cpp | 47 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 D | navigator_event_hub.h | 58 void SetType(NavigatorType type) in SetType() 63 NavigatorType GetType() in GetType() 76 NavigatorType type_ = NavigatorType::PUSH;
|
H A D | navigator_model_ng.h | 29 void SetType(NavigatorType value) override; 37 static void SetType(FrameNode* frameNode, NavigatorType value);
|
H A D | navigator_model_ng.cpp | 35 void NavigatorModelNG::SetType(NavigatorType value) in SetType() 79 void NavigatorModelNG::SetType(FrameNode* frameNode, NavigatorType value) in SetType()
|
H A D | navigator_model.h | 34 virtual void SetType(NavigatorType value) = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/navigator/ |
H A D | render_navigator.h | 46 if (type_ == NavigatorType::DEFAULT || type_ == NavigatorType::PUSH) { 47 type_ = NavigatorType::REPLACE; 62 NavigatorType GetType() const in GetType() 85 NavigatorType type_ = NavigatorType::DEFAULT;
|
H A D | navigator_component.h | 26 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 D | js_navigator.cpp | 65 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 D | cj_navigator_ffi.cpp | 29 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 D | navigator_modifier.cpp | 42 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 D | navigator_composed_element.cpp | 91 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 D | cj_frontend_abstract.cpp | 118 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 D | navigator_model_impl.h | 27 void SetType(NavigatorType value) override;
|
H A D | navigator_model_impl.cpp | 31 void NavigatorModelImpl::SetType(NavigatorType value) in SetType()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend.cpp | 420 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 D | frontend_delegate_declarative_ng.cpp | 503 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 D | declarative_frontend.cpp | 744 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()
|