Home
last modified time | relevance | path

Searched refs:needTransition (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/stage/
H A Dstage_manager.cpp194 needTransition &= !children.empty(); in PushPage()
206 if (needTransition) { in PushPage()
259 if (needTransition) { in PushPage()
321 bool StageManager::PopPage(bool needShowNext, bool needTransition) in PopPage() argument
334 needTransition &= (children.size() >= transitionPageSize); in PopPage()
335 if (needTransition) { in PopPage()
352 if (needTransition) { in PopPage()
382 if (needTransition) { in PopPageToIndex()
406 if (needTransition) { in PopPageToIndex()
461 if (needTransition) { in MovePageToFront()
[all …]
H A Dstage_manager.h41 …bool PushPage(const RefPtr<FrameNode>& node, bool needHideLast = true, bool needTransition = true);
43 virtual bool PopPage(bool needShowNext = true, bool needTransition = true);
44 … virtual bool PopPageToIndex(int32_t index, bool needShowNext = true, bool needTransition = true);
46 …vePageToFront(const RefPtr<FrameNode>& node, bool needHideLast = true, bool needTransition = true);
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/
H A Dcj_page_router_ng.h72 bool needHideLast = true, bool needTransition = true) override;
74 bool needHideLast, bool forceShowCurrent = false, bool needTransition = true);
75 void PopPage(const std::string& params, bool needShowNext, bool needTransition) override;
76 …ToIndex(int32_t index, const std::string& params, bool needShowNext, bool needTransition) override;
80 bool OnPageReady(const RefPtr<NG::FrameNode>& pageNode, bool needHideLast, bool needTransition,
82 static bool OnPopPage(bool needShowNext, bool needTransition);
83 static bool OnPopPageToIndex(int32_t index, bool needShowNext, bool needTransition);
H A Dcj_page_router_ng.cpp453 bool needHideLast, bool needTransition) in LoadPage() argument
466 needHideLast, needTransition] { in LoadPage()
488 if (!OnPageReady(pageNode, needHideLast, needTransition)) { in LoadPage()
497 bool needHideLast, bool forceShowCurrent, bool needTransition) in MovePageToFront() argument
562 if (!OnPopPage(needShowNext, needTransition)) { in PopPage()
579 if (OnPopPage(needShowNext, needTransition)) { in PopPage()
600 if (!OnPopPageToIndex(index, needShowNext, needTransition)) { in PopPageToIndex()
616 if (OnPopPageToIndex(index, needShowNext, needTransition)) { in PopPageToIndex()
655 return stageManager->PushPage(pageNode, needHideLast, needTransition); in OnPageReady()
658 bool CJPageRouterNG::OnPopPage(bool needShowNext, bool needTransition) in OnPopPage() argument
[all …]
H A Dcj_page_router.h56 bool needHideLast = true, bool needTransition = true) override;
57 void PopPage(const std::string& params, bool needShowNext, bool needTransition) override;
58 …ToIndex(int32_t index, const std::string& params, bool needShowNext, bool needTransition) override;
63 bool OnPopPage(bool needShowNext, bool needTransition);
66 bool OnPopPageToIndex(int32_t index, bool needShowNext, bool needTransition);
H A Dcj_page_router.cpp126 const std::string& params, bool isRestore, bool needHideLast, bool needTransition) in LoadPage() argument
278 void CJPageRouter::PopPage(const std::string& params, bool needShowNext, bool needTransition) in PopPage() argument
292 if (!OnPopPage(needShowNext, needTransition)) { in PopPage()
299 if (OnPopPage(needShowNext, needTransition)) { in PopPage()
307 …r::PopPageToIndex(int32_t index, const std::string& params, bool needShowNext, bool needTransition) in PopPageToIndex() argument
318 if (!OnPopPageToIndex(index, needShowNext, needTransition)) { in PopPageToIndex()
325 if (OnPopPageToIndex(index, needShowNext, needTransition)) { in PopPageToIndex()
333 bool CJPageRouter::OnPopPage(bool needShowNext, bool needTransition) in OnPopPage() argument
364 bool CJPageRouter::OnPopPageToIndex(int32_t index, bool needShowNext, bool needTransition) in OnPopPageToIndex() argument
H A Dcj_page_router_abstract.h100 bool isRestore = false, bool needHideLast = true, bool needTransition = true) = 0;
101 virtual void PopPage(const std::string& params, bool needShowNext, bool needTransition) = 0;
102 …pPageToIndex(int32_t index, const std::string& params, bool needShowNext, bool needTransition) = 0;
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dpage_router_manager.h260 bool needHideLast = true, bool needTransition = true, bool isPush = false);
262 bool needHideLast, bool forceShowCurrent = false, bool needTransition = true);
266 const RouterPageInfo& target, RestorePageDestination dest, bool needTransition = true);
268 const RouterPageInfo& target, RestorePageDestination dest, bool needTransition = true);
270 RestorePageDestination dest, bool needTransition);
273 …d PopPageToIndex(int32_t index, const std::string& params, bool needShowNext, bool needTransition);
277 … static bool OnPageReady(const RefPtr<FrameNode>& pageNode, bool needHideLast, bool needTransition,
279 static bool OnPopPage(bool needShowNext, bool needTransition);
280 static bool OnPopPageToIndex(int32_t index, bool needShowNext, bool needTransition);
297 RestorePageDestination dest, bool needTransition);
[all …]
H A Dpage_router_manager.cpp1436 if (!OnPageReady(pageNode, needHideLast, needTransition)) { in LoadPage()
1581 bool needHideLast, bool forceShowCurrent, bool needTransition) in MovePageToFront() argument
1702 RestorePageWithTargetInner(info, dest, needTransition); in RestorePageWithTarget()
1756 callback = [weak = WeakClaim(this), needTransition] { in RestorePageWithTargetInner()
1759 mgr->PopPage("", true, needTransition, false); in RestorePageWithTargetInner()
1803 dest, needTransition]() mutable { in StartRestorePageWithTarget()
1869 if (!OnPopPage(needShowNext, needTransition)) { in PopPage()
1887 if (OnPopPage(needShowNext, needTransition)) { in PopPage()
1916 if (OnPopPageToIndex(index, needShowNext, needTransition)) { in PopPageToIndex()
2166 RestorePageDestination dest, bool needTransition) in RestoreOhmUrl() argument
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/syntax/
H A Dlazy_for_each_builder.h195 if (needTransition) { in GetItems()
205 needTransition = false; in GetItems()
657 bool needTransition = false; variable
H A Dlazy_for_each_builder.cpp71 needTransition = true; in OnDataReloaded()
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/stage/
H A Dstage_test_ng.cpp560 bool needTransition = true; variable
563 needTransition &= (children.size() >= transitionPageSize);
564 if (needTransition) {
567 …stageManager.FirePageHide(pageNode, needTransition ? PageTransitionType::EXIT_POP : PageTransition…
572 newPageNode, needTransition ? PageTransitionType::ENTER_POP : PageTransitionType::NONE);